shadowm

Untitled

Jun 2nd, 2015
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. shadowm@nanacore:~/src% gcc -o mix_test_sdl mix_test_sdl.cpp -I/usr/include/SDL -lSDL_mixer -lSDL -O0 -ggdb3
  2. shadowm@nanacore:~/src% LD_LIBRARY_PATH=$HOME/local/mix-dbg gdb ./mix_test_sdl
  3. GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
  4. Copyright (C) 2014 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  8. and "show warranty" for details.
  9. This GDB was configured as "x86_64-linux-gnu".
  10. Type "show configuration" for configuration details.
  11. For bug reporting instructions, please see:
  12. <http://www.gnu.org/software/gdb/bugs/>.
  13. Find the GDB manual and other documentation resources online at:
  14. <http://www.gnu.org/software/gdb/documentation/>.
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from ./mix_test_sdl...done.
  18. (gdb) run
  19. Starting program: /home/shadowm/src/mix_test_sdl
  20. [Thread debugging using libthread_db enabled]
  21. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  22. 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).
  23.  
  24. 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).
  25.  
  26. [New Thread 0x7fffee504700 (LWP 27955)]
  27. Mix_FadeInMusic()
  28. Mix_FadeOutMusic()
  29. Mix_FadeInMusic()
  30. Mix_FadeOutMusic()
  31. Mix_FadeInMusic()
  32.  
  33. Program received signal SIGSEGV, Segmentation fault.
  34. 0x00007ffff3981c13 in ogg_page_serialno () from /usr/lib/x86_64-linux-gnu/libogg.so.0
  35. (gdb) bt
  36. #0 0x00007ffff3981c13 in ogg_page_serialno () from /usr/lib/x86_64-linux-gnu/libogg.so.0
  37. #1 0x00007ffff6e20b1d in ov_pcm_seek_page (vf=vf@entry=0x6c4e58, pos=pos@entry=0) at vorbisfile.c:1554
  38. #2 0x00007ffff6e20d7c in ov_pcm_seek (vf=0x6c4e58, pos=0) at vorbisfile.c:1674
  39. #3 0x00007ffff7b97560 in music_internal_position (position=<optimized out>) at music.c:1057
  40. #4 0x00007ffff7b97625 in music_internal_play (music=music@entry=0x6c31d0, position=position@entry=0) at music.c:977
  41. #5 0x00007ffff7b98229 in Mix_FadeInMusicPos (music=0x6c31d0, loops=0, ms=<optimized out>, position=0) at music.c:1025
  42. #6 0x0000000000400c6d in main () at mix_test_sdl.cpp:81
Advertisement
Add Comment
Please, Sign In to add comment