divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

FBTestPlugin crash firefox #123

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. add to examples/FBTestPlugin/test.html
thread = plugin.createThreadRunner();
after line number 194 

2. open examples/FBTestPlugin/test.html in firefox

What is the expected output? What do you see instead?
expected: 
...
Logging: Echoing: true                                                          

Logging: Thread iteration start                                                 

Logging: Thread iteration start                                                 

Logging: Thread iteration start 

What I see instead:

(gdb) bt                                                                        

#0  0x0000003cdac0f29b in raise () from /lib64/libpthread-2.12.90.so            

#1  0x0000003ce38ff635 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#2  <signal handler called>                                                     

#3  0x0000003cda434085 in raise () from /lib64/libc-2.12.90.so                  

#4  0x0000003cda435a36 in abort () from /lib64/libc-2.12.90.so                  

#5  0x0000003cda42c8c5 in __assert_fail () from /lib64/libc-2.12.90.so          

#6  0x00007f6fb3b06d93 in 
boost::pthread::pthread_mutex_scoped_lock::pthread_mutex_scoped_lock 
(this=0x7fffe01d2240, m_=0x7f6fb48c5e70)                      
    at ./boost/thread/pthread/pthread_mutex_scoped_lock.hpp:25                                                                                               
#7  0x00007f6fb3b0dc8c in boost::recursive_mutex::lock (this=0x7f6fb48c5e70)    

    at /opt/boost-1.44.0-pic/include/boost-1_44/boost/thread/pthread/recursive_mutex.hpp:124                                                                 
#8  0x00007f6fb3b0e4e6 in boost::unique_lock<boost::recursive_mutex>::lock 
(this=0x7fffe01d2300)                                                           

    at /opt/boost-1.44.0-pic/include/boost-1_44/boost/thread/locks.hpp:412                                                                                   
#9  0x00007f6fb3b0e029 in 
boost::unique_lock<boost::recursive_mutex>::unique_lock (this=0x7fffe01d2300, 
m_=...)                                              
    at /opt/boost-1.44.0-pic/include/boost-1_44/boost/thread/locks.hpp:290                                                                                   
#10 0x00007f6fb3b0d908 in FB::PluginEventSource::SendEvent 
(this=0x7f6fb48c5e40, evt=0x7fffe01d23c0)                                       

    at /home/nikita/work/Firefox/firebreath/src/PluginCore/PluginEventSource.cpp:69                                                                          
#11 0x00007f6fb3b2fb84 in FB::PluginWindowX11::EventCallback 
(this=0x7f6fb48c5e40, widget=0x7f6fb44c85c0 [GtkDrawingArea], 
event=0x7f6fb44c8630)             
    at /home/nikita/work/Firefox/firebreath/src/PluginWindow/X11/PluginWindowX11.cpp:162                                                                     
#12 0x00007f6fb3b2fb1f in FB::PluginWindowX11::_EventCallback 
(widget=0x7f6fb44c85c0 [GtkDrawingArea], event=0x7f6fb44c8630, 
user_data=0x7f6fb48c5e40)       
    at /home/nikita/work/Firefox/firebreath/src/PluginWindow/X11/PluginWindowX11.cpp:143                                                                     
#13 0x0000003ce794e223 in _gtk_marshal_BOOLEAN__BOXED (closure=0x7f6fb44c7cd0, 
return_value=0x7fffe01d2610, n_param_values=<value optimized out>,            
    param_values=0x7f6fb667e250, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at gtkmarshalers.c:86                            
#14 0x0000003cde00e03e in g_closure_invoke (closure=0x7f6fb44c7cd0, 
return_value=0x7fffe01d2610, n_param_values=2, param_values=0x7f6fb667e250,     

    invocation_hint=0x7fffe01d25d0) at gclosure.c:766                                                                                                        
#15 0x0000003cde01ee87 in signal_emit_unlocked_R (node=<value optimized out>, 
detail=0, instance=0x7f6fb44c85c0, emission_return=0x7fffe01d2780,             
    instance_and_params=0x7f6fb667e250) at gsignal.c:3252                                                                                                    
#16 0x0000003cde028555 in g_signal_emit_valist (instance=<value optimized out>, 
signal_id=<value optimized out>, detail=<value optimized out>,               
    var_args=<value optimized out>) at gsignal.c:2993                                                                                                        
#17 0x0000003cde028983 in g_signal_emit (instance=<value optimized out>, 
signal_id=<value optimized out>, detail=<value optimized out>) at 
gsignal.c:3040    
#18 0x0000003ce7a85983 in gtk_widget_event_internal (widget=0x7f6fb44c85c0 
[GtkDrawingArea], event=0x7f6fb44c8630) at gtkwidget.c:4887                     

#19 0x0000003ce794c373 in IA__gtk_main_do_event (event=0x7f6fb44c8630) at 
gtkmain.c:1619                                                                  

#20 0x0000003ce6861a8c in gdk_event_dispatch (source=<value optimized out>, 
callback=<value optimized out>, user_data=<value optimized out>)                

    at gdkevents-x11.c:2377                                                                                                                                  
#21 0x0000003cdc041e33 in g_main_dispatch (context=0x7f6fd3940940) at 
gmain.c:2149                                                                    

#22 g_main_context_dispatch (context=0x7f6fd3940940) at gmain.c:2702            

#23 0x0000003cdc042610 in g_main_context_iterate (context=0x7f6fd3940940, 
block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780                

#24 0x0000003cdc0428ad in g_main_context_iteration (context=0x7f6fd3940940, 
may_block=1) at gmain.c:2843                                                    

#25 0x0000003ce4101b33 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#26 0x0000003ce4101c2b in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#27 0x0000003ce4239500 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#28 0x0000003ce420a794 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#29 0x0000003ce418c6dd in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#30 0x0000003ce41dba12 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#31 0x0000003ce4101975 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#32 0x0000003ce3fc87a6 in ?? () from /usr/lib64/xulrunner-1.9.2/libxul.so       

#33 0x0000003ce38f8618 in XRE_main () from /usr/lib64/xulrunner-1.9.2/libxul.so 

#34 0x00000000004026c6 in main (argc=1, argv=0x7fffe01d8868) at 
nsXULStub.cpp:583          

What version of FireBreath are you using? On what operating system and
browsers?
get master branch from  github (d3c93b39bba3065250a56f7be8f079486e7df0b6)
Linux Fedora 14 x86_64
firefox-3.6.13-1.fc14.x86_64

Please provide any additional information below.

Original issue reported on code.google.com by bignikita on 27 Dec 2010 at 8:45

GoogleCodeExporter commented 8 years ago
May be the proper name of this issue will be ThreadRunnerAPI error...

Original comment by bignikita on 27 Dec 2010 at 8:47

GoogleCodeExporter commented 8 years ago
This seems to be fixed properly now in 1.4 beta 2.

Original comment by richarda...@gmail.com on 23 Jan 2011 at 2:30