Hello, I'm running a modified version of SWR... I cleared up a bunch of bugs and it compiled fine, but I get this when I run the startup script:
*** glibc detected *** ../src/swreality: double free or corruption (!prev): 0x09
0f4660 ***
======= Backtrace: =========
/lib/libc.so.6[0x460b16]
/lib/libc.so.6(cfree+0x90)[0x464030]
/lib/libc.so.6(fclose+0x136)[0x44f866]
../src/swreality[0x814bed2]
../src/swreality[0x80c681b]
../src/swreality[0x80b25c6]
/lib/libc.so.6(__libc_start_main+0xdc)[0x40ddec]
../src/swreality[0x8049621]
======= Memory map: ========
003da000-003f4000 r-xp 00000000 08:03 65538 /lib/ld-2.5.so
003f4000-003f5000 r-xp 00019000 08:03 65538 /lib/ld-2.5.so
003f5000-003f6000 rwxp 0001a000 08:03 65538 /lib/ld-2.5.so
003f8000-00535000 r-xp 00000000 08:03 65554 /lib/libc-2.5.so
00535000-00537000 r-xp 0013d000 08:03 65554 /lib/libc-2.5.so
00537000-00538000 rwxp 0013f000 08:03 65554 /lib/libc-2.5.so
00538000-0053b000 rwxp 00538000 00:00 0
00543000-00568000 r-xp 00000000 08:03 65571 /lib/libm-2.5.so
00568000-00569000 r-xp 00024000 08:03 65571 /lib/libm-2.5.so
00569000-0056a000 rwxp 00025000 08:03 65571 /lib/libm-2.5.so
006c0000-006cb000 r-xp 00000000 08:03 65743 /lib/libgcc_s-4.1.2-20080102.so
.1
006cb000-006cc000 rwxp 0000a000 08:03 65743 /lib/libgcc_s-4.1.2-20080102.so
.1
08048000-0824e000 r-xp 00000000 08:03 14812408 /home/sentient/test/src/swreali
ty
0824e000-0824f000 rwxp 00205000 08:03 14812408 /home/sentient/test/src/swreali
ty
0824f000-08277000 rwxp 0824f000 00:00 0
090f4000-091db000 rwxp 090f4000 00:00 0
40000000-40001000 r-xp 40000000 00:00 0 [vdso]
40001000-40002000 rw-p 40001000 00:00 0
4000a000-4000c000 rw-p 4000a000 00:00 0
40100000-40121000 rw-p 40100000 00:00 0
40121000-40200000 ---p 40121000 00:00 0
bfeb3000-bfec8000 rw-p bfeb3000 00:00 0 [stack]
Abort (core dumped)
Any ideas?
-Kronos
*** glibc detected *** ../src/swreality: double free or corruption (!prev): 0x09
0f4660 ***
======= Backtrace: =========
/lib/libc.so.6[0x460b16]
/lib/libc.so.6(cfree+0x90)[0x464030]
/lib/libc.so.6(fclose+0x136)[0x44f866]
../src/swreality[0x814bed2]
../src/swreality[0x80c681b]
../src/swreality[0x80b25c6]
/lib/libc.so.6(__libc_start_main+0xdc)[0x40ddec]
../src/swreality[0x8049621]
======= Memory map: ========
003da000-003f4000 r-xp 00000000 08:03 65538 /lib/ld-2.5.so
003f4000-003f5000 r-xp 00019000 08:03 65538 /lib/ld-2.5.so
003f5000-003f6000 rwxp 0001a000 08:03 65538 /lib/ld-2.5.so
003f8000-00535000 r-xp 00000000 08:03 65554 /lib/libc-2.5.so
00535000-00537000 r-xp 0013d000 08:03 65554 /lib/libc-2.5.so
00537000-00538000 rwxp 0013f000 08:03 65554 /lib/libc-2.5.so
00538000-0053b000 rwxp 00538000 00:00 0
00543000-00568000 r-xp 00000000 08:03 65571 /lib/libm-2.5.so
00568000-00569000 r-xp 00024000 08:03 65571 /lib/libm-2.5.so
00569000-0056a000 rwxp 00025000 08:03 65571 /lib/libm-2.5.so
006c0000-006cb000 r-xp 00000000 08:03 65743 /lib/libgcc_s-4.1.2-20080102.so
.1
006cb000-006cc000 rwxp 0000a000 08:03 65743 /lib/libgcc_s-4.1.2-20080102.so
.1
08048000-0824e000 r-xp 00000000 08:03 14812408 /home/sentient/test/src/swreali
ty
0824e000-0824f000 rwxp 00205000 08:03 14812408 /home/sentient/test/src/swreali
ty
0824f000-08277000 rwxp 0824f000 00:00 0
090f4000-091db000 rwxp 090f4000 00:00 0
40000000-40001000 r-xp 40000000 00:00 0 [vdso]
40001000-40002000 rw-p 40001000 00:00 0
4000a000-4000c000 rw-p 4000a000 00:00 0
40100000-40121000 rw-p 40100000 00:00 0
40121000-40200000 ---p 40121000 00:00 0
bfeb3000-bfec8000 rw-p bfeb3000 00:00 0 [stack]
Abort (core dumped)
Any ideas?
-Kronos