bugGlobulation 2 - Bugs: bug #22136, fertility map related crash in...

 
 

bug #22136: fertility map related crash in editor (hg)

Submitted by:  Leo Wandersleb <giszmo>
Submitted on:  Sun 27 Jan 2008 04:05:25 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 27 Jan 2008 04:05:25 PM UTC, original submission:

while trying to reproduce the "wheat over sand" bug i switched on fertility map and it crashed. This was reproducable using random river, 256x64, repeated twice, painting wheat over sand (without visible result) and switching on the fertility gradient with the brush still active producing this bt:

makeRandomMap::success
[New Thread 0x41878950 (LWP 5525)]
[Thread 0x41878950 (LWP 5525) exited]

      • glibc detected *** /home/leo/projects/glob2/src/glob2: free(): invalid next size (normal): 0x000000000277a150 ***

======= Backtrace: =========
/lib/libc.so.6[0x2afb3ab6902a]
/lib/libc.so.6(cfree+0x8c)[0x2afb3ab6cbbc]
/usr/lib/libGL.so.1[0x2afb39139e5e]
======= Memory map: ========
00400000-00717000 r-xp 00000000 fe:00 1114477 /home/leo/projects/glob2/src/glob2
00916000-00918000 rw-p 00316000 fe:00 1114477 /home/leo/projects/glob2/src/glob2
00918000-0279b000 rw-p 00918000 00:00 0 [heap]
40000000-40002000 rwxp 00000000 00:0e 2254 /dev/zero
40002000-40003000 ---p 40002000 00:00 0
40003000-40803000 rwxp 40003000 00:00 0
40803000-40877000 rw-p 00000000 00:0e 2254 /dev/zero
40877000-40878000 ---p 40877000 00:00 0
40878000-41078000 rwxp 40878000 00:00 0
41078000-41079000 ---p 41078000 00:00 0
41079000-41879000 rwxp 41079000 00:00 0
2aaaaaaab000-2aaaaab1f000 rw-p 2aaaaaaab000 00:00 0
2aaaaab1f000-2aaaaab3d000 rw-s 00000000 00:09 32769 /SYSV00000000 (deleted)
2aaaaab3d000-2aaaaab3e000 rw-s 00000000 00:09 6455308 /SYSV00000000 (deleted)
2aaaaab3e000-2aaaaab40000 rw-p 2aaaaab3e000 00:00 0
2aaaaab40000-2aaaaab49000 r-xp 00000000 fe:00 4672025 /usr/lib/libXrender.so.1.3.0
2aaaaab49000-2aaaaad48000 ---p 00009000 fe:00 4672025 /usr/lib/libXrender.so.1.3.0
2aaaaad48000-2aaaaad49000 rw-p 00008000 fe:00 4672025 /usr/lib/libXrender.so.1.3.0
2aaaaad49000-2aaaaad4f000 r-xp 00000000 fe:00 4669595 /usr/lib/libXrandr.so.2.1.0
2aaaaad4f000-2aaaaaf4f000 ---p 00006000 fe:00 4669595 /usr/lib/libXrandr.so.2.1.0
2aaaaaf4f000-2aaaaaf50000 rw-p 00006000 fe:00 4669595 /usr/lib/libXrandr.so.2.1.0
2aaaaaf50000-2aaaab08a000 r--p 00000000 fe:00 4702219 /usr/lib/locale/locale-archive
2aaaab08a000-2aaaab08b000 rw-p 2aaaab08a000 00:00 0
2aaaab115000-2aaaab149000 rw-p 2aaaab115000 00:00 0
2aaaab149000-2aaaab152000 r-xp 00000000 fe:00 4670710 /usr/lib/libXcursor.so.1.0.2
2aaaab152000-2aaaab352000 ---p 00009000 fe:00 4670710 /usr/lib/libXcursor.so.1.0.2
2aaaab352000-2aaaab353000 rw-p 00009000 fe:00 4670710 /usr/lib/libXcursor.so.1.0.2
2aaaab353000-2aaaab358000 r-xp 00000000 fe:00 4671635 /usr/lib/libXfixes.so.3.1.0
2aaaab358000-2aaaab457000 ---p 00005000 fe:00 4671635 /usr/lib/libXfixes.so.3.1.0
2aaaab457000-2aaaab458000 rw-p 00004000 fe:00 4671635 /usr/lib/libXfixes.so.3.1.0
2aaaab458000-2aaaab45f000 r-xp 00000000 fe:00 4309223 /lib/libnss_compat-2.7.so
2aaaab45f000-2aaaab65f000 ---p 00007000 fe:00 4309223 /lib/libnss_compat-2.7.so
2aaaab65f000-2aaaab661000 rw-p 00007000 fe:00 4309223 /lib/libnss_compat-2.7.so
2aaaab661000-2aaaab676000 r-xp 00000000 fe:00 4309221 /lib/libnsl-2.7.so
2aaaab676000-2aaaab875000 ---p 00015000 fe:00 4309221 /lib/libnsl-2.7.so
2aaaab875000-2aaaab877000 rw-p 00014000 fe:00 4309221 /lib/libnsl-2.7.so
2aaaab877000-2aaaab879000 rw-p 2aaaab877000 00:00 0
2aaaab879000-2aaaab883000 r-xp 00000000 fe:00 4309263 /lib/libnss_nis-2.7.so
2aaaab883000-2aaaaba82000 ---p 0000a000 fe:00 4309263 /lib/libnss_nis-2.7.so
2aaaaba82000-2aaaaba84000 rw-p 00009000 fe:00 4309263 /lib/libnss_nis-2.7.so
2aaaaba84000-2aaaaba8e000 r-xp 00000000 fe:00 4309259 /lib/libnss_files-2.7.so
2aaaaba8e000-2aaaabc8d000 ---p 0000a000 fe:00 4309259 /lib/libnss_files-2.7.so
2aaaabc8d000-2aaaabc8f000 rw-p 00009000 fe:00 4309259 /lib/libnss_files-2.7.so
2aaaabc8f000-2aaaac42d000 rw-s e8000000 00:0e 13454 /dev/nvidia0
2aaaac42d000-2aaaac42e000 rw-s f0001000 00:0e 13454 /dev/nvidia0
2aaaac42e000-2aaaac570000 rw-s 47262000 00:0e 13454 /dev/nvidia0
2aaaac570000-2aaaac571000 rw-s f0c02000 00:0e 13454 /dev/nvidia0
2aaaac571000-2aaaac572000 rw-s 3b06b000 00:0e 13454 /dev/nvidia0
2aaaac572000-2aaaac573000 rw-s 3b06c000 00:0e 13454 /dev/nvidia0
2aaaac573000-2aaaac574000 rw-s ef3bf000 00:0e 13454 /dev/nvidia0
2aaaac574000-2aaaac578000 rw-s 3b06e000 00:0e 13454 /dev/nvidia0
2aaaac578000-2aaaac678000 rw-s 2c0ac000 00:0e 13454 /dev/nvidia0
2aaaac678000-2aaaac6b8000 rw-s ef37e000 00:0e 13454 /dev/nvidia0
2aaaac6b8000-2aaaac6b9000 rw-s 00000000 00:09 6422539 /SYSV00000000 (deleted)
2aaaac6b9000-2aaaac6c0000 r--s 00000000 fe:00 4686440 /usr/lib/gconv/gconv-modules.cache
2aaaac91b000-2aaaacb1b000 rw-s 2683c000 00:0e 13454 /dev/nvidia0
2aaaacb1b000-2aaaacb21000 rw-p 2aaaacb1b000 00:00 0
2aaab0000000-2aaab0021000 rw-p 2aaab0000000 00:00 0
2aaab0021000-2aaab4000000 ---p 2aaab0021000 00:00
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2afb3dacdfc0 (LWP 5517)]
0x00002afb3ab27025 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002afb3ab27025 in raise () from /lib/libc.so.6
#1 0x00002afb3ab28a80 in abort () from /lib/libc.so.6
#2 0x00002afb3ab61a1b in ?? () from /lib/libc.so.6
#3 0x00002afb3ab6902a in ?? () from /lib/libc.so.6
#4 0x00002afb3ab6cbbc in free () from /lib/libc.so.6
#5 0x00002afb39139e5e in ?? () from /usr/lib/libGL.so.1
#6 0x00002afb3b89ef3a in ?? () from /usr/lib/libGLcore.so.1
#7 0x00002afb3b89e287 in ?? () from /usr/lib/libGLcore.so.1
#8 0x00002afb3b89d9ed in ?? () from /usr/lib/libGLcore.so.1
#9 0x00002afb3b8b14b2 in ?? () from /usr/lib/libGLcore.so.1
#10 0x000000000060e649 in GAGCore::GraphicContext::drawSurface (this=0x960ce0, x=1166, y=14, w=100, h=100, surface=0xaa0510, sx=0, sy=0, sw=100, sh=100, alpha=255 '�')
at libgag/src/GraphicContext.cpp:1676
#11 0x000000000060e82e in GAGCore::GraphicContext::drawSurface (this=0x960ce0, x=1166, y=14, w=100, h=100, surface=0xaa0510, sx=0, sy=0, sw=100, sh=100, alpha=255 '�')
at libgag/src/GraphicContext.cpp:1651
#12 0x000000000060dca8 in GAGCore::GraphicContext::drawSurface (this=0x960ce0, x=1166, y=14, surface=0xaa0510, sx=0, sy=0, sw=100, sh=100, alpha=255 '�') at libgag/src/GraphicContext.cpp:1631
#13 0x000000000060aada in GAGCore::GraphicContext::drawSurface (this=0x960ce0, x=1166, y=14, surface=0xaa0510, alpha=255 '�') at libgag/src/GraphicContext.cpp:1609
#14 0x000000000055914b in Minimap::draw (this=0x7fff71fdaec8, localteam=0, viewportX=241, viewportY=62, viewportW=36, viewportH=32) at src/Minimap.cpp:115
#15 0x000000000051c67c in MapEdit::drawMiniMap (this=0x7fff71fc9950) at src/MapEdit.cpp:1393
#16 0x000000000051fdb7 in MapEdit::run (this=0x7fff71fc9950) at src/MapEdit.cpp:1285
#17 0x00000000004dd159 in Glob2::run (this=0x7fff71ffa5ef, argc=1, argv=0x7fff71ffa6d8) at src/Glob2.cpp:423
#18 0x00000000004dd69f in main (argc=1, argv=0x7fff71ffa6d8) at src/Glob2.cpp:526

Leo Wandersleb <giszmo>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by genixpro (Updated the item)
  • -unavailable- added by giszmo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Feb 2008 03:32:14 AM UTCgenixproStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1