Khvalovsky / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

1.0.6 crashes on trailers.apple.com #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build and install gnome-mplayer/gecko-mediaplayer/libgmk from svn (or 1.0.6 
tarballs or install RPMs from packman repo). 
2. Open any trailer from  trailers.apple.com in Firefox 11 or Chrome 18
3.

What is the expected output? What do you see instead?
Expected: Gnome-mplayer starts, loads the trailer and begins playback.
Actual: Gnome-mplayer starts and seems to disappear immediately, browser says 
"Quicktime plugin crashed". Syslog contains a line like below for each 
attempted trailer playback:

[ 9201.265071] gnome-mplayer[17795]: segfault at 1 ip 00007f4189c8ce6d sp 
00007fff0b1232c0 error 4 in libglib-2.0.so.0.3000.1[7f4189c27000+f6000]

What version of the product are you using? On what operating system?
1.0.6 compiled from sources on Firefox 8/Chrome 18 on openSUSE 12.1 for x86_64

Please provide any additional information below.

Original issue reported on code.google.com by vkr...@gmail.com on 12 Apr 2012 at 10:09

GoogleCodeExporter commented 8 years ago
Can you give a specific site as it works with the Thor site. 

Original comment by kdeko...@gmail.com on 12 Apr 2012 at 10:13

Attachments:

GoogleCodeExporter commented 8 years ago
Open 
http://trailers.apple.com/trailers/independent/warriorsoftherainbowseediqbale/ 
and select the any of the trailers.

Original comment by vkr...@gmail.com on 12 Apr 2012 at 10:18

GoogleCodeExporter commented 8 years ago
That site works for me as well. Can you perhaps provide a better backtrace?

Original comment by kdeko...@gmail.com on 12 Apr 2012 at 10:48

Attachments:

GoogleCodeExporter commented 8 years ago
How can I do that? I mean gnome-player is started by the browser and the 
crashes, what to I attach to?

Original comment by vkr...@gmail.com on 13 Apr 2012 at 6:57

GoogleCodeExporter commented 8 years ago
Ok, I've set core size ulimit to unlimited, and got a core file from 
gnome-mplayer  with the following stack trace:

Core was generated by `/usr/bin/gnome-mplayer --controlid=44825'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fc7f52a0e6d in g_ascii_strncasecmp (s1=0x1 <Address 0x1 out of 
bounds>, s2=0x439da2 "dvd://", n=6) at gstrfuncs.c:2044
2044    gstrfuncs.c: No such file or directory.
        in gstrfuncs.c
(gdb) bt
#0  0x00007fc7f52a0e6d in g_ascii_strncasecmp (s1=0x1 <Address 0x1 out of 
bounds>, s2=0x439da2 "dvd://", n=6) at gstrfuncs.c:2044
#1  0x000000000042f95d in device_name (filename=0x1 <Address 0x1 out of 
bounds>) at support.c:972
#2  0x000000000042fa78 in streaming_media (uri=0x1 <Address 0x1 out of bounds>) 
at support.c:916
#3  0x000000000041ca15 in set_progress_value (data=0x64e950) at gui.c:640
#4  0x00007fc7f528258d in g_main_dispatch (context=0x6b37e0) at gmain.c:2425
#5  g_main_context_dispatch (context=0x6b37e0) at gmain.c:2995
#6  0x00007fc7f5282d88 in g_main_context_iterate (context=0x6b37e0, 
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#7  0x00007fc7f52832c2 in g_main_loop_run (loop=0xc6d630) at gmain.c:3281
#8  0x00007fc7f793550d in gtk_main () at gtkmain.c:1362
#9  0x000000000040fda8 in main (argc=1, argv=0x7fffc03cdcd8) at main.c:1335

Original comment by vkr...@gmail.com on 13 Apr 2012 at 7:37

GoogleCodeExporter commented 8 years ago
Also, I replaced the gnome-mplayer executable with the following script in 
order to run gnome-mplayer under valgrind. Valgrind logs are attached.
#!/bin/sh
exec valgrind /usr/bin/gnome-mplayer.x $* >/tmp/gnome_mplayer$$.log 2>&1

Original comment by vkr...@gmail.com on 13 Apr 2012 at 7:45

Attachments:

GoogleCodeExporter commented 8 years ago
Can you try changing line 607 in gui.c from

gchar *iterurl;

to

gchar *iterurl = NULL;

And see if that fixes your problem. I believe the issue is due to the usage of 
an uninitialized pointer.

Original comment by kdeko...@gmail.com on 13 Apr 2012 at 12:51

GoogleCodeExporter commented 8 years ago
Yep, that does it. Thank you very much!

Original comment by vkr...@gmail.com on 13 Apr 2012 at 10:24

GoogleCodeExporter commented 8 years ago
Change committed to SVN, thanks for the report.

Original comment by kdeko...@gmail.com on 14 Apr 2012 at 4:14