Bug #19293, was updated on 2014-Feb-15 23:24
Here is a current snapshot of the bug.

Project: LinCityNG
Category: confirmed
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: asmbsd
Assigned to : none
Summary: Segmentation Fault. Trees.

Details: 
Reproduce:
You must create a map with trees:
* New game->Without trees (OFF)
* Select river delta
After loading map you must view "Hide high building":
* Press [h] 

And you will get:

Program received signal SIGSEGV, Segmentation fault.
0x000000000041e5f4 in GameView::drawTile (this=0x17071c0, painter=..., 
tile=...) at src/lincity-ng/GameView.cpp:1252
1252            if(resgrp->images_loaded && (size==1 || !hideHigh))
(gdb) bt
#0  0x000000000041e5f4 in GameView::drawTile (this=0x17071c0, painter=..., 
tile=...) at src/lincity-ng/GameView.cpp:1252
#1  0x000000000041f6ac in GameView::draw (this=0x17071c0, painter=...) at 
src/lincity-ng/GameView.cpp:1465
#2  0x000000000047804a in Component::drawChild (this=0x17064d0, child=..., 
painter=...) at src/gui/Component.cpp:66
#3  0x0000000000478109 in Component::draw (this=0x17064d0, painter=...) at 
src/gui/Component.cpp:81
#4  0x00000000004621f9 in Desktop::draw (this=0x17064d0, painter=...) at 
src/gui/Desktop.cpp:108
#5  0x000000000045e9b2 in Game::run (this=0x14ed260) at 
src/lincity-ng/Game.cpp:274
#6  0x000000000045bad0 in mainLoop () at src/lincity-ng/main.cpp:422
#7  0x000000000045c5e3 in main (argc=1, argv=0x7fffffffd2e8) at 
src/lincity-ng/main.cpp:576
(gdb) p resgrp
$1 = (ResourceGroup *) 0x0




Follow-Ups:

Date: 2014-Feb-17 00:45
By: cman79

Comment:
Fixed. The problem was that resMap["Empty"] did not exist it is now 
resMap["Green"].
-------------------------------------------------------

For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=19293&group_id=2929
_______________________________________________
Lincity-ng-devel mailing list
Lincity-ng-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/lincity-ng-devel

Reply via email to