Back to the Vavoom Forum Archives


Forum

[Fixed] [1.21.1] Linux_AMD64:Music issue+error on exit+graph

Sun, 23 Jul 2006 15:39:31

scen

Running 1.21.1 on Gentoo Linux AMD64, i've found these problems: [list:8j1fzetd] [*:8j1fzetd]Music through midi "scratchs" horribly, while with external music files (ogg/mp3) it plays normally (on x86 system instead, midi music runs fine)[/*:m:8j1fzetd] [*:8j1fzetd]When i close the program, on command line it displays the following error:
*** glibc detected *** free(): invalid pointer: 0x0000000000904a3c ***
terminate called after throwing an instance of 'VavoomError'
/usr/games/bin/vavoom: line 5: 24363 Abortito                "/usr/games/bin/vavoom.x86_64" $* -iwaddir yes
I've tried some debugging, whit following results:
$ gdb /usr/games/bin/vavoom.x86_64
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run -doom -window -opengl -iwaddir yes
[...]
[Thread 1082141024 (zombie) exited]
*** glibc detected *** free(): invalid pointer: 0x00000000009055f8 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 47417387021632 (LWP 24543)]
0x00002b203742f079 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002b203742f079 in raise () from /lib/libc.so.6
#1  0x00002b203743072e in abort () from /lib/libc.so.6
#2  0x00002b2037464020 in __libc_message () from /lib/libc.so.6
#3  0x00002b2037469ace in _int_free () from /lib/libc.so.6
#4  0x00002b2037469e26 in free () from /lib/libc.so.6
#5  0x00000000004d72b8 in Z_Free (ptr=0x9055f8) at zone.cpp:584
#6  0x00000000004c8d90 in ~VClass (this=0x669500) at zone.h:130
#7  0x00002b2037431955 in exit () from /lib/libc.so.6
#8  0x00000000004dd47e in Sys_Quit (EndText=0x7fffffa704d0 "`\223p") at sys_sdl.cpp:422
#9  0x00007fffffa70630 in ?? ()
#10 0x000000000043b373 in TCmdQuit::Run (this=0x5fdf) at host.cpp:580
#11 0x0000000000417a45 in VCommand::ExecuteString (Acmd=@0x7fffffa70630, src=SRC_Command) at cmd.cpp:338
#12 0x0000000000417c72 in VCmdBuf::Exec (this=0x66e5e0) at cmd.cpp:513
#13 0x000000000043b928 in Host_Frame () at host.cpp:323
#14 0x00000000004dd7e4 in main (argc=24543, argv=0x5fdf) at sys_sdl.cpp:685
I hope it helps <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->[/*:m:8j1fzetd] [*:8j1fzetd]There are some graphic glithes on game bar, using default size (i attache some screenshot sample). It happens in all games (Doom/Heretic/Hexen)[/*:m:8j1fzetd][/list:u:8j1fzetd]
Sun, 23 Jul 2006 18:33:16

Crimson Wizard

This graphics issue has obvious reason IMO: Since resolution was changed to higher metrics, statusbar does not cover the whole screen width, but still it tells engine that lower part of screen should not be redrawn. It can be easily seen when playing in software mode under Windows (don't know about other modes/OSes). I had already told this to Firebrand, but seems he didn't fix it yet.
Sat, 05 Aug 2006 17:23:53

Crimson Wizard

Plus weapon sprites are not positioned properly. For example Pig Snout (always) and Mage's Frost Shards - when statusbar is shown.
Mon, 07 Aug 2006 20:35:52

scen

[quote="scen":3j23wql9] [list:3j23wql9] [...] [*:3j23wql9]When i close the program, on command line it displays the following error: [...][/*:m:3j23wql9][/list:u:3j23wql9] On x86 the errors are similar:
*** glibc detected *** free(): invalid pointer: 0x0838e120 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1214929232 (LWP 13811)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7afe261 in raise () from /lib/tls/libc.so.6
#2  0xb7aff9f9 in abort () from /lib/tls/libc.so.6
#3  0xb7b3224a in __fsetlocking () from /lib/tls/libc.so.6
#4  0xb7b38167 in malloc_usable_size () from /lib/tls/libc.so.6
#5  0xb7b38b7b in free () from /lib/tls/libc.so.6
#6  0x08150ceb in Z_Free (ptr=0x838e120) at zone.cpp:584
#7  0x0813f8ab in ~VClass (this=0x81da460) at zone.h:130
#8  0xb7b00d07 in exit () from /lib/tls/libc.so.6
#9  0x08158b0b in Sys_Quit (EndText=0x1 <Address 0x1 out of bounds>) at sys_sdl.cpp:422
#10 0x08091e7b in TCmdQuit::Run (this=0x8249c60) at host.cpp:580
#11 0x08063076 in VCommand::ExecuteString (Acmd=@0xbfd4f5d0, src=SRC_Command) at cmd.cpp:338
#12 0x08063444 in VCmdBuf::Exec (this=0x81dcfd0) at cmd.cpp:513
#13 0x0809256f in Host_Frame () at host.cpp:323
#14 0x08158fa9 in main (argc=0, argv=0x0) at sys_sdl.cpp:685
#15 0xb7aeaf14 in __libc_start_main () from /lib/tls/libc.so.6
#16 0x0804d6f1 in _start ()
(gdb)
Mon, 07 Aug 2006 21:09:23

Firebrand

[quote="Crimson Wizard":2304u0n4]I had already told this to Firebrand, but seems he didn't fix it yet. Yes, it's fixed now.
Wed, 16 Aug 2006 10:24:02

scen

Exit errors are fixed in 1.21.2 Remains the problem of MIDI music "scratch" on AMD64. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Wed, 16 Aug 2006 16:23:05

Crimson Wizard

And what about weapon sprites?
Wed, 16 Aug 2006 17:34:11

scen

[quote="Crimson Wizard":2tgutgmi]And what about weapon sprites? I've opened a new bug for this <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> , there are too much bug reports in this topic <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
Thu, 02 Nov 2006 13:02:48

scen

[quote="scen":1p1xr46x]Exit errors are fixed in 1.21.2 Remains the problem of MIDI music "scratch" on AMD64. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> This problem is resolved here: <!-- m --><a class="postlink" href="http://vavoom-engine.com/forums/viewtopic.php?t=910">http://vavoom-engine.com/forums/viewtopic.php?t=910</a><!-- m --> I suggest to close this "multi-bug" topic <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
Sun, 05 Nov 2006 19:54:50

Janis Legzdinsh

Fixed

Back to the Vavoom Forum Archives