Segmentation fault in ConvertTileset / calloc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stargus |
Expired
|
Undecided
|
Unassigned |
Bug Description
My SC distro is not standard. And I get SIGSEGV:
...
extracted: tileset\Jungle.cv5 (1806, 82056 bytes)
extracted: tileset\Jungle.vf4 (1808, 161472 bytes)
Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x7ffff7479e80, bytes=5177344) at malloc.c:4709
4709 set_head(remainder, remainder_size | PREV_INUSE);
(gdb) bt
#0 _int_malloc (av=0x7ffff7479e80, bytes=5177344) at malloc.c:4709
#1 0x00007ffff718d642 in __libc_calloc (n=<value optimized out>,
elem_
#2 0x000000000040922a in ConvertTile (mini=0x675db0 "", mega=0x7ea040 "",
msize=161472, map=0x811710 "", mapl=82056, wp=0x7fffffffda84,
hp=
#3 0x000000000040955a in ConvertTileset (listfile=0x424e20 "tileset\\Jungle",
file=0x424e12 "jungle/jungle") at /tmp/stargus_
#4 0x000000000040c98a in main (argc=3, argv=0x7fffffff
at /tmp/stargus_
(gdb)
Can you help? Any hints?
#0 _int_malloc (av=0x7ffff7479e80, bytes=5177344) at malloc.c:4709
#1 0x00007ffff718d642 in __libc_calloc (n=<value optimized out>, elem_size=<value optimized out>) at malloc.c:4066
Install debug symbols for your libc. I need to know arguments passed to calloc (<value optimized out> is not enought).