bugGnash - The GNU Flash player - Bugs: bug #22147, JPEG segfault

 
 

bug #22147: JPEG segfault

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Mon 28 Jan 2008 04:42:30 PM UTC  
 
Category: parserSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 28 Jan 2008 05:19:17 PM UTC, comment #1:

Argh, this is going to be a problem.
We use long_jump to handle jpeg errors, which seems to be
unable to do proper stack unwinding.

The backtrace as I see it:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225221232 (LWP 15980)]
0xb7a25488 in _Unwind_Resume@plt () from /home/strk/src/gnash/build/head/gtk_agg_gst_debugging/libbase/.libs/libgnashbase-cvs.so
(gdb) bt
#0 0xb7a25488 in _Unwind_Resume@plt () from /home/strk/src/gnash/build/head/gtk_agg_gst_debugging/libbase/.libs/libgnashbase-cvs.so
#1 0xb7a2e480 in image::read_swf_jpeg3 (in=0x8070c08) at /usr/include/c++/4.1.3/memory:259

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 28 Jan 2008 04:42:30 PM UTC, original submission:

This isn't a result of the parser changes. Attached file gives SIGSEGV:

#0 0x000000000001339d in ?? ()
#1 0x00002b8d27a072d5 in image::read_swf_jpeg3 (in=<value optimized out>)
at /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/memory:259
#2 0x00002b8d275f3ba5 in gnash::SWF::tag_loaders::define_bits_jpeg3_loader (
in=0x9d57d0, tag=<value optimized out>, m=0x9d81a0)
at swf/tag_loaders.cpp:481
#3 0x00002b8d276e70f6 in gnash::movie_def_impl::read_all_swf (this=0x9d81a0)
at movie_def_impl.cpp:780
#4 0x00002b8d2a891d5f in boost::function0<void, std::allocator<boost::function_base> >::operator() () from /usr/lib64/libboost_thread.so.1
#5 0x00002b8d2a891a0f in __cxa_pure_virtual ()
from /usr/lib64/libboost_thread.so.1
#6 0x00002b8d27c512f0 in start_thread () from /lib64/libpthread.so.0
#7 0x00002b8d29b6af9d in clone () from /lib64/libc.so.6

Benjamin Wolsey <bwy>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #14888:  snoopy_click.zzuf.s305.swf added by bwy (212KiB - application/x-shockwave-flash)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bwy (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Jan 2008 05:23:55 AM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 29 Jan 2008 09:23:52 PM UTCstrkCategoryNone=>parser
      StatusNone=>Ready For Test
      Assigned toNone=>strk
    Mon 28 Jan 2008 04:42:30 PM UTCbwyAttached File-=>Added snoopy_click.zzuf.s305.swf, #14888

    Back to the top


    Powered by Savane 3.1-cleanup1