bugGnash - The GNU Flash player - Bugs: bug #32538, SIGSEGV from...

 
 

bug #32538: SIGSEGV from sound_handler::fetchSamples()

Submitter:  Bastiaan Jacques <bjacques>
Submitted:  Fri 18 Feb 2011 07:21:01 PM UTC
   
 
Category:  sound-sdl Severity:  5 - Blocker
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  bjacques
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Feb 2011 08:00:59 AM UTC, comment #1: 

It seems better to me now; I haven't noticed any crashes since the fix.

Benjamin Wolsey <bwy>
Group Member
Fri 18 Feb 2011 07:21:01 PM UTC, original submission:  

This bug happens with both FFMPEG and Gstreamer so I'm assuming it is an SDL bug.

STR: gui/gnash http://download.omroep.nl/vpro/luisterpaal/new-luisterpaal/player.swf?list=/feeds/luisterpaalPlaylist?luisterpaalnr=44452648 -U http://3voor12.vpro.nl/speler/luisterpaal/44452648#luisterpaal.44452648

Play around with the buttons for a while. It may take up to five minutes to eventually crash.

FFMPEG:


#0  0x00e187f2 in std::_Rb_tree_increment (__x=0x706f7473) at ../../../../libstdc++-v3/src/tree.cc:65
#1  0x00e1884c in std::_Rb_tree_increment (__x=0x859bf90) at ../../../../libstdc++-v3/src/tree.cc:85
#2  0x0081d85b in std::_Rb_tree_const_iterator<gnash::sound::InputStream*>::operator++ (this=0xb73fb06c)
    at /usr/lib/gcc/i686-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:269
#3  0x0081ae19 in gnash::sound::sound_handler::fetchSamples (this=0x8161558, to=0x8321000, nSamples=2048)
    at /home/bastiaan/gnash/master/libsound/sound_handler.cpp:577
#4  0x008334b5 in gnash::sound::SDL_sound_handler::fetchSamples (this=0x8161558, to=0x8321000, nSamples=2048)
    at /home/bastiaan/gnash/master/libsound/sdl/sound_handler_sdl.cpp:231
#5  0x008335d0 in gnash::sound::SDL_sound_handler::sdl_audio_callback (udata=0x8161558, buf=
    0x8321000 "\217\345x\352!\361\343\377\323\371\347\fm\373\027\n#\377=\r#\004\325\032X\002\314\034", <incomplete sequence \307>, bufLenIn=4096) at /home/bastiaan/gnash/master/libsound/sdl/sound_handler_sdl.cpp:270
#6  0x02817fc5 in SDL_RunAudio (audiop=0x8375eb0) at src/audio/SDL_audio.c:198
#7  0x02820b3f in SDL_RunThread (data=0x82bb408) at src/thread/SDL_thread.c:204
#8  0x0286c2be in RunThread (data=0x82bb408) at src/thread/pthread/SDL_systhread.c:47
#9  0x00116e99 in start_thread (arg=0xb73fbb70) at pthread_create.c:301
#10 0x00f7ed2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133


Gstreamer:

#0  0x00e187f2 in std::_Rb_tree_increment (__x=0x706f7473) at ../../../../libstdc++-v3/src/tree.cc:65
#1  0x00e1884c in std::_Rb_tree_increment (__x=0x8e204c0) at ../../../../libstdc++-v3/src/tree.cc:85
#2  0x0081d85b in std::_Rb_tree_const_iterator<gnash::sound::InputStream*>::operator++ (this=0xb73eb06c)
    at /usr/lib/gcc/i686-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:269
#3  0x0081ae19 in gnash::sound::sound_handler::fetchSamples (this=0x8161558, to=0x8598300, nSamples=2048)
    at /home/bastiaan/gnash/master/libsound/sound_handler.cpp:577
#4  0x008334b5 in gnash::sound::SDL_sound_handler::fetchSamples (this=0x8161558, to=0x8598300, nSamples=2048)
    at /home/bastiaan/gnash/master/libsound/sdl/sound_handler_sdl.cpp:231
#5  0x008335d0 in gnash::sound::SDL_sound_handler::sdl_audio_callback (udata=0x8161558, buf=
    0x8598300 "U\324\357ө\321\f\317\032\311\071ȖǤ\310\310\304C\320r\263Yρ\253\066\270~\252\065\225\205\251\372\202\226\244\026\203\n\235&\215\236\232m\216\247\244\251\214\031\254O\224\255\261\233\241\217\274\031\250&\314\346\250\317\327\360\260zސ\304M\354$۲\b#\356j&\030\377\236\060\241\016\035%\304\030\321\024D\033n\v\264\027\064\004\300\017\004\373\327\a\311\370}\t\300\004R\030\250\024+(\026\032#+\252\030h&T\037k*\032\060\363\070\262>\272C\200F\233D\204OtD\230[pG\364awFlb;B\212j\352Gew\303X|x\245` u\027T\273oSFRo*O\227s\211g\273u@p\342s\027l"...,
    bufLenIn=4096) at /home/bastiaan/gnash/master/libsound/sdl/sound_handler_sdl.cpp:270
#6  0x02817fc5 in SDL_RunAudio (audiop=0x8375380) at src/audio/SDL_audio.c:198
#7  0x02820b3f in SDL_RunThread (data=0x82e7d30) at src/thread/SDL_thread.c:204
#8  0x0286c2be in RunThread (data=0x82e7d30) at src/thread/pthread/SDL_systhread.c:47
#9  0x00116e99 in start_thread (arg=0xb73ebb70) at pthread_create.c:301
#10 0x00f7ed2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133


Bastiaan Jacques <bjacques>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by bjacques (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-02 bwy Assigned toNone bjacques
    2011-02-24 bjacques StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2011-02-18 bjacques StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code