Bug 14934

Summary: Midori segfaults when playing videos on Youtube
Product: Mageia Reporter: Rémi Verschelde <rverschelde>
Component: RPM PackagesAssignee: Cesar Vargas <cvargas>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: cvargas, jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=13791
Whiteboard: MGA5TOO
Source RPM: midori-0.5.9-1.mga5 CVE:
Status comment:
Attachments: gdb backtrace from "midori -g"

Description Rémi Verschelde 2015-01-02 22:25:47 CET
The segfault can be reproduced when watching videos using Youtube's embedded player, e.g.: https://www.youtube.com/watch?v=dIK8ETqag7Q

With all debuginfo packages installed, the backtrace is only:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff28ea7ee in sweep_line_delete (rectangle=0x7fffffff7008, sweep=0x7fffffff6d20) at cairo-bentley-ottmann-rectangular.c:567
567         if (sweep->fill_rule == CAIRO_FILL_RULE_WINDING &&



Reproducible: 

Steps to Reproduce:
Rémi Verschelde 2015-01-02 22:27:00 CET

CC: (none) => cvargas, jani.valimaa

Comment 1 Jani Välimaa 2015-01-03 08:55:47 CET
Can someone reproduce the crash on i586 as I can't?
Comment 2 Jani Välimaa 2015-01-13 14:40:45 CET
Does the crash still happen with new webkit 2.4.8?
Comment 3 Rémi Verschelde 2015-01-13 14:47:50 CET
> Does the crash still happen with new webkit 2.4.8?

Yes, it takes maybe a couple more seconds before it segfaults, but it still does. Surprisingly though, on Youtube it does not segfault when ad videos play, only when the actual requested content is displayed.
Comment 4 Jani Välimaa 2015-01-13 15:14:19 CET
Check about:version and video formats midori supports. BTW, you can also start midori with -g switch to run it with gdb.
Comment 5 Rémi Verschelde 2015-01-13 15:46:28 CET
In about:version:

Command line midori
Midori 0.5.9 ((null)) Midori
GTK+ 2.24.25 (2.24.25)	Glib 2.42.1 (2.42.1)
WebKitGTK+ 2.4.7 (2.4.8)	libSoup 2.48.1
cairo 1.12.16 (1.12.16)	libnotify 0.7.6
gcr No	granite No
Platform X11; Linux x86_64
Identification Mozilla/5.0 (X11; Linux) AppleWebKit/538.15 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/538.15 Midori/0.5
Video Formats H264 [x]   Ogg Theora [x]   WebM [x]

Gnome Shell Integration	This plugin provides integration with Gnome Shell for live extension enabling and disabling. It can be used only by extensions.gnome.org
IcedTea-Web Plugin (using IcedTea-Web 1.5.2 (mageia-1.mga5-x86_64))	The IcedTea-Web Plugin executes Java applets.
Shockwave Flash	Shockwave Flash 16.0 r0
Shockwave Flash	Shockwave Flash 11.2 r202

(I have pepperflash installed, hence the Flash 16.0, but when I filed this bug report I did not have pepperflash on my system).
Comment 6 Rémi Verschelde 2015-01-13 15:47:19 CET
Created attachment 5812 [details]
gdb backtrace from "midori -g"

Here is the more verbose backtrace with the -g switch.
Samuel Verschelde 2015-05-21 11:54:24 CEST

Assignee: bugsquad => cvargas

Samuel Verschelde 2015-05-21 11:54:41 CEST

Whiteboard: (none) => MGA5TOO

Samuel Verschelde 2015-05-21 11:55:12 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=13791

Comment 7 Jani Välimaa 2015-05-21 19:27:39 CEST
Is this still valid? Can't reproduce on current x86_64 cauldron.
Comment 8 Rémi Verschelde 2016-01-16 12:47:54 CET
I tried again with midori from Mageia 5 and did not get a segfault, I'll close it as worksforme.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME