Bug#594822: gmail makes epiphany crash when gnash plugin is installed

2010-10-02 Thread Josselin Mouette
Le samedi 02 octobre 2010 à 22:47 +0300, Tommi Vainikainen a écrit : 
> Hi,
> 
> I can also reproduce this easily with version 2.30.6-1, and confirm also
> the fact that removing gnash makes gmail to work, and installing gnash
> again makes epiphany to "crash". Actually on my computer epiphany just
> gets stuck. It does not render window anymore, but actually I can click
> on folders (Inbox or Spam) and epiphany changes the title of the window,
> but does not render the content anymore.
> 
> I'm not sure if this should be reassigned to gtk-gnash or not. However
> below there is also backtrace of gtk-gnash after epiphanys backtrace.
> 
> After loading gmail there is gtk-gnash process with following arguments:
> 
> /usr/bin/gtk-gnash -u https://mail.google.com/mail/im/media-api.swf?ver=1.0.2 
> -U 
> https://mail.google.com/mail/?ui=2&view=js&name=main,tlist&ver=o-cM_Z_Kcc0.fi.&am=!Y-v-bx6-hLCxhZziWvP2Rhba2hGvrlsuHL4D1PP1u0x0Da3D30Ar&fri
>  -x 44043824 -j 1 -k 1 -F 38:39 -P allowfullscreen=true -P 
> allowscriptaccess=sameDomain -P bgcolor=#00 -P 
> flashvars=dbg=true&ap=previewer&nm=yj_api0&cb=Recv_yj_api0&os=linux&& -P 
> id=flash_yj_api0 -P name=yj_api0 -P 
> pluginspage=http://www.macromedia.com/go/getflashplayer -P quality=high -P 
> seamlesstabbing=false -P src=im/media-api.swf?ver=1.0.2 -P style=width: 100%; 
> height: 100%;  -P type=application/x-shockwave-flash -P wmode=window -

> Here is backtraces of all threads after epiphany is "stuck" (it actually
> keeps printing the syntax error already reported in this bug, so it is
> not totally stuck, and I can also close gmail window and keep epiphany
> running and other windows open):

It looks like both processes are in a deadlock, so unfortunately the
backtraces aren’t very helpful.

Dear gnash and webkit maintainers, do you have an idea of what could be
happening here?
Especially, what is this “useQuirks” message and is it relevant?

Cheers,
-- 
 .''`.  Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-[…] I will see what I can do for you.”  -- Jörg Schilling


signature.asc
Description: This is a digitally signed message part


Bug#594822: gmail makes epiphany crash when gnash plugin is installed

2010-10-02 Thread Tommi Vainikainen
Hi,

I can also reproduce this easily with version 2.30.6-1, and confirm also
the fact that removing gnash makes gmail to work, and installing gnash
again makes epiphany to "crash". Actually on my computer epiphany just
gets stuck. It does not render window anymore, but actually I can click
on folders (Inbox or Spam) and epiphany changes the title of the window,
but does not render the content anymore.

I'm not sure if this should be reassigned to gtk-gnash or not. However
below there is also backtrace of gtk-gnash after epiphanys backtrace.

After loading gmail there is gtk-gnash process with following arguments:

/usr/bin/gtk-gnash -u https://mail.google.com/mail/im/media-api.swf?ver=1.0.2 
-U 
https://mail.google.com/mail/?ui=2&view=js&name=main,tlist&ver=o-cM_Z_Kcc0.fi.&am=!Y-v-bx6-hLCxhZziWvP2Rhba2hGvrlsuHL4D1PP1u0x0Da3D30Ar&fri
 -x 44043824 -j 1 -k 1 -F 38:39 -P allowfullscreen=true -P 
allowscriptaccess=sameDomain -P bgcolor=#00 -P 
flashvars=dbg=true&ap=previewer&nm=yj_api0&cb=Recv_yj_api0&os=linux&& -P 
id=flash_yj_api0 -P name=yj_api0 -P 
pluginspage=http://www.macromedia.com/go/getflashplayer -P quality=high -P 
seamlesstabbing=false -P src=im/media-api.swf?ver=1.0.2 -P style=width: 100%; 
height: 100%;  -P type=application/x-shockwave-flash -P wmode=window -

Here is backtraces of all threads after epiphany is "stuck" (it actually
keeps printing the syntax error already reported in this bug, so it is
not totally stuck, and I can also close gmail window and keep epiphany
running and other windows open):

(gdb) thread apply all bt full

Thread 3 (Thread 0x7fffe13de710 (LWP 3311)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
No locals.
#1  0x75044098 in WebCore::IconDatabase::syncThreadMainLoop (
this=0x7fffe1406a00) at ../WebCore/loader/icon/IconDatabase.cpp:1412
didAnyWork = 
#2  0x75044161 in WebCore::IconDatabase::iconDatabaseSyncThread (
this=0x7fffe1406a00) at ../WebCore/loader/icon/IconDatabase.cpp:1030
journalFilename = {
  m_impl = { = {}, 
m_ptr = 0x7fffe140df20}}
#3  0x71c3a8ba in start_thread (arg=)
at pthread_create.c:300
__res = 
pd = 0x7fffe13de710
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736972318480, 
-7916324419425905188, 140737249562400, 0, 140737354125376, 3, 
7916293065159890396, 7916329124189066716}, 
  mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
freesize = 
__PRETTY_FUNCTION__ = "start_thread"
#4  0x719a202d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#5  0x in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7fffe1cf7710 (LWP 3310)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
No locals.
#1  0x75355024 in WTF::TCMalloc_PageHeap::scavengerThread (
this=0x75bb7040) at ../JavaScriptCore/wtf/FastMalloc.cpp:2378
No locals.
#2  0x75355049 in WTF::TCMalloc_PageHeap::runScavengerThread (
context=0x75bc5114) at ../JavaScriptCore/wtf/FastMalloc.cpp:1501
No locals.
#3  0x71c3a8ba in start_thread (arg=)
at pthread_create.c:300
__res = 
pd = 0x7fffe1cf7710
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736981858064, 
-7916324419425905188, 140737249562400, 0, 140737354125376, 3, 
7916294040654337500, 7916329124189066716}, 
  mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
freesize = 
__PRETTY_FUNCTION__ = "start_thread"
#4  0x719a202d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#5  0x in ?? ()
No symbol table info available.

Thread 1 (Thread 0x77fbe800 (LWP 3307)):
#0  0x71997113 in __poll (fds=, 
nfds=, timeout=0)
at ../sysdeps/unix/sysv/linux/poll.c:87
_a3 = 0
_a1 = 31098352
resultvar = 
_a2 = 15
oldtype = 0
result = 
#1  0x723992c9 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x72399a75 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x740e5657 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0x004359a3 in main (argc=1, argv=0x7fffe378) at ephy-main.c:741
option_context = 
option_group = 
proxy = 
error = 0x0
user_time = 1082412582






And here is a backtrace from gtk-gnash process (via gdb's set
follow-fork-mode child when starting up epiphany).






#0  0x74a1e113 in __poll (fds=, 
nfds=, ti