Bug 4385 - Darkness after existing first location never ends
Status: NEW
Alias: None
Product: Aquaria
Classification: Unclassified
Component: Everything
Version: unspecified
Hardware: PC Linux
: P3 critical
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
: 4409
Depends on:
Blocks:
 
Reported: 2009-12-14 17:26 EST by Iwan Gabovitch
Modified: 2010-08-03 00:25:02 EDT
7 users (show)

See Also:



Description Iwan Gabovitch 2009-12-14 17:26:07 EST
I have a x86_64 machine with Arch Linux on it. 'Awesome' window manager, Nvidia drivers, OSS sound.

I start the game and get a warning.

WARNING: no AL_EXT_vorbis support. We'll use more RAM.

I switch to window mode (1440x900). I start a new game. I skip both intro sequences. I swim through the level to the bottom left exit. The screen turns black and the music keeps playing. I wait 120 seconds before alt+ctrl+F3 to a console to `killall -9 aquaria` because I cannot make the window lose focus. During all of this, Firefox was turned on in the background.

If I do the same with gdb, I get the following line after warning named above.

aquaria: malloc.c:4482: _int_malloc: Assertion `(fwd->size & 0x4) == 0' failed.

After Alt+Ctrl+F3 and `killall -9 aquaria` I then enter 'bt' into gdb and get this:

Cannot access memory at address 0xffff40c0

I hope any of this helps.
Comment 1 armitag5 2009-12-16 17:29:52 EST
*** Bug 4409 has been marked as a duplicate of this bug. ***
Comment 2 Jonas Pollok 2010-01-16 04:39:18 EST
Hey,

I have the same bug. I'm also using Arch Linux with x86_64. So this might be a Arch Linux bug. If I can do different tests please let me know. This is what gdb tells me.

Jonas


*** glibc detected *** /home/jonas/aquaria/aquaria: free(): invalid pointer: 0x0a57a170 ***
======= Backtrace: =========                                                               
/opt/lib32/lib/libc.so.6(+0x6bc31)[0xf7cd8c31]                                             
/opt/lib32/lib/libc.so.6(cfree+0xd6)[0xf7cdd5a6]                                           
/home/jonas/aquaria/aquaria[0x8141484]                                                     
/home/jonas/aquaria/aquaria[0x811b1d7]                                                     
/home/jonas/aquaria/aquaria[0x813d64a]                                                     
/home/jonas/aquaria/aquaria[0x8170de9]                                                     
/home/jonas/aquaria/aquaria[0x8175e02]                                                     
/home/jonas/aquaria/aquaria[0x819bdc2]                                                     
/home/jonas/aquaria/aquaria[0x8333593]                                                     
/home/jonas/aquaria/aquaria[0x8334922]                                                     
/home/jonas/aquaria/aquaria[0x82c89e1]                                                     
/home/jonas/aquaria/aquaria[0x80f8ecf]                                                     
/home/jonas/aquaria/aquaria[0x82d36f8]                                                     
/home/jonas/aquaria/aquaria[0x81c3443]                                                     
/opt/lib32/lib/libc.so.6(__libc_start_main+0xe6)[0xf7c83b86]                               
/home/jonas/aquaria/aquaria[0x804cf01]                                                     
======= Memory map: ========                                                               
08048000-08466000 r-xp 00000000 fe:02 2982097                            /home/jonas/aquaria/aquaria
08466000-08477000 rw-p 0041e000 fe:02 2982097                            /home/jonas/aquaria/aquaria
08477000-0af3f000 rw-p 00000000 00:00 0                                  [heap]                     
e95d2000-eb72a000 rw-p 00000000 00:00 0                                                             
ec0c5000-edaae000 rw-p 00000000 00:00 0                                                             
ef6b1000-ef72d000 rw-p 00000000 00:00 0                                                             
ef76e000-ef946000 rw-p 00000000 00:00 0                                                             
ef97c000-efb4f000 rw-p 00000000 00:00 0                                                             
efb6d000-efc4e000 rw-p 00000000 00:00 0                                                             
efc51000-f0058000 rw-p 00000000 00:00 0                                                             
f0058000-f0263000 rw-p 00000000 00:00 0                                                             
f0272000-f03f3000 rw-p 00000000 00:00 0                                                             
f03f3000-f04a3000 rw-p 00000000 00:00 0                                                             
f04ad000-f0741000 rw-p 00000000 00:00 0                                                             
f0741000-f0a55000 rw-p 00000000 00:00 0                                                             
f0a65000-f0cd6000 rw-p 00000000 00:00 0                                                             
f0cd8000-f0fd5000 rw-p 00000000 00:00 0                                                             
f0ff5000-f104b000 rw-p 00000000 00:00 0                                                             
f1059000-f10fe000 rw-p 00000000 00:00 0                                                             
f1118000-f1272000 rw-p 00000000 00:00 0                                                             
f1289000-f13fd000 rw-p 00000000 00:00 0                                                             
f13fd000-f1632000 rw-p 00000000 00:00 0                                                             
f164e000-f16f2000 rw-p 00000000 00:00 0                                                             
f16ff000-f18b0000 rw-p 00000000 00:00 0                                                             
f18b4000-f19fb000 rw-p 00000000 00:00 0                                                             
f1a18000-f1b6c000 rw-p 00000000 00:00 0                                                             
f1b71000-f1bed000 rw-p 00000000 00:00 0                                                             
f1c0d000-f1d0a000 rw-p 00000000 00:00 0                                                             
f1d29000-f1e37000 rw-p 00000000 00:00 0                                                             
f1e4e000-f22b5000 rw-p 00000000 00:00 0                                                             
f22d3000-f24b6000 rw-p 00000000 00:00 0                                                             
f24cb000-f2832000 rw-p 00000000 00:00 0                                                             
f2851000-f2b16000 rw-p 00000000 00:00 0                                                             
f2b32000-f30d1000 rw-p 00000000 00:00 0                                                             
f30d3000-f376e000 rw-p 00000000 00:00 0                                                             
f3776000-f3b78000 rw-p 00000000 00:00 0                                                             
f3b98000-f3c6c000 rw-p 00000000 00:00 0                                                             
f3c85000-f3e7a000 rw-p 00000000 00:00 0                                                             
f3e7b000-f3f81000 rw-p 00000000 00:00 0                                                             
f3f90000-f4103000 rw-p 00000000 00:00 0                                                             
f4118000-f4209000 rw-p 00000000 00:00 0                                                             
f420d000-f4390000 rw-p 00000000 00:00 0                                                             
f4394000-f4411000 rw-p 00000000 00:00 0                                                             
f4417000-f448d000 rw-p 00000000 00:00 0                                                             
f448d000-f448e000 ---p 00000000 00:00 0                                                             
f448e000-f4c8e000 rw-p 00000000 00:00 0                                                             
f4c8e000-f4d4f000 r-xp 00000000 fe:00 786719                             /opt/lib32/usr/lib/libasound.so.2.0.0
f4d4f000-f4d53000 rw-p 000c0000 fe:00 786719                             /opt/lib32/usr/lib/libasound.so.2.0.0
f4d57000-f4e9a000 rw-p 00000000 00:00 0                                                                       
f4e9a000-f4ed4000 rw-p 00000000 00:00 0                                                                       
f4ed7000-f4f32000 r-xp 00000000 fe:00 786547                             /opt/lib32/usr/lib/libGL.so.1.2      
f4f32000-f4f3c000 rwxp 0005a000 fe:00 786547                             /opt/lib32/usr/lib/libGL.so.1.2      
f4f3c000-f4f3d000 rwxp 00000000 00:00 0                                                                       
f4f3d000-f4f45000 r-xp 00000000 fe:00 786914                             /opt/lib32/usr/lib/libXcursor.so.1.0.2
f4f45000-f4f46000 rw-p 00007000 fe:00 786914                             /opt/lib32/usr/lib/libXcursor.so.1.0.2
f4f71000-f4f79000 rw-s 00000000 00:04 67567628                           /SYSV000004d3 (deleted)               
f4f79000-f50d6000 r--p 001ec000 fe:00 1508311                            /usr/lib/locale/locale-archive        
f50d6000-f52d6000 r--p 00000000 fe:00 1508311                            /usr/lib/locale/locale-archive        
f52d6000-f52dc000 r-xp 00000000 fe:00 790381                             /opt/lib32/usr/lib/libXrandr.so.2.2.0 
f52dc000-f52dd000 rw-p 00006000 fe:00 790381                             /opt/lib32/usr/lib/libXrandr.so.2.2.0 
f52dd000-f52e5000 r-xp 00000000 fe:00 786883                             /opt/lib32/usr/lib/libXrender.so.1.3.0
f52e5000-f52e6000 rw-p 00007000 fe:00 786883                             /opt/lib32/usr/lib/libXrender.so.1.3.0
f52e6000-f52f3000 r-xp 00000000 fe:00 786612                             /opt/lib32/usr/lib/libXext.so.6.4.0   
f52f3000-f52f4000 rw-p 0000d000 fe:00 786612                             /opt/lib32/usr/lib/libXext.so.6.4.0   
f52f4000-f52f8000 r-xp 00000000 fe:00 786552                             /opt/lib32/usr/lib/libXdmcp.so.6.0.0  
f52f8000-f52f9000 rw-p 00003000 fe:00 786552                             /opt/lib32/usr/lib/libXdmcp.so.6.0.0  
f52f9000-f52fb000 r-xp 00000000 fe:00 786912                             /opt/lib32/usr/lib/libXau.so.6.0.0    
f52fb000-f52fc000 rw-p 00001000 fe:00 786912                             /opt/lib32/usr/lib/libXau.so.6.0.0    
f52fc000-f5313000 r-xp 00000000 fe:00 787789                             /opt/lib32/usr/lib/libxcb.so.1.1.0    
f5313000-f5314000 rw-p 00016000 fe:00 787789                             /opt/lib32/usr/lib/libxcb.so.1.1.0    
f5314000-f542a000 r-xp 00000000 fe:00 786597                             /opt/lib32/usr/lib/libX11.so.6.3.0    
f542a000-f542e000 rw-p 00115000 fe:00 786597                             /opt/lib32/usr/lib/libX11.so.6.3.0    
f542e000-f7c47000 rw-p 00000000 00:00 0                                                                        
f7c47000-f7c4e000 r-xp 00000000 fe:00 787375                             /opt/lib32/lib/librt-2.11.1.so        
f7c4e000-f7c4f000 r--p 00006000 fe:00 787375                             /opt/lib32/lib/librt-2.11.1.so        
f7c4f000-f7c50000 rw-p 00007000 fe:00 787375                             /opt/lib32/lib/librt-2.11.1.so        
f7c50000-f7c65000 r-xp 00000000 fe:00 787365                             /opt/lib32/lib/libpthread-2.11.1.so   
f7c65000-f7c66000 r--p 00014000 fe:00 787365                             /opt/lib32/lib/libpthread-2.11.1.so   
f7c66000-f7c67000 rw-p 00015000 fe:00 787365                             /opt/lib32/lib/libpthread-2.11.1.so   
f7c67000-f7c69000 rw-p 00000000 00:00 0                                                                        
f7c69000-f7c6b000 r-xp 00000000 fe:00 787372                             /opt/lib32/lib/libdl-2.11.1.so        
f7c6b000-f7c6c000 r--p 00001000 fe:00 787372                             /opt/lib32/lib/libdl-2.11.1.so        
f7c6c000-f7c6d000 rw-p 00002000 fe:00 787372                             /opt/lib32/lib/libdl-2.11.1.so        
f7c6d000-f7dae000 r-xp 00000000 fe:00 787347                             /opt/lib32/lib/libc-2.11.1.so         
f7dae000-f7db0000 r--p 00141000 fe:00 787347                             /opt/lib32/lib/libc-2.11.1.so         
f7db0000-f7db1000 rw-p 00143000 fe:00 787347                             /opt/lib32/lib/libc-2.11.1.so         
f7db1000-f7db5000 rw-p 00000000 00:00 0                                                                        
f7db5000-f7dbf000 r-xp 00000000 fe:02 2982101                            /home/jonas/aquaria/libgcc_s.so.1     
f7dbf000-f7dc0000 rw-p 00009000 fe:02 2982101                            /home/jonas/aquaria/libgcc_s.so.1     
Program received signal SIGABRT, Aborted.                                                                      
0xf7fe07f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
Comment 3 Klaas 2010-05-07 07:54:08 EDT
I can also confirm this bug on Arch Linux x86_64, Intel GMA 4500MHD, Gnome.
Comment 4 inVader 2010-05-09 18:26:30 EDT
I can confirm this bug on Arch x86_64, will try on i686-Version of Arch tomorrow.
Comment 5 pooga 2010-05-09 19:39:21 EDT
I can confirm this for i686 version of Arch with Intel 945GME graphics.
Comment 6 inVader 2010-05-10 15:03:53 EDT
I tried it at work on my i686 Arch Linux computer. Works fine there. After installing the full lib32 package group it works fine on x86_64, too.

Gnome (even Compiz running), proprietary nvidia-drivers. It was probably the installation of lib32-nvidia-utils from the group that got it going for me.
Comment 7 RK 2010-05-10 16:38:51 EDT
Installing lib32-ati-dri fixed it for me. Don´t forget log out and log in again or source the specified script, otherwise it won´t work.
Comment 8 Klaas 2010-05-10 17:21:36 EDT
I have tested using the lib32-nvidia-utils versions of libGL and so on, as used here http://linuxrpgs.blogspot.com/2010/01/eschalon-book-i-intel-vga-amd64-hack.html for some other game. But this just crashes with the following error message:

X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  26
  Current serial number in output stream:  27
Segmentation fault

Seems like this trick won't work here.

lib32-ati-dri does nothing for me, as expected.
Comment 9 RK 2010-05-13 03:10:52 EDT
(In reply to comment #8)
> I have tested using the lib32-nvidia-utils versions of libGL and so on, as used
> here
> http://linuxrpgs.blogspot.com/2010/01/eschalon-book-i-intel-vga-amd64-hack.html
> for some other game. But this just crashes with the following error message:
> 
> X Error of failed request:  GLXUnsupportedPrivateRequest
>   Major opcode of failed request:  154 (GLX)
>   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
>   Serial number of failed request:  26
>   Current serial number in output stream:  27
> Segmentation fault
> 
> Seems like this trick won't work here.
> 
> lib32-ati-dri does nothing for me, as expected.

You´ve tried lib32-intel-dri, right?
Comment 10 Klaas 2010-05-13 06:17:20 EDT
(In reply to comment #9)
> You´ve tried lib32-intel-dri, right?

I searched for it then, but somehow I was to stupid to find it. ;)
Sadly, lib32-intel-dri does not change anything, it still gets stuck.
Comment 11 Andrew Church 2010-08-03 00:25:02 EDT
Does anyone who has this problem still see it with a native 64-bit build from the released source? (http://hg.icculus.org/icculus/aquaria)

Remember that you need to copy the game scripts from the "game_scripts" directory over the original scripts in your Aquaria install directory to avoid bug 4675 (and possibly other bugs).