bugGnash - The GNU Flash player - Bugs: bug #24581, plugin segfaults with Gdk-CRITICAL...

 
 

bug #24581: plugin segfaults with Gdk-CRITICAL failure

Submitted by:  Dongxu Li <butdiene>
Submitted on:  Thu 16 Oct 2008 09:28:52 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 15 Mar 2009 05:00:47 PM UTC, comment #5:

A recent segfault in plugin was fixed see bug #24653
Test for this is welcome, or I'd close this.

Sandro Santilli <strk>
Project Member
Thu 30 Oct 2008 11:02:06 AM UTC, comment #4:

Is patch provided in bug #24692 of any help ?

Sandro Santilli <strk>
Project Member
Thu 30 Oct 2008 10:23:28 AM UTC, comment #3:

this happens now all the time

gnash is built with --disable-mit-shm

$ gnash --version
Gnash trunk

Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.

Build options trunk
Target:
Renderer: agg - GUI: GTK - Media handler: ffmpeg
Configured with: --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-mit-shm --disable-cygnal --disable-docbook --enable-ghelp --enable-npapi --disable-kparts --disable-i810-lod-bias --enable-gui=gtk --with-npapi-plugindir=/opt/netscape/plugins --enable-renderer=agg --enable-media=ffmpeg --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
CXXFLAGS: -O3 -march=native -fomit-frame-pointer -fexpensive-optimizations -pipe -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden
Built against ffmpeg version: Lavc52.0.0

Core was generated by `/usr/bin/gtk-gnash -x 54527357 -j 480 -k 385 -u http://s.ytimg.com/yt/swf/watch'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000042e1b1 in gnash::Gui::stop ()
(gdb) backtrace full
#0 0x000000000042e1b1 in gnash::Gui::stop ()
No symbol table info available.
#1 0x0000000000437f6c in gnash::Player::init_gui ()
No symbol table info available.
#2 0x0000000000439112 in gnash::Player::run ()
No symbol table info available.
#3 0x000000000042427d in main ()
No symbol table info available.
(gdb)

Dongxu Li <butdiene>
Fri 24 Oct 2008 01:18:54 PM UTC, comment #2:

get the source file folder for gdb:

(gdb) backtrace full
#0 0x00007f9736c62eeb in write () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007f9715c8ca7b in nsPluginInstance::Write (this=0x3107b20, len=1024,
buffer=0x33d7010) at plugin.cpp:722
No locals.
#2 0x00007f9715c90a05 in NPP_Write (instance=0x3107520, stream=0x24c3170,
offset=19825, len=1024, buffer=0x33d7010) at mozilla-sdk/npp_gate.cpp:148
plugin = (nsPluginInstanceBase *) 0x3107b20
rv = 0
#3 0x00007f9715ea64d9 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libgkplugin.so
No symbol table info available.
#4 0x00007f9715eae6db in ?? ()
from /usr/lib64/xulrunner-1.9/components/libgkplugin.so
No symbol table info available.
#5 0x00007f9727f2007b in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#6 0x00007f9727f661ae in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#7 0x00007f9727f0bc10 in ?? ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#8 0x00007f9727f0bcf3 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#9 0x00007f9735cd8f88 in ?? () from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#10 0x00007f9735ceb31a in ?? () from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#11 0x00007f9735cc0b02 in NS_ProcessNextEvent_P ()
from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#12 0x00007f97271d2a01 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libwidget_gtk2.so
No symbol table info available.
#13 0x00007f97262d59e9 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libtoolkitcomps.so
No symbol table info available.
#14 0x00007f972f2951b3 in XRE_main () from /usr/lib64/xulrunner-1.9/libxul.so
No symbol table info available.
#15 0x00000000004015c4 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#16 0x00007f9735f551d6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#17 0x0000000000401109 in ?? ()
No symbol table info available.
#18 0x00007fff3f08e928 in ?? ()
No symbol table info available.
#19 0x000000000000001c in ?? ()
No symbol table info available.
#20 0x0000000000000002 in ?? ()
No symbol table info available.
#21 0x00007fff3f08fcb1 in ?? ()
No symbol table info available.
#22 0x0000000000000000 in ?? ()
No symbol table info available.

Dongxu Li <butdiene>
Fri 24 Oct 2008 08:34:14 AM UTC, comment #1:

backtrace of firefox:

(gdb) backtrace full
#0 0x00007ff22b6b6eeb in write () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007ff21042fa7b in nsPluginInstance::Write ()
from /opt/netscape/plugins/libgnashplugin.so
No symbol table info available.
#2 0x00007ff210433a05 in NPP_Write ()
from /opt/netscape/plugins/libgnashplugin.so
No symbol table info available.
#3 0x00007ff2106494d9 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libgkplugin.so
No symbol table info available.
#4 0x00007ff2106516db in ?? ()
from /usr/lib64/xulrunner-1.9/components/libgkplugin.so
No symbol table info available.
#5 0x00007ff21c97407b in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#6 0x00007ff21c9ba1ae in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#7 0x00007ff21c95fc10 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8 0x00007ff21c95fcf3 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libnecko.so
No symbol table info available.
#9 0x00007ff22a72cf88 in ?? () from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#10 0x00007ff22a73f31a in ?? () from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#11 0x00007ff22a714b02 in NS_ProcessNextEvent_P ()
from /usr/lib64/xulrunner-1.9/libxpcom_core.so
No symbol table info available.
#12 0x00007ff21bc26a01 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libwidget_gtk2.so
No symbol table info available.
#13 0x00007ff21ad299e9 in ?? ()
from /usr/lib64/xulrunner-1.9/components/libtoolkitcomps.so
No symbol table info available.
#14 0x00007ff223ce91b3 in XRE_main () from /usr/lib64/xulrunner-1.9/libxul.so
No symbol table info available.
#15 0x00000000004015c4 in ?? ()
No symbol table info available.
#16 0x00007ff22a9a91d6 in __libc_start_main () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#17 0x0000000000401109 in ?? ()
No symbol table info available.
#18 0x00007fff33ae3388 in ?? ()
No symbol table info available.
#19 0x000000000000001c in ?? ()
No symbol table info available.
#20 0x0000000000000001 in ?? ()
No symbol table info available.
#21 0x00007fff33ae3cbd in ?? ()
No symbol table info available.
#22 0x0000000000000000 in ?? ()
No symbol table info available.

Dongxu Li <butdiene>
Thu 16 Oct 2008 09:28:52 PM UTC, original submission:

error messages:

(gtk-gnash:24738): Gdk-CRITICAL **: gdk_drawable_get_visual: assertion `GDK_IS_DRAWABLE (drawable)' failed

(gtk-gnash:24738): Gdk-CRITICAL **: gdk_x11_visual_get_xvisual: assertion `visual != NULL' failed

gnash --version

Build options trunk
Target:
Renderer: agg - GUI: GTK - Media handler: ffmpeg
Configured with: --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-cygnal --disable-docbook --enable-ghelp --enable-npapi --disable-kparts --disable-i810-lod-bias --enable-mit-shm --enable-gui=gtk --with-npapi-plugindir=/opt/netscape/plugins --enable-renderer=agg --enable-media=ffmpeg --with-ffmpeg-incl=/usr/include --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
CXXFLAGS: -O3 -march=native -fomit-frame-pointer -fexpensive-optimizations -pipe -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused

Dongxu Li <butdiene>

 

(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 bwy (Updated the item)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by butdiene (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
    Wed 20 May 2009 12:46:38 PM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 15 Mar 2009 05:00:47 PM UTCstrkStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1