bugGnash - The GNU Flash player - Bugs: bug #19440, Segfault in FLVParser

 
 

bug #19440: Segfault in FLVParser

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 28 Mar 2007 08:44:27 PM UTC  
 
Category: videoSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Tomas Groth <tgc>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Mar 2007 07:16:31 AM UTC, comment #2:

The segfault seems gone.

Sandro Santilli <strk>
Project Member
Wed 28 Mar 2007 10:23:15 PM UTC, comment #1:

I just committed a patch - i didn't properly check for things to exist before i used them...

Tomas Groth <tgc>In charge of this item.
Wed 28 Mar 2007 08:44:27 PM UTC, original submission:

This is player2.swf again (youtube) played with -va (probably
timing related, as -v alone doesn't trigger this) and following
configuration:

Renderer: agg GUI: gtk Sound handler: gst Decoder: none

These are the gst-related errors I get:

(<unknown>:815): GStreamer-CRITICAL **: gst_element_seek: assertion `GST_IS_ELEMENT (element)' failed

(<unknown>:815): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

And this is the backtrace:

#0 0xb72e5e84 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb73eea8b in boost::mutex::do_lock () from /usr/lib/libboost_thread-gcc-mt-1_33_1.so.1.33.1
#2 0xb78776e7 in boost::detail::thread::lock_ops<boost::mutex>::lock (m=@0x207c205e) at lock.hpp:38
#3 0xb7877771 in boost::detail::thread::scoped_lock<boost::mutex>::lock (this=0xbf983698) at lock.hpp:81
#4 0xb78777c4 in scoped_lock (this=0xbf983698, mx=@0x207c205e, initially_locked=true) at lock.hpp:71
#5 0xb76644f6 in FLVParser::seek (this=0x207c2022, time=0) at /home/strk/src/gnash/gnash-head/libbase/FLVParser.cpp:386
#6 0xb793797a in gnash::NetStreamGst::seek (this=0x837a550, pos=nan(0x8000000000000)) at /home/strk/src/gnash/gnash-head/server/asobj/NetStreamGst.cpp:543
#7 0xb7910b87 in netstream_seek (fn=@0xbf9837d4) at /home/strk/src/gnash/gnash-head/server/asobj/NetStream.cpp:141
#8 0xb78372a5 in gnash::builtin_function::operator() (this=0x82518e8, fn=@0xbf9837d4) at builtin_function.h:64
#9 0xb76c4131 in gnash::call_method (method=@0xbf9838e0, env=0x820d96c, this_ptr=0x837a550, nargs=1, first_arg_bottom_index=12)
at /home/strk/src/gnash/gnash-head/server/vm/action.cpp:236
#10 0xb76b1332 in gnash::SWF::SWFHandlers::ActionCallMethod (thread=@0xbf983ac8) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:2759
#11 0xb769aa68 in gnash::SWF::ActionHandler::execute (this=0x8053068, thread=@0xbf983ac8) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:169
#12 0xb769db45 in gnash::SWF::SWFHandlers::execute (this=0xb76d72ac, type=gnash::SWF::ACTION_CALLMETHOD, thread=@0xbf983ac8)
at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:450
#13 0xb76bec31 in gnash::ActionExec::operator() (this=0xbf983ac8) at /home/strk/src/gnash/gnash-head/server/vm/ActionExec.cpp:200
#14 0xb78894c9 in gnash::swf_function::operator() (this=0x82aec80, fn=@0xbf983ca4) at /home/strk/src/gnash/gnash-head/server/swf_function.cpp:330
#15 0xb76c4131 in gnash::call_method (method=@0xbf983db0, env=0x820d96c, this_ptr=0x82b6a40, nargs=1, first_arg_bottom_index=8)
at /home/strk/src/gnash/gnash-head/server/vm/action.cpp:236
#16 0xb76b1332 in gnash::SWF::SWFHandlers::ActionCallMethod (thread=@0xbf983f98) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:2759
#17 0xb769aa68 in gnash::SWF::ActionHandler::execute (this=0x8053068, thread=@0xbf983f98) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:169
#18 0xb769db45 in gnash::SWF::SWFHandlers::execute (this=0xb76d72ac, type=gnash::SWF::ACTION_CALLMETHOD, thread=@0xbf983f98)
at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:450
#19 0xb76bec31 in gnash::ActionExec::operator() (this=0xbf983f98) at /home/strk/src/gnash/gnash-head/server/vm/ActionExec.cpp:200
#20 0xb78894c9 in gnash::swf_function::operator() (this=0x82ab8d8, fn=@0xbf984174) at /home/strk/src/gnash/gnash-head/server/swf_function.cpp:330
#21 0xb76c4131 in gnash::call_method (method=@0xbf984280, env=0x820d96c, this_ptr=0x82b6a40, nargs=5, first_arg_bottom_index=4)
at /home/strk/src/gnash/gnash-head/server/vm/action.cpp:236
#22 0xb76b1332 in gnash::SWF::SWFHandlers::ActionCallMethod (thread=@0xbf984460) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:2759
#23 0xb769aa68 in gnash::SWF::ActionHandler::execute (this=0x8053068, thread=@0xbf984460) at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:169
#24 0xb769db45 in gnash::SWF::SWFHandlers::execute (this=0xb76d72ac, type=gnash::SWF::ACTION_CALLMETHOD, thread=@0xbf984460)
at /home/strk/src/gnash/gnash-head/server/vm/ASHandlers.cpp:450
#25 0xb76bec31 in gnash::ActionExec::operator() (this=0xbf984460) at /home/strk/src/gnash/gnash-head/server/vm/ActionExec.cpp:200
#26 0xb786efc6 in gnash::sprite_instance::execute_action (this=0x820d860, ab=@0x828903c) at /home/strk/src/gnash/gnash-head/server/sprite_instance.cpp:2781
#27 0xb786f2d3 in gnash::sprite_instance::execute_actions (this=0x820d860, action_list=@0x820d93c)
at /home/strk/src/gnash/gnash-head/server/sprite_instance.cpp:109
#28 0xb786f8a3 in gnash::sprite_instance::do_actions (this=0x820d860) at /home/strk/src/gnash/gnash-head/server/sprite_instance.cpp:1953

Sandro Santilli <strk>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Mar 2007 07:16:31 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Mar 2007 10:23:14 PM UTCtgcStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1