Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shadowm@nanacore:~/src% gcc -o mix_test_sdl mix_test_sdl.cpp -I/usr/include/SDL -lSDL_mixer -lSDL -O0 -ggdb3
- shadowm@nanacore:~/src% LD_LIBRARY_PATH=$HOME/local/mix-dbg gdb ./mix_test_sdl
- GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
- Copyright (C) 2014 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-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./mix_test_sdl...done.
- (gdb) run
- Starting program: /home/shadowm/src/mix_test_sdl
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- warning: the debug information found in "/usr/lib/debug//usr/lib/x86_64-linux-gnu/libogg.so.0.8.2" does not match "/usr/lib/x86_64-linux-gnu/libogg.so.0" (CRC mismatch).
- warning: the debug information found in "/usr/lib/debug/usr/lib/x86_64-linux-gnu/libogg.so.0.8.2" does not match "/usr/lib/x86_64-linux-gnu/libogg.so.0" (CRC mismatch).
- [New Thread 0x7fffee504700 (LWP 27955)]
- Mix_FadeInMusic()
- Mix_FadeOutMusic()
- Mix_FadeInMusic()
- Mix_FadeOutMusic()
- Mix_FadeInMusic()
- Program received signal SIGSEGV, Segmentation fault.
- 0x00007ffff3981c13 in ogg_page_serialno () from /usr/lib/x86_64-linux-gnu/libogg.so.0
- (gdb) bt
- #0 0x00007ffff3981c13 in ogg_page_serialno () from /usr/lib/x86_64-linux-gnu/libogg.so.0
- #1 0x00007ffff6e20b1d in ov_pcm_seek_page (vf=vf@entry=0x6c4e58, pos=pos@entry=0) at vorbisfile.c:1554
- #2 0x00007ffff6e20d7c in ov_pcm_seek (vf=0x6c4e58, pos=0) at vorbisfile.c:1674
- #3 0x00007ffff7b97560 in music_internal_position (position=<optimized out>) at music.c:1057
- #4 0x00007ffff7b97625 in music_internal_play (music=music@entry=0x6c31d0, position=position@entry=0) at music.c:977
- #5 0x00007ffff7b98229 in Mix_FadeInMusicPos (music=0x6c31d0, loops=0, ms=<optimized out>, position=0) at music.c:1025
- #6 0x0000000000400c6d in main () at mix_test_sdl.cpp:81
Advertisement
Add Comment
Please, Sign In to add comment