Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15003 - [tuxracer] corruption/memory error in tuxracer

Attached to Project: Arch Linux
Opened by David Rosenstrauch (darose) - Monday, 08 June 2009, 02:49 GMT
Last edited by Allan McRae (Allan) - Wednesday, 17 June 2009, 11:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Tuxracer runs OK, but throws a memory corruption error, which leaves the screen in a strange video mode. Problem doesn't occur on my laptop.


Additional info:
* package version(s)

0.61-8

* config and/or log files etc.

Video card is ATI Radeon 9200SE, configured properly in xorg.conf for direct rendering.


Steps to reproduce:
1) run tuxracer from console
2) tuxracer runs normally
3) exit tuxracert
4) see error output (below)
5) see screen in strange video mode


error output:
[darose@darsys9 ~]$ tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

*** glibc detected *** tuxracer: double free or corruption (!prev): 0x000000000329d030 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f61fed7db36]
/lib/libc.so.6(cfree+0xb5)[0x7f61fed7f545]
/usr/lib/xorg/modules/dri/libdricore.so(_mesa_delete_texture_object+0x51)[0x7f61fc1484f1]
/usr/lib/xorg/modules/dri/libdricore.so(_mesa_HashDeleteAll+0x54)[0x7f61fc108514]
/usr/lib/xorg/modules/dri/libdricore.so[0x7f61fc0c766b]
/usr/lib/xorg/modules/dri/libdricore.so(_mesa_free_context_data+0x18b)[0x7f61fc0c839b]
/usr/lib/xorg/modules/dri/libdricore.so(_mesa_destroy_context+0xe)[0x7f61fc0c83fe]
/usr/lib/xorg/modules/dri/r200_dri.so(r200DestroyContext+0xd4)[0x7f61fc4c2704]
/usr/lib/xorg/modules/dri/r200_dri.so[0x7f61fc4bec90]
/usr/lib/libGL.so.1[0x7f61ffac236f]
/usr/lib/libGL.so.1[0x7f61ffa9e021]
/usr/lib/libSDL-1.2.so.0[0x7f62001bc962]
/usr/lib/libSDL-1.2.so.0[0x7f62001c076e]
/usr/lib/libSDL-1.2.so.0[0x7f62001c0987]
/usr/lib/libSDL-1.2.so.0(SDL_VideoQuit+0x42)[0x7f62001b0b92]
/usr/lib/libSDL-1.2.so.0(SDL_QuitSubSystem+0x55)[0x7f6200189345]
/usr/lib/libSDL-1.2.so.0(SDL_Quit+0xe)[0x7f62001893ce]
tuxracer[0x43bca1]
tuxracer[0x408c0a]
tuxracer[0x437be5]
tuxracer[0x437e74]
tuxracer[0x43be2a]
tuxracer[0x420fc4]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f61fed2b55d]
tuxracer[0x404989]
======= Memory map: ========
00400000-0044c000 r-xp 00000000 08:02 488003 /usr/bin/tuxracer
0064c000-0064d000 rw-p 0004c000 08:02 488003 /usr/bin/tuxracer
0064d000-00881000 rw-p 0064d000 00:00 0
02678000-03343000 rw-p 02678000 00:00 0 [heap]
7f61f2968000-7f61f2a22000 rw-p 7f61f2968000 00:00 0
7f61f2a22000-7f61f2a23000 ---p 7f61f2a22000 00:00 0
7f61f2a23000-7f61f3223000 rw-p 7f61f2a23000 00:00 0
7f61f3223000-7f61f3301000 r-xp 00000000 08:02 101390136 /usr/lib/libasound.so.2.0.0
7f61f3301000-7f61f3500000 ---p 000de000 08:02 101390136 /usr/lib/libasound.so.2.0.0
7f61f3500000-7f61f3508000 rw-p 000dd000 08:02 101390136 /usr/lib/libasound.so.2.0.0
7f61f377c000-7f61f3c5c000 rw-s f0302000 00:0d 1473 /dev/dri/card0
7f61f3c5c000-7f61f3e5c000 rw-s f0102000 00:0d 1473 /dev/dri/card0
7f61f3e5c000-7f61fbe5c000 rw-s e8000000 00:0d 1473 /dev/dri/card0
7f61fbe5c000-7f61fbe83000 r-xp 00000000 08:02 103696205 /usr/lib/libexpat.so.1.5.2
7f61fbe83000-7f61fc082000 ---p 00027000 08:02 103696205 /usr/lib/libexpat.so.1.5.2
7f61fc082000-7f61fc085000 rw-p 00026000 08:02 103696205 /usr/lib/libexpat.so.1.5.2
7f61fc085000-7f61fc28c000 r-xp 00000000 08:02 101390038 /usr/lib/xorg/modules/dri/libdricore.so
7f61fc28c000-7f61fc48c000 ---p 00207000 08:02 101390038 /usr/lib/xorg/modules/dri/libdricore.so
7f61fc48c000-7f61fc4a3000 rw-p 00207000 08:02 101390038 /usr/lib/xorg/modules/dri/libdricore.so
7f61fc4a3000-7f61fc4af000 rw-p 7f61fc4a3000 00:00 0
7f61fc4af000-7f61fc506000 r-xp 00000000 08:02 101390294 /usr/lib/xorg/modules/dri/r200_dri.so
7f61fc506000-7f61fc705000 ---p 00057000 08:02 101390294 /usr/lib/xorg/modules/dri/r200_dri.so
7f61fc705000-7f61fc70a000 rw-p 00056000 08:02 101390294 /usr/lib/xorg/modules/dri/r200_dri.so
7f61fc70a000-7f61fc72d000 rw-p 7f61fc70a000 00:00 0
7f61fc72d000-7f61fc736000 r-xp 00000000 08:02 101279618 /usr/lib/libXrender.so.1.3.0
7f61fc736000-7f61fc935000 ---p 00009000 08:02 101279618 /usr/lib/libXrender.so.1.3.0
7f61fc935000-7f61fc936000 rw-p 00008000 08:02 101279618 /usr/lib/libXrender.so.1.3.0
7f61fc936000-7f61fc93f000 r-xp 00000000 08:02 101390246 /usr/lib/libXcursor.so.1.0.2
7f61fc93f000-7f61fcb3f000 ---p 00009000 08:02 101390246 /usr/lib/libXcursor.so.1.0.2
7f61fcb3f000-7f61fcb40000 rw-p 00009000 08:02 101390246 /usr/lib/libXcursor.so.1.0.2
7f61fcca5000-7f61fccb0000 r-xp 00000000 08:02 33557711 /lib/libnss_files-2.9.so
7f61fccb0000-7f61fceaf000 ---p 0000b000 08:02 33557711 /lib/libnss_files-2.9.so
7f61fceaf000-7f61fceb0000 r--p 0000a000 08:02 33557711 /lib/libnss_files-2.9.so
7f61fceb0000-7f61fceb1000 rw-p 0000b000 08:02 33557711 /lib/libnss_files-2.9.so
7f61fceb1000-7f61fceb2000 ---p 7f61fceb1000 00:00 0
7f61fceb2000-7f61fd6b2000 rw-p 7f61fceb2000 00:00 0
7f61fd6b2000-7f61fd6b9000 r-xp 00000000 08:02 33557713 /lib/librt-2.9.so
7f61fd6b9000-7f61fd8b8000 ---p 00007000 08:02 33557713 /lib/librt-2.9.so
7f61fd8b8000-7f61fd8b9000 r--p 00006000 08:02 33557713 /lib/librt-2.9.so
7f61fd8b9000-7f61fd8ba000 rw-p 00007000 08:02 33557713 /lib/librt-2.9.so
7f61fd8ba000-7f61fd8bf000 r-xp 00000000 08:02 101390252 /usr/lib/libXdmcp.so.6.0.0
7f61fd8bf000-7f61fdabe000 ---p 00005000 08:02 101390252 /usr/lib/libXdmcp.so.6.0.0
7f61fdabe000-7f61fdabf000 rw-p 00004000 08:02 101390252 /usr/lib/libXdmcp.so.6.0.0
7f61fdabf000-7f61fdac9000 r-xp 00000000 08:02 101279053 /usr/lib/libdrm.so.2.4.0
7f61fdac9000-7f61fdcc9000 ---p 0000a000 08:02 101279053 /usr/lib/libdrm.so.2.4.0
7f61fdcc9000-7f61fdcca000 rw-p 0000a000 08:02 101279053 /usr/lib/libdrm.so.2.4.0
7f61fdcca000-7f61fdcdd000 r-xp 00000000 08:02 101252031 /usr/lib/libxcb-glx.so.0.0.0
7f61fdcdd000-7f61fdedc000 ---p 00013000 08:02 101252031 /usr/lib/libxcb-glx.so.0.0.0
7f61fdedc000-7f61fdede000 rw-p 00012000 08:02 101252031 /usr/lib/libxcb-glx.so.0.0.0
7f61fdede000-7f61fdedf000 r-xp 00000000 08:02 101972471 /usr/lib/libX11-xcb.so.1.0.0
7f61fdedf000-7f61fe0de000 ---p 00001000 08:02 101972471 /usr/lib/libX11-xcb.so.1.0.0
7f61fe0de000-7f61fe0df000 rw-p 00000000 08:02 101972471 /usr/lib/libX11-xcb.so.1.0.0
7f61fe0df000-7f61fe0e4000 r-xp 00000000 08:02 101390240 /usr/lib/libXfixes.so.3.1.0
7f61fe0e4000-7f61fe2e3000 ---p 00005000 08:02 101390240 /usr/lib/libXfixes.so.3.1.0
7f61fe2e3000-7f61fe2e4000 rw-p 00004000 08:02 101390240 /usr/lib/libXfixes.so.3.1.0
7f61fe2e4000-7f61fe2e6000 r-xp 00000000 08:02 101390292 /usr/lib/libXdamage.so.1.1.0
7f61fe2e6000-7f61fe4e5000 ---p 00002000 08:02 101390292 /usr/lib/libXdamage.so.1.1.0
7f61fe4e5000-7f61fe4e6000 rw-p 00001000 08:02 101390292 /usr/lib/libXdamage.so.1.1.0
7f61fe4e6000-7f61fe4eb000 r-xp 00000000 08:02 101279774 /usr/lib/libXxf86vm.so.1.0.0
7f61fe4eb000-7f61fe6ea000 ---p 00005000 08:02 101279774 /usr/lib/libXxf86vm.so.1.0.0
7f61fe6ea000-7f61fe6eb000 rw-p 00004000 08:02 101279774 /usr/lib/libXxf86vm.so.1.0.0
7f61fe6eb000-7f61fe6ed000 r-xp 00000000 08:02 101251989 /usr/lib/libXau.so.6.0.0
7f61fe6ed000-7f61fe8ec000 ---p 00002000 08:02 101251989 /usr/lib/libXau.so.6.0.0
7f61fe8ec000-7f61fe8ed000 rw-p 00001000 08:02 101251989 /usr/lib/libXau.so.6.0.0
7f61fe8ed000-7f61fe908000 r-xp 00000000 08:02 101278993 /usr/lib/libxcb.so.1.1.0
7f61fe908000-7f61feb08000 ---p 0001b000 08:02 101278993 /usr/lib/libxcb.so.1.1.0
7f61feb08000-7f61feb09000 rw-p 0001b000 08:02 101278993 /usr/lib/libxcb.so.1.1.0
7f61feb09000-7f61feb0c000 r-xp 00000000 08:02 33870873 /lib/libuuid.so.1.2
7f61feb0c000-7f61fed0c000 ---p 00003000 08:02 33870873 /lib/libuuid.so.1.2
7f61fed0c000-7f61fed0d000 rw-p 00003000 08:02 33870873 /lib/libuuid.so.1.2
7f61fed0d000-7f61fee54000 r-xp 00000000 08:02 33557669 /lib/libc-2.9.so
7f61fee54000-7f61ff053000 ---p 00147000 08:02 33557669 /lib/libc-2.9.so
7f61ff053000-7f61ff057Aborted
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 17 June 2009, 11:48 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Package has been removed from repos in favour of extremetuxracer
Comment by Allan McRae (Allan) - Monday, 08 June 2009, 03:05 GMT
Is this a recent occurrence? Can you pinpoint it to a particular upgrade?
Comment by David Rosenstrauch (darose) - Monday, 08 June 2009, 04:38 GMT
Really don't know. Haven't run TR on that box in quite some time. (Possibly even never been run on that box.)

Still, it shouldn't crash like this.
Comment by Allan McRae (Allan) - Sunday, 14 June 2009, 04:31 GMT
I recommend moving on to extremetuxracer...
Comment by David Rosenstrauch (darose) - Sunday, 14 June 2009, 15:46 GMT
I'll check that out - thanks. Hadn't heard of it before.

Still, this one shouldn't segfault.

That said, the machine I've been testing this on is not up to date with latest kernel and such. I'll upgrade and then test again.

Loading...