View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004130 | Spring engine | General | public | 2013-11-06 19:30 | 2013-11-06 23:12 |
| Reporter | bibim_ | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Product Version | 95.0 | ||||
| Summary | 0004130: Calling unitsync function "IsSpringReleaseVersion" produces a SEGFAULT on 32-bit Linux systems | ||||
| Description | Reproduced both with static unitsync binary and self-compiled unitsync binary. Reproduced on 2 different 32-bit Linux systems. NOT reproduced on 64-bit Linux systems. Other unitsync functions called by SPADS seem to work normally. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Actually it segfaults when trying to read the result of the IsSpringReleaseVersion call, so I guess it's related to bool type handling on 32-bit system. It might be a bug with SWIG and bool, investigating... |
|
|
gdb stacktrace? |
|
|
Not easy to get a useful stacktrace with Perl + Swig wrappers. I'm still not sure if it's a bug in Swig + 32bit bool or a real problem in libunitsync but anyway I implemented a workaround, you can close this bug report. |
|
|
yep, seems to be swig or perl related, added a test which didn't fail when calling this function... http://buildbot.springrts.com/builders/linux-static-x32/builds/1475/steps/test/logs/stdio |
|
|
https://github.com/spring/spring/commit/f8ed05bf0ff3dbfb4ee9d2441796d285cceec1d8 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-11-06 19:30 | bibim_ | New Issue | |
| 2013-11-06 19:57 | bibim_ | Note Added: 0011994 | |
| 2013-11-06 20:14 | bibim_ | Note Edited: 0011994 | |
| 2013-11-06 22:45 | abma | Note Added: 0011995 | |
| 2013-11-06 23:06 | bibim_ | Note Added: 0011996 | |
| 2013-11-06 23:06 | bibim_ | Note Edited: 0011996 | |
| 2013-11-06 23:12 | abma | Note Added: 0011997 | |
| 2013-11-06 23:12 | abma | Status | new => resolved |
| 2013-11-06 23:12 | abma | Resolution | open => unable to reproduce |
| 2013-11-06 23:12 | abma | Assigned To | => abma |
| 2013-11-06 23:12 | abma | Note Added: 0011998 |