 |
|  |
| Author |
Message |
webograph
|
adanaxisgpl reproducably segfaults on my machine when being under fire from what seems to be a gravity weapon (from the split second i experience the effect and the description of the level)
environment data: ubuntu hardy with proprietory ati driver and adanaxisgpl 1.2.4.dfsg.1-1
steps to reproduce:
- start the level
- pick up the weapons
- take the first of those things in the "lower" part of the screen under fire
- it will fire at you before it is blown to pieces
- the shot passes along you, drags you sideways, and suddenly ther's the segfault
i've uploaded the end of a strace to http://pastebin.com/m2ce82ef9 (plus the parts that seem relevant to me)
|
|
|
|
|
|
admin Site Admin
|
Hi,
Thanks, I've just discovered that the same bug is logged in Debian. I'll get on to it.
|
|
|
|
|
|
colas
|
Hello,
Playing on Ubuntu, and I have the same bug.
|
|
|
|
|
|
Bubinga
|
Same problem with Ubuntu and ATI driver. However, If I disable the driver, problem still occurs.
|
|
|
|
|
|
admin Site Admin
|
Hi all,
Thanks for the feedback. This works fine on my Ubuntu test rig so it's a bit tricky to tackle. Can you give me a few more details about your hardware/software setup? Or can you run adanaxis in gdb and get a backtrace from the crash?
|
|
|
|
|
|
danielsouza
|
|
|
|
danielsouza
|
|
|
|
danielsouza
|
Sorry for the triplicate post, admin please delete the copys.
|
|
|
|
|
|
mhumm2
|
I too have the same problem, but I'm using nvidia drivers. Apparently, this is a very widespread bug.
Asus A7N8X Deluxe mobo, Athlon XP2200+ CPU, 1GB RAM, onboard Nvidia graphics
Running Kubuntu 9.04
Please explain how to run Adanaxis in gdb and I would be happy to send the backtrace of the crash.
|
|
|
|
|
|
admin Site Admin
|
Using gdb is fairly easy and will get us some information. First install the gdb package, and then open a terminal and type:
gdb adanaxisgpl
run
Play through until the program crashes and then type
bt
and post the whole output here. Depending on where the program crashes, this might not be useful without the debugging symbols. There's a post about how to get them for Ubuntu here:
https://wiki.ubuntu.com/DebuggingProgramCrash
but it might be tricky. Thanks!
|
|
|
|
|
|
quimnuss
|
admin wrote ( View Post): › Using gdb is fairly easy and will get us some information. First install the gdb package, and then open a terminal and type:
gdb adanaxisgpl
run
Play through until the program crashes and then type
bt
and post the whole output here. Depending on where the program crashes, this might not be useful without the debugging symbols. There's a post about how to get them for Ubuntu here:
https://wiki.ubuntu.com/DebuggingProgramCrash
but it might be tricky. Thanks! |
I can confirm this with ubuntu 9.10 under nVidia.
Running it says indeed there are no debugging symbols found. Looks kind of complicated to add them... I did what the tutorial said, replacing the package yelp with adanaxisgpl and its current version (which is outputed with apt-cache as explained in the DebuggingProgramCrash from ubuntu)
here:
sudo apt-get install adanaxisgpl-dbgsym=1.2.5.dfsg.1-2ubuntu1
BUt I still get no debugging symbols found, although there's more output:
Code: ›
convidat@planta:~$ gdb adanaxisgpl
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/adanaxisgpl...Reading symbols from /usr/lib/debug/usr/games/adanaxisgpl...done.
(no debugging symbols found)...done.
(gdb) quit
|
What am I missing... I'd like to help on the debugging of the bug to keep on playing in 4D!
|
|
|
|
|
|
admin Site Admin
|
That actually looks pretty good. If you type 'run' (instead of quit), play through until it crashes, and then type 'bt', what do you get?
|
|
|
|
|
|
quimnuss
|
admin wrote ( View Post): › That actually looks pretty good. If you type 'run' (instead of quit), play through until it crashes, and then type 'bt', what do you get? |
Silly me...!
ok so I did it, but unfortunately I can't go back to the shell... when played with adanaxisgpl you get a segmentation fault, but when I run it through gdb, it freezes and I can't go back wihtout restarting the XServer... any suggestion?
I'd like to provide feedback... damn it I can't go back to the shell to get the backtrace..!
|
|
|
|
|
|
admin Site Admin
|
A few things to try are:
- Switch the display mode to a Windowed mode in the adanaxis options just before it crashes.
- Log in at one of the console terminals you can get to by pressing Ctrl-Alt-F1 and start adanaxis from there. You might have to set the DISPLAY variable before starting it. Ctrl-Alt-F7 gets you back to the desktop. You need to set DISPLAY to whatever 'echo $DISPLAY' returns from a terminal on the desktop. Probably 'DISPLAY=:0.0' is what you need. This relies on Ctrl-Alt-F1 still working once adanaxis crashes.
- ssh in from another machine. The DISPLAY thing might be necessary again.
- Use 'gdb adanaxisgpl | tee mylog.txt'. That will at least log gdb output to a file, but you won't be able to enter 'bt' for the backtrace.
|
|
|
|
|
|
adafan
|
I'm running into the same bug, it seems. I managed to get a backtrace through gdb by running adanaxisgpl in Windowed mode, as suggested. I wasn't sure if hardware information would be useful, so I've included the output of 'lshw' as well. If you need any more details I'll be happy to help as best I can.
lshw:
Code: ›
blackrain
description: Desktop Computer
width: 32 bits
capabilities: smbios-2.2 dmi-2.2 smp
configuration: boot=normal chassis=desktop
*-core
description: Motherboard
product: nVidia-nForce
physical id: 0
*-firmware
description: BIOS
vendor: Phoenix Technologies, LTD
physical id: 0
version: 6.00 PG (09/05/2003)
size: 128KiB
capacity: 192KiB
capabilities: isa pci pnp apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot
*-cpu
description: CPU
product: AMD Athlon(tm)
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 6.10.0
slot: Socket A
size: 1100MHz
width: 32 bits
clock: 100MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
*-cache:0
description: L1 cache
physical id: 9
slot: Internal Cache
size: 128KiB
capacity: 128KiB
capabilities: synchronous internal write-back
*-cache:1
description: L2 cache
physical id: a
slot: External Cache
size: 512KiB
capacity: 512KiB
capabilities: synchronous external write-back
*-memory
description: System Memory
physical id: 1b
slot: System board or motherboard
size: 512MiB
capacity: 1536MiB
*-bank:0
description: DIMM
physical id: 0
slot: A0
size: 256MiB
*-bank:1
description: DIMM
physical id: 1
slot: A1
size: 256MiB
*-bank:2
description: DIMM [empty]
physical id: 2
slot: A2
*-pci
description: Host bridge
product: nForce2 IGP2
vendor: nVidia Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: a2
width: 32 bits
clock: 66MHz
configuration: driver=agpgart-nvidia
resources: irq:0 memory:e0000000-e1ffffff(prefetchable)
*-memory:0 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 1
vendor: nVidia Corporation
physical id: 0.1
bus info: pci@0000:00:00.1
version: a2
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:1 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 4
vendor: nVidia Corporation
physical id: 0.2
bus info: pci@0000:00:00.2
version: a2
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:2 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 3
vendor: nVidia Corporation
physical id: 0.3
bus info: pci@0000:00:00.3
version: a2
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:3 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 2
vendor: nVidia Corporation
physical id: 0.4
bus info: pci@0000:00:00.4
version: a2
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:4 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 5
vendor: nVidia Corporation
physical id: 0.5
bus info: pci@0000:00:00.5
version: a2
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-isa
description: ISA bridge
product: nForce2 ISA Bridge
vendor: nVidia Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: a4
width: 32 bits
clock: 66MHz
capabilities: isa ht bus_master cap_list
configuration: latency=0
*-serial
description: SMBus
product: nForce2 SMBus (MCP)
vendor: nVidia Corporation
physical id: 1.1
bus info: pci@0000:00:01.1
version: a2
width: 32 bits
clock: 66MHz
capabilities: pm cap_list
configuration: driver=nForce2_smbus latency=0 maxlatency=1 mingnt=3
resources: irq:11 ioport:e400(size=32)
*-usb:0
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: a4
width: 32 bits
clock: 66MHz
capabilities: pm ohci bus_master cap_list
configuration: driver=ohci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:21 memory:e4004000-e4004fff
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.31.6-166.fc12.i686.PAE ohci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub slots=3 speed=12.0MB/s
*-usb:1
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: a4
width: 32 bits
clock: 66MHz
capabilities: pm ohci bus_master cap_list
configuration: driver=ohci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:20 memory:e4005000-e4005fff
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.31.6-166.fc12.i686.PAE ohci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub slots=3 speed=12.0MB/s
*-usb:2
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2.2
bus info: pci@0000:00:02.2
version: a4
width: 32 bits
clock: 66MHz
capabilities: debug pm ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:22 memory:e4000000-e40000ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 2.6.31.6-166.fc12.i686.PAE ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480.0MB/s
*-network
description: Ethernet interface
product: nForce2 Ethernet Controller
vendor: nVidia Corporation
physical id: 4
bus info: pci@0000:00:04.0
logical name: eth0
version: a1
serial: 00:50:70:a4:db:0a
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full ip=142.151.138.50 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
resources: irq:22 memory:e4001000-e4001fff ioport:d000(size=8)
*-multimedia
description: Multimedia audio controller
product: nForce2 AC97 Audio Controler (MCP)
vendor: nVidia Corporation
physical id: 6
bus info: pci@0000:00:06.0
version: a1
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=Intel ICH latency=0 maxlatency=5 mingnt=2
resources: irq:21 ioport:d400(size=256) ioport:d800(size=128) memory:e4002000-e4002fff
*-pci:0
description: PCI bridge
product: nForce2 External PCI Bridge
vendor: nVidia Corporation
physical id: 8
bus info: pci@0000:00:08.0
version: a3
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master
*-ide
description: IDE interface
product: nForce2 IDE
vendor: nVidia Corporation
physical id: 9
bus info: pci@0000:00:09.0
logical name: scsi0
logical name: scsi1
version: a2
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list emulated
configuration: driver=pata_amd latency=0 maxlatency=1 mingnt=3
resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f000(size=16)
*-disk:0
description: ATA Disk
product: WDC WD800BB-00FJ
vendor: Western Digital
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 13.0
serial: WD-WCAJ91134408
size: 74GiB (80GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=08e408e3
*-volume:0
description: Windows NTFS volume
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
version: 3.1
serial: 3a4a7294-8ba0-6542-a86f-213523f99d27
size: 32GiB
capacity: 32GiB
capabilities: primary bootable ntfs initialized
configuration: clustersize=4096 created=2009-12-17 14:12:19 filesystem=ntfs state=clean
*-volume:1
description: Windows NTFS volume
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
version: 3.1
serial: e0682fa9-3c41-0241-87ac-227f83b9e09f
size: 39GiB
capacity: 40GiB
capabilities: primary ntfs initialized
configuration: clustersize=4096 created=2009-12-17 22:07:21 filesystem=ntfs label=General state=clean
*-volume:2
description: Linux swap volume
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
version: 1
serial: 32cecd96-18d0-4978-9892-810b893b4839
size: 2565MiB
capacity: 2565MiB
capabilities: primary nofs swap initialized
configuration: filesystem=swap pagesize=4096
*-disk:1
description: ATA Disk
product: ST3160815A
vendor: Seagate
physical id: 0.1.0
bus info: scsi@0:0.1.0
logical name: /dev/sdb
version: 3.AA
serial: 9RA7ESYD
size: 149GiB (160GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000cf665
*-volume:0
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.1.0,1
logical name: /dev/sdb1
logical name: /boot
version: 1.0
serial: b0d54f59-861f-4a6a-b4d4-bebf926520d8
size: 200MiB
capacity: 200MiB
capabilities: primary bootable journaled extended_attributes recover ext3 ext2 initialized
configuration: created=2009-12-18 11:35:29 filesystem=ext3 modified=2010-02-16 02:10:31 mount.fstype=ext3 mount.options=rw,seclabel,relatime,errors=continue,user_xattr,acl,data=ordered mounted=2010-02-16 02:10:31 state=mounted
*-volume:1
description: EXT3 volume
vendor: Linux
physical id: 2
bus info: scsi@0:0.1.0,2
logical name: /dev/sdb2
logical name: /
version: 1.0
serial: e2024ef9-82cf-4d0d-a6f7-e94e6d0ee487
size: 148GiB
capacity: 148GiB
capabilities: primary journaled extended_attributes large_files recover ext3 ext2 initialized
configuration: created=2009-12-18 11:35:31 filesystem=ext3 modified=2010-02-16 02:10:30 mount.fstype=ext3 mount.options=rw,seclabel,relatime,errors=continue,user_xattr,acl,data=ordered mounted=2010-02-16 02:10:30 state=mounted
*-cdrom
description: DVD writer
product: DVD-RW DVR-116D
vendor: PIONEER
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.09
capabilities: removable audio cd-r cd-rw dvd dvd-r
configuration: ansiversion=5 status=nodisc
*-pci:1
description: PCI bridge
product: nForce2 AGP
vendor: nVidia Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: a2
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master
resources: ioport:c000(size=4096) memory:e2000000-e3ffffff memory:d0000000-dfffffff(prefetchable)
*-display:0
description: VGA compatible controller
product: R350 AH [Radeon 9800]
vendor: ATI Technologies Inc
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 32 bits
clock: 66MHz
capabilities: agp agp-3.0 pm vga_controller bus_master cap_list rom
configuration: driver=radeon latency=32 mingnt=8
resources: irq:19 memory:d0000000-d7ffffff(prefetchable) ioport:c000(size=256) memory:e3000000-e300ffff memory:e2000000-e201ffff(prefetchable)
*-display:1 UNCLAIMED
description: Display controller
product: Radeon R350 [Radeon 9800] (Secondary)
vendor: ATI Technologies Inc
physical id: 0.1
bus info: pci@0000:02:00.1
version: 00
width: 32 bits
clock: 66MHz
capabilities: pm cap_list
configuration: latency=32 mingnt=8
resources: memory:d8000000-dfffffff(prefetchable) memory:e3010000-e301ffff
|
Software-wise, I'm running Fedora 12, with a dual boot option on a separate physical drive to Windows XP. I *belive* there's no actual video card driver installed (I know fglrx isn't, at least), but I'm not sure how to check. (For what it's worth I only get about 75 fps running glxgears in fullscreen at 1280x1024.)
'gdb adanaxis', 'bt':
Code: ›
GNU gdb (GDB) Fedora (7.0.1-19.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/adanaxisgpl...(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install adanaxisgpl-1.2.5-5.fc12.i686
(gdb) run
Starting program: /usr/bin/adanaxisgpl
warning: .dynamic section for "/usr/lib/libXext.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libX11.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libmikmod.so.3" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
warning: .dynamic section for "/usr/lib/libpulse.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libpulsecommon-0.9.21.so" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libnsl.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libvorbisenc.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
[New Thread 0xb3bdeb70 (LWP 18035)]
[Thread 0xb3bdeb70 (LWP 18035) exited]
[New Thread 0xb3bdeb70 (LWP 18036)]
warning: .dynamic section for "/lib/libselinux.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
20100116T112522Z: Package adanaxisgpl-x11-1.2.5 error log
20100116T112522Z: Warning: SDL video mode failed - trying without FSAA
Program received signal SIGSEGV, Segmentation fault.
0x082c2d29 in ?? ()
(gdb) bt
#0 0x082c2d29 in ?? ()
#1 0x082c6171 in ?? ()
#2 0x0811074b in ?? ()
#3 0x0810d7cd in ?? ()
#4 0x082d402f in ?? ()
#5 0x0813755f in ?? ()
#6 0x0813468b in ?? ()
#7 0x0809d6ce in ?? ()
#8 0x080a36ea in ?? ()
#9 0x0071dbb6 in __libc_start_main () from /lib/libc.so.6
#10 0x0804e7d1 in ftell ()
(gdb) quit
|
|
|
|
|
|
|
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum |
|
|  |
| Screenshots |
 |
Pic Title: Adanaxis 0.7.0 Screenshot
Poster: southa Posted: Thu Apr 19, 2007 3:46 pm
View: 45149 Rating: 10 Comments: 0
|
|
 |
Pic Title: Adanaxis 0.7.0 Screenshot
Poster: southa Posted: Thu Apr 19, 2007 3:35 pm
View: 27698 Rating: 10 Comments: 0
|
|
| [ Album ] |
|
| Recent Topics |
» Miegakure - 4D puzzle game
by loki_clock on Mon Aug 02, 2010 6:33 am
» Mousewheel
by on Mon Jul 26, 2010 3:49 pm
» Invert Up/ Down Mouse
by Andy on Tue Jul 20, 2010 9:17 am
» 64-bit Mac support?
by admin on Wed Apr 21, 2010 4:22 am
» adanaxisgpl segfaults in gravity waves
by Quim Nuss on Tue Feb 23, 2010 1:12 pm
» Enemies do not need to aim in 4D!? ¬_¬
by loki_clock on Sat Jan 23, 2010 6:44 am
» An "Actual" First-Person Shooter?
by loki_clock on Fri Dec 04, 2009 8:21 pm
» Is the 4th dimension 'real'?
by loki_clock on Mon Nov 23, 2009 4:55 am
» 4D Fundamentals
by loki_clock on Mon Nov 23, 2009 4:51 am
» Is it possible to reach the Fourth Dimension?
by loki_clock on Mon Nov 23, 2009 4:41 am
|
|
| Statistics |
We have 506 registered users
The newest registered user is LoSt
Our users have posted a total of 299 articles within 83 topics
|
|
| Visit Counter |
| This site has 7646949 page views in total since Sun Feb 27, 2005 12:27 pm |
|
| Who is Online |
|
In total there are 10 users online :: 0 Registered, 10 Guests
Registered Users: None
[ View complete list ]
|
|
|  |