clang llvm 2.9 compiler widelands crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
I compiled widelands using clang 2.9. The good part is, the game compiles, the game starts up. I am able to build a building. When the first ware arrives to the construction site... Segmentation fault.
#0 0x0000000006d06601 in ?? ()
#1 0x0000000006cde340 in ?? ()
#2 0x0000000000a0cd90 in ?? ()
#3 0x0000000006d06570 in ?? ()
#4 0x00007fffffff8af0 in ?? ()
#5 0x00007fffffff8b68 in ?? ()
#6 0x00007fffffff8b68 in ?? ()
#7 0x000000000090c1cd in Ware_Index (this=0x7ffffff
#8 0x0000000000b9b90e in transfer_finish (this=0x6d06690, game=..., t=...) at /home/aber/
#9 0x0000000000ba177a in has_finished (this=0x6cf2df0) at /home/aber/
#10 0x0000000000b783ce in update (this=0x6cf2ae0, game=...) at /home/aber/
#11 0x0000000000a643c4 in deliver_to_building (this=0x63a40a0, game=..., state=...) at /home/aber/
#12 0x0000000000a63f83 in transport_update (this=0x63a40a0, game=..., state=...) at /home/aber/
#13 0x0000000000b445d9 in do_act (this=0x63a40a0, game=...) at /home/aber/
#14 0x0000000000b44473 in act (this=0x63a40a0, game=..., data=25) at /home/aber/
#15 0x0000000000a1271a in execute (this=0x6d9aa70, game=...) at /home/aber/
#16 0x0000000000b503c9 in run_queue (this=0x7ffffff
#17 0x0000000000a2fc67 in think (this=0x7ffffff
#18 0x000000000096de56 in think (this=0x1985580) at /home/aber/
#19 0x00000000009ae970 in think (this=0x1985580) at /home/aber/
#20 0x00000000009dec45 in do_think (this=0x1985580) at /home/aber/
#21 0x00000000009de637 in run (this=0x1985580) at /home/aber/
#22 0x0000000000a2dc96 in run (this=0x7ffffff
at /home/aber/
#23 0x00000000007abcf5 in new_game (this=0x1157b80) at /home/aber/
#24 0x00000000007aa5a4 in mainmenu_
#25 0x00000000007a36a5 in mainmenu (this=0x1157b80) at /home/aber/
#26 0x00000000007a27db in run (this=0x1157b80) at /home/aber/
#27 0x000000000079d6b6 in main (argc=1, argv=0x7fffffff
Related branches
- Widelands Developers: Pending requested
-
Diff: 102 lines (+10/-15)6 files modifiedsrc/economy/idleworkersupply.h (+1/-2)
src/economy/ware_instance.cc (+1/-2)
src/io/filesystem/zip_filesystem.h (+4/-6)
src/io/streamread.h (+1/-1)
src/logic/building.h (+2/-3)
src/wlapplication.cc (+1/-1)
tags: | added: crash |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
I expect more problems, especially in the Lua part (though jari's cool fixups might have solved all issues already). We should look into this, I feel CLANG is the future of C compiling.