View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003984 | Spring engine | General | public | 2013-08-31 20:43 | 2013-09-04 21:29 |
| Reporter | raaar | Assigned To | jK | ||
| Priority | urgent | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 94.1.1+git | ||||
| Summary | 0003984: ordering a unit with a LightningCannon weapon to attack crashes spring | ||||
| Description | ordering a unit with a LightningCannon weapon to attack crashes spring | ||||
| Steps To Reproduce | - start spring and choose ba7.81 that comes with it - /give armzeus - order it to attack CRASH! | ||||
| Additional Information | - happens every time to me, but seems to not crash on some other people - current machine : windows8 64bit | core i7 3770, geforce gt 640 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
tested on spring_94.1.1 builds 1059 and 1069 |
|
|
not reproducable from demo or own test |
|
|
it happens with penetrators too, and Ba heavy laser towers! not just LightningCannon : ordering units with any BeamLaser to attack makes spring crash. if don't press "a" and spawn an enemy nearby they'll turn and fire without crashing, sometimes. Maybe it has something to do with displaying the range circle, as it's drawn immediately before crashing and it looks weird, like it has extra lines. |
|
|
- disabling luaui does nothing - running in xp compatibility mode or with admin rights (because) does nothing - works fine on 94.1.1-826-g7f6f61d |
|
|
94.1.1-973-g1d252d1/ WORKS 94.1.1-974-g849b770/ CRASHES |
|
|
That seems impossible because 849b770 has nothing to do with weapon code... |
|
|
https://github.com/spring/spring/commit/849b77079b6fd0542e37c563f2cb66710a7a4deb#L6R39 the crash seems related to the drawing of the weapon range circle. maybe the changes made to rts/Sim/Objects/WorldObject.h and rts/Sim/Projectiles/Projectile.h have something to do with it. |
|
|
the bug is growing! it also crashes when i press "a" when having fighters or bombers selected, but not gunships still happens in build 1075, works fine in 973 |
|
|
please set WorkerThreadCount=1 in your config and rerun with most recent engine build |
|
|
it works, both in 1075 and 1059. ok these are dev builds...but don't forget to make it so regular users can play without having to tweak obscure settings. |
|
|
??? I told you to add it to _get a proper stacktrace_, it shouldn't fix the crash at all |
|
|
glBallisticCircle (draws the weapon range circles) uses for_mt |
|
|
I know what it does. and I recognized that the stacktrace is exactly the same broken one as in the other ticket. that's why I made the commit and the request here, in the hope to get a non-broken stacktrace. Now I get frustrated cause std::threads and co. seems heavily broken under mingw. |
|
|
See my note in 0003988:0011528 Edit: Added gdb output we got there. |
|
|
abma can you tell me what is in line: /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/xmmintrin.h:938 that's the last line a correct stacktrace shows (thx to Rafal) full stacktrace is btw: #0 CWeapon::GetRange2D(float) const () at /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/xmmintrin.h:938 #1 0x0069cfb2 in std::_Function_handler<void (int), glBallisticCircle(float3 const&, float, CWeapon const*, unsigned int, float)::{lambda(int)#1}>::_M_invoke(std::_Any_data const&, int) () at ../../rts/Rendering/GL/glExtra.cpp:89 #... (ThreadPool stuff) |
|
|
934 /* Stores the lower SPFP value. */ 935 extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) 936 _mm_store_ss (float *__P, __m128 __A) 937 { 938 *__P = __builtin_ia32_vec_ext_v4sf ((__v4sf)__A, 0); 939 } line 938 is *__P ... sorry wasn't suscribet to this bug... |
|
|
k nothing suspicious there. seems we need a windows DEBUG build for a full stacktrace (2 lines aren't enough) |
|
|
Are debug builds downloadable from somewhere? I can try but for me (on win7) this crash didn't reproduce! |
|
|
@anyone who can reproduce it test with latest build please |
|
|
Spring 94.1.1-1096 crashes during loading, at "Creating TreeDrawer", every single time. Added infolog and gdb output. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-08-31 20:43 | raaar | New Issue | |
| 2013-08-31 20:43 | raaar | File Added: infolog.txt | |
| 2013-08-31 20:43 | raaar | File Added: 20130831_193526_Moon Quartet Remake_94.1.1-1069-g64c1fc3 develop.sdf | |
| 2013-08-31 20:45 | raaar | Note Added: 0011506 | |
| 2013-08-31 21:31 | Kloot | Note Added: 0011508 | |
| 2013-08-31 22:45 | raaar | Note Added: 0011510 | |
| 2013-08-31 23:21 | raaar | Note Added: 0011511 | |
| 2013-08-31 23:22 | raaar | Note Edited: 0011511 | |
| 2013-09-01 00:04 | raaar | Note Added: 0011512 | |
| 2013-09-01 00:40 | Kloot | Note Added: 0011513 | |
| 2013-09-01 00:48 | raaar | Note Added: 0011514 | |
| 2013-09-01 00:57 | raaar | Note Edited: 0011514 | |
| 2013-09-01 05:50 | raaar | Note Added: 0011515 | |
| 2013-09-01 09:22 | jK | Note Added: 0011516 | |
| 2013-09-01 12:11 | raaar | Note Added: 0011518 | |
| 2013-09-01 13:13 | jK | Note Added: 0011519 | |
| 2013-09-01 13:26 | Kloot | Note Added: 0011520 | |
| 2013-09-01 13:28 | Kloot | Note Edited: 0011520 | |
| 2013-09-01 23:24 | abma | Severity | block => crash |
| 2013-09-02 00:20 | jK | Note Added: 0011524 | |
| 2013-09-03 03:52 | Rafal99 | Note Added: 0011529 | |
| 2013-09-03 03:53 | Rafal99 | Note Edited: 0011529 | |
| 2013-09-03 06:34 | jK | Note Added: 0011532 | |
| 2013-09-03 06:36 | Rafal99 | File Added: gdb_crash4.txt | |
| 2013-09-03 06:37 | Rafal99 | Note Edited: 0011529 | |
| 2013-09-03 15:31 | Kloot | Relationship added | duplicate of 0003988 |
| 2013-09-04 05:38 | abma | Note Added: 0011536 | |
| 2013-09-04 06:51 | jK | Note Added: 0011538 | |
| 2013-09-04 09:51 | silentwings | Note Added: 0011539 | |
| 2013-09-04 11:51 | jK | Note Added: 0011540 | |
| 2013-09-04 19:50 | Rafal99 | Note Added: 0011541 | |
| 2013-09-04 19:51 | Rafal99 | File Added: infolog1096.txt | |
| 2013-09-04 19:51 | Rafal99 | File Added: gdb1096.txt | |
| 2013-09-04 21:29 | jK | Changeset attached | => spring develop 1473ef44 |
| 2013-09-04 21:29 | jK | Assigned To | => jK |
| 2013-09-04 21:29 | jK | Status | new => resolved |
| 2013-09-04 21:29 | jK | Resolution | open => fixed |