Bug 17521

Summary: segmentation fault with midori (webkit)
Product: swfdec Reporter: Stéphane Marguet <stempubuntu>
Component: pluginAssignee: swfdec ml <swfdec>
Status: RESOLVED NOTOURBUG QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stéphane Marguet 2008-09-10 06:42:03 UTC
Using midori 0.2.1 on Ubuntu 8.10 (developpment) and Swfdec 0.8.0.
On Video Google or Youtube the message is :

SWFDEC: ERROR: swfdec_stream.c(373): swfdec_stream_errorv: error in stream for unknown url: Network error


then core dump
Comment 1 Riccardo Magliocchetti 2008-09-10 09:44:03 UTC
Which version of webkit gtk are you using? Latest time i've tried with 1.0.1 i think i was getting https://bugs.webkit.org/show_bug.cgi?id=19309. See my trace at https://bugs.freedesktop.org/show_bug.cgi?id=16717#c1.
Comment 2 Stéphane Marguet 2008-09-10 09:57:19 UTC
I'm using webkit r36283 from this week.
It was working with swfdec 0.7.4.
Comment 3 Riccardo Magliocchetti 2008-09-10 11:56:46 UTC
Ok, this is not the pdata being null but window->ws_info. Do you have the same stack trace?

[Switching to Thread 0xb57cd720 (LWP 7846)]
0xb4bdf742 in plugin_set_window (instance=0xb4c06820, window=0xb4c06828)
    at plugin.c:398
398	    plugin_x11_setup_windowed (instance->pdata, (Window) window->window, 
(gdb) bt 1 full
#0  0xb4bdf742 in plugin_set_window (instance=0xb4c06820, window=0xb4c06828)
    at plugin.c:398
No locals.
(More stack frames follow...)
(gdb) print window
$1 = (NPWindow *) 0xb4c06828
(gdb) print instance->pdata
$2 = (void *) 0x9d86000
(gdb) print window->ws_info
$3 = (void *) 0x0
(gdb) print window->ws_info->visual
Attempt to dereference a generic pointer.
Comment 4 Stéphane Marguet 2008-09-10 12:09:53 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5780720 (LWP 15064)]
0xb32be3f2 in ?? () from /usr/lib/firefox/plugins/flashplugin-alternative.so
(gdb) bt 1 full
#0  0xb32be3f2 in ?? () from /usr/lib/firefox/plugins/flashplugin-alternative.so
No symbol table info available.
(More stack frames follow...)

I'm sorry I don't understand gdb logs but I guess there is no informations available there even if libswfdec-0.8-1-dbg is installed :(
Do I need a swfdec-mozilla debugging package ?
Comment 5 Riccardo Magliocchetti 2008-09-10 12:13:25 UTC
(In reply to comment #4)
> Do I need a swfdec-mozilla debugging package ?

yes, it's segfaulting in the plugin.

Comment 6 Riccardo Magliocchetti 2008-09-11 05:24:28 UTC
Same happens with latest git of midori and webkit r36309. Webkit bug filed there:
https://bugs.webkit.org/show_bug.cgi?id=20779
Comment 7 Riccardo Magliocchetti 2008-09-30 06:01:06 UTC
Here's another one:
https://bugs.webkit.org/show_bug.cgi?id=21240
Comment 8 Riccardo Magliocchetti 2008-10-16 01:18:48 UTC
Both patches are landed in webkit svn, i'm updating and compiling right now. If it works fine fine out of the box i'm closing this as NOTOURBUG.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.