Jump to content

Segfault


Recommended Posts

That is the log before i become my Segfault:

TIMER| msgbox/msgbox.xml: 2.99899 ms

Repath

snd_mgr.cpp(545): Assertion failed: "al_src_used < al_src_allocated"

udbg_bfd_init: loading symbols from /db/dev/oad/binaries/system/pyrogenesis_dbg.

Assertion failed: "al_src_used < al_src_allocated"

Location: snd_mgr.cpp:545 (al_src_free)

Call stack:

(0x9b70ae) ldbg.cpp:102 debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*)

(0x967da7) debug.cpp:319 debug_BuildErrorMessage(wchar_t const*, wchar_t const*, int, char const*, void*, wchar_t const*, ErrorMessageMem*)

(0x968249) debug.cpp:477 debug_DisplayError(wchar_t const*, unsigned long, void*, wchar_t const*, wchar_t const*, int, char const*, unsigned char*)

(0x9686b1) debug.cpp:565 debug_OnAssertionFailure(wchar_t const*, unsigned char*, wchar_t const*, int, char const*)

(0x9a0d09) snd_mgr.cpp:545 al_src_free

(0x9a2f80) snd_mgr.cpp:1645 vsrc_reclaim

(0x9a1cf8) snd_mgr.cpp:1200 VSrc_dtor

(0x993872) h_mgr.cpp:607 h_free_idx

(0x993ad3) h_mgr.cpp:653 h_free(long&, H_VTbl*)

(0x9a244f) snd_mgr.cpp:1315 snd_free(long&)

(0x9a2d7d) snd_mgr.cpp:1556 vsrc_update

(0x9a25c8) snd_mgr.cpp:1356 list_foreach

(0x9a3a59) snd_mgr.cpp:1993 snd_update(float const*, float const*, float const*)

(0x5b73c0) main.cpp:300 Frame

(0x5b7766) main.cpp:399 RunGameOrAtlas

(0x5b7812) main.cpp:415 main

errno = 0 (?)

OS error = ?

©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

c

snd_mgr.cpp(545): Assertion failed: "al_src_used < al_src_allocated"

Assertion failed: "al_src_used < al_src_allocated"

Location: snd_mgr.cpp:545 (al_src_free)

Call stack:

(0x9b70ae) ldbg.cpp:102 debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*)

(0x967da7) debug.cpp:319 debug_BuildErrorMessage(wchar_t const*, wchar_t const*, int, char const*, void*, wchar_t const*, ErrorMessageMem*)

(0x968249) debug.cpp:477 debug_DisplayError(wchar_t const*, unsigned long, void*, wchar_t const*, wchar_t const*, int, char const*, unsigned char*)

(0x9686b1) debug.cpp:565 debug_OnAssertionFailure(wchar_t const*, unsigned char*, wchar_t const*, int, char const*)

(0x9a0d09) snd_mgr.cpp:545 al_src_free

(0x9a2f80) snd_mgr.cpp:1645 vsrc_reclaim

(0x9a38cd) snd_mgr.cpp:1924 reclaim

(0x9a25c8) snd_mgr.cpp:1356 list_foreach

(0x9a39a9) snd_mgr.cpp:1956 vm_update

(0x9a3a35) snd_mgr.cpp:1990 snd_update(float const*, float const*, float const*)

(0x5b73c0) main.cpp:300 Frame

(0x5b7766) main.cpp:399 RunGameOrAtlas

(0x5b7812) main.cpp:415 main

(0x3dd501eb1d) /lib64/libc.so.6:0 __libc_start_main

(0x5b6999) none:0 _start

errno = 0 (?)

OS error = ?

©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

s

Speicherzugriffsfehler (Speicherabzug geschrieben)

[LinuxDonald@localhost system]$

Link to comment
Share on other sites

(current document)(0): TypeError: undefined is not a function

ERROR: JavaScript Error ((current document), line 0): TypeError: undefined is not a function

(current document)(0): TypeError: undefined is not a function

ERROR: JavaScript Error ((current document), line 0): TypeError: undefined is not a function

al_src_used=0 al_src_allocated=64

al_src_used=-1 al_src_allocated=64

snd_mgr.cpp(546): Assertion failed: "al_src_used < al_src_allocated"

udbg_bfd_init: loading symbols from /db/dev/oad/binaries/system/pyrogenesis_dbg.

Assertion failed: "al_src_used < al_src_allocated"

Location: snd_mgr.cpp:546 (al_src_free)

Call stack:

(0x9ca8ee) ldbg.cpp:102 debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*)

(0x97b5c7) debug.cpp:319 debug_BuildErrorMessage(wchar_t const*, wchar_t const*, int, char const*, void*, wchar_t const*, ErrorMessageMem*)

(0x97ba69) debug.cpp:477 debug_DisplayError(wchar_t const*, unsigned long, void*, wchar_t const*, wchar_t const*, int, char const*, unsigned char*)

(0x97bed1) debug.cpp:565 debug_OnAssertionFailure(wchar_t const*, unsigned char*, wchar_t const*, int, char const*)

(0x9b4549) snd_mgr.cpp:546 al_src_free

(0x9b67c0) snd_mgr.cpp:1646 vsrc_reclaim

(0x9b5538) snd_mgr.cpp:1201 VSrc_dtor

(0x9a7092) h_mgr.cpp:607 h_free_idx

(0x9a72f3) h_mgr.cpp:653 h_free(long&, H_VTbl*)

(0x9b5c8f) snd_mgr.cpp:1316 snd_free(long&)

(0x9b7125) snd_mgr.cpp:1927 reclaim

(0x9b5e08) snd_mgr.cpp:1357 list_foreach

(0x9b71e9) snd_mgr.cpp:1957 vm_update

(0x9b7275) snd_mgr.cpp:1991 snd_update(float const*, float const*, float const*)

(0x5cabe0) main.cpp:300 Frame

(0x5caf86) main.cpp:399 RunGameOrAtlas

errno = 0 (?)

OS error = ?

©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

d

Sleeping until debugger attaches.

Please wait.

GNU gdb (GDB) Fedora (7.0-13.fc12)

Copyright © 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 "x86_64-redhat-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

Attaching to process 3067

Reading symbols from /db/dev/oad/binaries/system/pyrogenesis_dbg...done.

Reading symbols from /usr/lib64/libenet-1.2.so...Reading symbols from /usr/lib/debug/usr/lib64/libenet-1.2.so.debug...done.

done.

Loaded symbols for /usr/lib64/libenet-1.2.so

Reading symbols from /usr/lib64/libfam.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libfam.so.0.0.0.debug...done.

done.

Loaded symbols for /usr/lib64/libfam.so.0

Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.11.so.debug...done.

done.

Loaded symbols for /lib64/librt.so.1

Reading symbols from /lib64/libz.so.1...Reading symbols from /usr/lib/debug/lib64/libz.so.1.2.3.debug...done.

done.

Loaded symbols for /lib64/libz.so.1

Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/lib64/libdl-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libdl.so.2

Reading symbols from /usr/lib64/nvidia/libGL.so.1...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/nvidia/libGL.so.1

Reading symbols from /usr/lib64/libGLU.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libGLU.so.1.3.070700.debug...done.

done.

Loaded symbols for /usr/lib64/libGLU.so.1

Reading symbols from /usr/lib64/libX11.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libX11.so.6.3.0.debug...done.

done.

Loaded symbols for /usr/lib64/libX11.so.6

Reading symbols from /usr/lib64/libjpeg.so.62...Reading symbols from /usr/lib/debug/usr/lib64/libjpeg.so.62.0.0.debug...done.

done.

Loaded symbols for /usr/lib64/libjpeg.so.62

Reading symbols from /usr/lib64/libpng12.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpng12.so.0.39.0.debug...done.

done.

Loaded symbols for /usr/lib64/libpng12.so.0

Reading symbols from /usr/lib64/libopenal.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libopenal.so.1.10.622.debug...done.

done.

Loaded symbols for /usr/lib64/libopenal.so.1

Reading symbols from /usr/lib64/libvorbisfile.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libvorbisfile.so.3.3.2.debug...done.

done.

Loaded symbols for /usr/lib64/libvorbisfile.so.3

Reading symbols from /usr/lib64/libboost_filesystem-mt.so.5...Reading symbols from /usr/lib/debug/usr/lib64/libboost_filesystem-mt.so.1.39.0.debug...done.

done.

Loaded symbols for /usr/lib64/libboost_filesystem-mt.so.5

Reading symbols from /usr/lib64/libboost_system-mt.so.5...Reading symbols from /usr/lib/debug/usr/lib64/libboost_system-mt.so.1.39.0.debug...done.

done.

Loaded symbols for /usr/lib64/libboost_system-mt.so.5

Reading symbols from /usr/lib64/libSDL-1.2.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libSDL-1.2.so.0.11.2.debug...done.

done.

Loaded symbols for /usr/lib64/libSDL-1.2.so.0

Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.11.so.debug...done.

[Thread debugging using libthread_db enabled]

[New Thread 0x7f46e94ea710 (LWP 3091)]

[New Thread 0x7f46e9eeb710 (LWP 3089)]

[New Thread 0x7f46eafc6710 (LWP 3088)]

[New Thread 0x7f46e7274710 (LWP 3086)]

done.

Loaded symbols for /lib64/libpthread.so.0

Reading symbols from /lib64/libnspr4.so...Reading symbols from /usr/lib/debug/lib64/libnspr4.so.debug...done.

done.

Loaded symbols for /lib64/libnspr4.so

Reading symbols from /usr/lib64/libxml2.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libxml2.so.2.7.6.debug...done.

done.

Loaded symbols for /usr/lib64/libxml2.so.2

Reading symbols from /usr/lib64/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libstdc++.so.6.0.13.debug...done.

done.

Loaded symbols for /usr/lib64/libstdc++.so.6

Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libm.so.6

Reading symbols from /lib64/libgcc_s.so.1...Reading symbols from /usr/lib/debug/lib64/libgcc_s-4.4.2-20091027.so.1.debug...done.

done.

Loaded symbols for /lib64/libgcc_s.so.1

Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.11.so.debug...done.

done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

Reading symbols from /usr/lib64/nvidia/libGLcore.so.1...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/nvidia/libGLcore.so.1

Reading symbols from /usr/lib64/nvidia/tls/libnvidia-tls.so.1...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/nvidia/tls/libnvidia-tls.so.1

Reading symbols from /usr/lib64/libXext.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libXext.so.6.4.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXext.so.6

Reading symbols from /usr/lib64/libxcb.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libxcb.so.1.1.0.debug...done.

done.

Loaded symbols for /usr/lib64/libxcb.so.1

Reading symbols from /usr/lib64/libvorbis.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libvorbis.so.0.4.3.debug...done.

done.

Loaded symbols for /usr/lib64/libvorbis.so.0

Reading symbols from /usr/lib64/libogg.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libogg.so.0.6.0.debug...done.

done.

Loaded symbols for /usr/lib64/libogg.so.0

Reading symbols from /usr/lib64/libXau.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libXau.so.6.0.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXau.so.6

Reading symbols from /usr/lib64/libpulse.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpulse.so.0.12.2.debug...done.

done.

Loaded symbols for /usr/lib64/libpulse.so.0

Reading symbols from /usr/lib64/libpulsecommon-0.9.21.so...Reading symbols from /usr/lib/debug/usr/lib64/libpulsecommon-0.9.21.so.debug...done.

done.

Loaded symbols for /usr/lib64/libpulsecommon-0.9.21.so

Reading symbols from /usr/lib64/libSM.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libSM.so.6.0.0.debug...done.

done.

Loaded symbols for /usr/lib64/libSM.so.6

Reading symbols from /usr/lib64/libICE.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libICE.so.6.3.0.debug...done.

done.

Loaded symbols for /usr/lib64/libICE.so.6

Reading symbols from /usr/lib64/libXtst.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libXtst.so.6.1.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXtst.so.6

Reading symbols from /lib64/libwrap.so.0...Reading symbols from /usr/lib/debug/lib64/libwrap.so.0.7.6.debug...done.

done.

Loaded symbols for /lib64/libwrap.so.0

Reading symbols from /usr/lib64/libsndfile.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libsndfile.so.1.0.20.debug...done.

done.

Loaded symbols for /usr/lib64/libsndfile.so.1

Reading symbols from /usr/lib64/libasyncns.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libasyncns.so.0.3.1.debug...done.

done.

Loaded symbols for /usr/lib64/libasyncns.so.0

Reading symbols from /lib64/libdbus-1.so.3...Reading symbols from /usr/lib/debug/lib64/libdbus-1.so.3.4.0.debug...done.

done.

Loaded symbols for /lib64/libdbus-1.so.3

Reading symbols from /lib64/libuuid.so.1...Reading symbols from /usr/lib/debug/lib64/libuuid.so.1.3.0.debug...done.

done.

Loaded symbols for /lib64/libuuid.so.1

Reading symbols from /usr/lib64/libXi.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libXi.so.6.1.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXi.so.6

Reading symbols from /lib64/libnsl.so.1...Reading symbols from /usr/lib/debug/lib64/libnsl-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libnsl.so.1

Reading symbols from /usr/lib64/libFLAC.so.8...Reading symbols from /usr/lib/debug/usr/lib64/libFLAC.so.8.2.0.debug...done.

done.

Loaded symbols for /usr/lib64/libFLAC.so.8

Reading symbols from /usr/lib64/libvorbisenc.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libvorbisenc.so.2.0.6.debug...done.

done.

Loaded symbols for /usr/lib64/libvorbisenc.so.2

Reading symbols from /lib64/libresolv.so.2...Reading symbols from /usr/lib/debug/lib64/libresolv-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libresolv.so.2

Reading symbols from /lib64/libcap-ng.so.0...Reading symbols from /usr/lib/debug/lib64/libcap-ng.so.0.0.0.debug...done.

done.

Loaded symbols for /lib64/libcap-ng.so.0

Reading symbols from /lib64/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_files-2.11.so.debug...done.

done.

Loaded symbols for /lib64/libnss_files.so.2

Reading symbols from /usr/lib64/libXrender.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libXrender.so.1.3.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXrender.so.1

Reading symbols from /usr/lib64/libXrandr.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libXrandr.so.2.2.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXrandr.so.2

Reading symbols from /usr/lib64/libXcursor.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libXcursor.so.1.0.2.debug...done.

done.

Loaded symbols for /usr/lib64/libXcursor.so.1

Reading symbols from /usr/lib64/libXfixes.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libXfixes.so.3.1.0.debug...done.

done.

Loaded symbols for /usr/lib64/libXfixes.so.3

Reading symbols from /lib64/libasound.so.2...Reading symbols from /usr/lib/debug/lib64/libasound.so.2.0.0.debug...done.

done.

Loaded symbols for /lib64/libasound.so.2

Reading symbols from /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so...Reading symbols from /usr/lib/debug/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so.debug...done.

done.

Loaded symbols for /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so

0x0000003dd50a473d in nanosleep () at ../sysdeps/unix/syscall-template.S:82

82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)

(gdb) bt

#0 0x0000003dd50a473d in nanosleep () at ../sysdeps/unix/syscall-template.S:82

#1 0x0000003dd50a45b0 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138

#2 0x00000000009d04cf in udbg_launch_debugger () at ../../../source/lib/sysdep/os/unix/udbg.cpp:69

#3 0x00000000009cfd76 in sys_display_error (

text=0x7f46e79ea000 L"Assertion failed: \"al_src_used < al_src_allocated\"\r\nLocation: snd_mgr.cpp:546 (al_src_free)\r\n\r\nCall stack:\r\n\r\n(0x9ca8ee) ldbg.cpp:102 debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*)\n(0"..., flags=6) at ../../../source/lib/sysdep/os/unix/unix.cpp:67

#4 0x000000000097b8a4 in CallDisplayError (

text=0x7f46e79ea000 L"Assertion failed: \"al_src_used < al_src_allocated\"\r\nLocation: snd_mgr.cpp:546 (al_src_free)\r\n\r\nCall stack:\r\n\r\n(0x9ca8ee) ldbg.cpp:102 debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*)\n(0"..., flags=6) at ../../../source/lib/debug.cpp:405

#5 0x000000000097ba8c in debug_DisplayError (description=0x19563f0 L"Assertion failed: \"al_src_used < al_src_allocated\"", flags=6, context=0x0,

lastFuncToSkip=0x5c806e8 L"debug_OnAssertionFailure", pathname=0xbd7448 L"../../../source/lib/res/sound/snd_mgr.cpp", line=546, func=0xbd8675 "al_src_free",

suppress=0xfb987f "") at ../../../source/lib/debug.cpp:480

#6 0x000000000097bed1 in debug_OnAssertionFailure (expr=0xbd79b8 L"al_src_used < al_src_allocated", suppress=0xfb987f "",

file=0xbd7448 L"../../../source/lib/res/sound/snd_mgr.cpp", line=546, func=0xbd8675 "al_src_free") at ../../../source/lib/debug.cpp:565

#7 0x00000000009b4549 in al_src_free (al_src=50) at ../../../source/lib/res/sound/snd_mgr.cpp:546

#8 0x00000000009b67c0 in vsrc_reclaim (vs=0x6481ef8) at ../../../source/lib/res/sound/snd_mgr.cpp:1645

#9 0x00000000009b5538 in VSrc_dtor (vs=0x6481ef8) at ../../../source/lib/res/sound/snd_mgr.cpp:1200

#10 0x00000000009a7092 in h_free_idx (idx=464, hd=0x6481ed0) at ../../../source/lib/res/h_mgr.cpp:605

#11 0x00000000009a72f3 in h_free (h=@0x6481ef8, type=0xf90960) at ../../../source/lib/res/h_mgr.cpp:652

#12 0x00000000009b5c8f in snd_free (hvs=@0x6481ef8) at ../../../source/lib/res/sound/snd_mgr.cpp:1315

#13 0x00000000009b7125 in reclaim (vs=0x6481ef8) at ../../../source/lib/res/sound/snd_mgr.cpp:1926

#14 0x00000000009b5e08 in list_foreach (cb=0x9b70e6 <reclaim(VSrc*)>, skip=64, end_idx=0) at ../../../source/lib/res/sound/snd_mgr.cpp:1361

#15 0x00000000009b71e9 in vm_update () at ../../../source/lib/res/sound/snd_mgr.cpp:1956

#16 0x00000000009b7275 in snd_update (pos=0x1d96b48, dir=0x1d96b38, up=0x7fff20300ea0) at ../../../source/lib/res/sound/snd_mgr.cpp:1988

#17 0x00000000005cabe0 in Frame () at ../../../source/main.cpp:300

#18 0x00000000005caf86 in RunGameOrAtlas (argc=1, argv=0x7fff20301068) at ../../../source/main.cpp:400

#19 0x00000000005cb032 in main (argc=1, argv=0x7fff20301068) at ../../../source/main.cpp:413

Current language: auto

The current source language is "auto; currently asm".

(gdb)

I hope that can you help better?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...