View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0013108 | Open CASCADE | OCCT:Modeling Algorithms | public | 2006-08-01 20:19 | 2010-06-29 16:36 |
| Reporter | Assigned To | bugmaster | |||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | unable to reproduce | ||
| OS | Linux | ||||
| Summary | 0013108: SIGFPE Arithmetic exception in v2dinit | ||||
| Description | Sources : All V2d ; chl/919 Error : v2dinit ** Exception ** 0x2000000003bc8510 : Standard_NumericError: SIGFPE Arithmetic exception detectedAn exception was caught 0x2000000003bc8510 : Standard_NumericError: SIGFPE Arithmetic exception detected locate error : In Xw_get_color_index() of file ros/src/Xw/Xw_get_color_index.cxx PB : unsigned long rred = (long unsigned int )( r * (1 << _CVISUAL->bits_per_rgb) - 1); Mix error between Integer and float value same error for : rred, rgreen, rblue. Solve : Compute step by step with explicite type: red_decalage = (1 << _CVISUAL->bits_per_rgb); red_multipication = r * red_decalage; red_cast = (long unsigned int )red_multipication - 1; unsigned long rred = red_cast - 1; | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||