Ticket #1168 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

testembedmoz segfaults

Reported by: guest Owned by: somebody
Priority: normal Milestone:
Component: Mozilla widget bindings Version: 0.10.1
Keywords: Cc: petersen@…

Description

Yesterday after a long time I built fedora's gtk2hs with mozembed enabled again since I was curious to play with it.

Then I tried testembedmoz and found that it segfaults at startup.

:
Program received signal SIGSEGV, Segmentation fault.
0x05eef00a in EmbedPrivate::Realize (this=0x8120ec8, aAlreadyRealized=0xbfffc7d4) at EmbedPrivate.cpp:295
295	  mNavigation->SetSessionHistory(mSessionHistory);
:
(gdb) bt
#0  0x05eef00a in EmbedPrivate::Realize (this=0x8120ec8, aAlreadyRealized=0xbfffc7d4) at EmbedPrivate.cpp:295
#1  0x05eed6dd in gtk_moz_embed_realize (widget=0x80e61e8) at gtkmozembed2.cpp:490
#2  0x00195d4c in IA__g_cclosure_marshal_VOID__VOID (closure=0x81025a8, return_value=0x0, n_param_values=1, param_values=0x80e2a60, 
    invocation_hint=0xbfffc978, marshal_data=0x5eed5ba) at gmarshal.c:77
#3  0x001869c9 in g_type_class_meta_marshal (closure=0x81025a8, return_value=0x0, n_param_values=1, param_values=0x80e2a60, invocation_hint=0xbfffc978, 
    marshal_data=0x74) at gclosure.c:878
#4  0x00188352 in IA__g_closure_invoke (closure=0x81025a8, return_value=0x0, n_param_values=1, param_values=0x80e2a60, invocation_hint=0xbfffc978)
    at gclosure.c:767
#5  0x0019d4cd in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=0x80e61e8, emission_return=0x0, 
    instance_and_params=0x80e2a60) at gsignal.c:3177
#6  0x0019ef7d in IA__g_signal_emit_valist (instance=0x80e61e8, signal_id=13, detail=0, var_args=0xbfffcb34 "\372\272r") at gsignal.c:2980
#7  0x0019f406 in IA__g_signal_emit (instance=0x80e61e8, signal_id=13, detail=0) at gsignal.c:3037
#8  0x0072bba1 in IA__gtk_widget_realize (widget=0x80e61e8) at gtkwidget.c:3322
#9  0x0072c430 in IA__gtk_widget_map (widget=0x80e61e8) at gtkwidget.c:3196
#10 0x0073dbdd in gtk_window_map (widget=0x8120008) at gtkwindow.c:4545
#11 0x00195d4c in IA__g_cclosure_marshal_VOID__VOID (closure=0x81024c0, return_value=0x0, n_param_values=1, param_values=0x80e2a48, 
    invocation_hint=0xbfffcd28, marshal_data=0x73d9e0) at gmarshal.c:77
#12 0x001869c9 in g_type_class_meta_marshal (closure=0x81024c0, return_value=0x0, n_param_values=1, param_values=0x80e2a48, invocation_hint=0xbfffcd28, 
    marshal_data=0x6c) at gclosure.c:878
#13 0x00188352 in IA__g_closure_invoke (closure=0x81024c0, return_value=0x0, n_param_values=1, param_values=0x80e2a48, invocation_hint=0xbfffcd28)
    at gclosure.c:767
#14 0x0019d4cd in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=0x8120008, emission_return=0x0, 
    instance_and_params=0x80e2a48) at gsignal.c:3177
#15 0x0019ef7d in IA__g_signal_emit_valist (instance=0x8120008, signal_id=11, detail=0, var_args=0xbfffcee4 "J\303r") at gsignal.c:2980
#16 0x0019f406 in IA__g_signal_emit (instance=0x8120008, signal_id=11, detail=0) at gsignal.c:3037
#17 0x0072c3dc in IA__gtk_widget_map (widget=0x8120008) at gtkwidget.c:3198
#18 0x0073dcee in gtk_window_show (widget=0x8120008) at gtkwindow.c:4510
#19 0x00195d4c in IA__g_cclosure_marshal_VOID__VOID (closure=0x8102390, return_value=0x0, n_param_values=1, param_values=0x80e2968, 
    invocation_hint=0xbfffd118, marshal_data=0x73dbf0) at gmarshal.c:77
#20 0x001869c9 in g_type_class_meta_marshal (closure=0x8102390, return_value=0x0, n_param_values=1, param_values=0x80e2968, invocation_hint=0xbfffd118, 
    marshal_data=0x5c) at gclosure.c:878
#21 0x00188352 in IA__g_closure_invoke (closure=0x8102390, return_value=0x0, n_param_values=1, param_values=0x80e2968, invocation_hint=0xbfffd118)
    at gclosure.c:767
#22 0x0019d4cd in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=0x8120008, emission_return=0x0, 
    instance_and_params=0x80e2968) at gsignal.c:3177
#23 0x0019ef7d in IA__g_signal_emit_valist (instance=0x8120008, signal_id=9, detail=0, var_args=0xbfffd2d4 "*\313r") at gsignal.c:2980
#24 0x0019f406 in IA__g_signal_emit (instance=0x8120008, signal_id=9, detail=0) at gsignal.c:3037
#25 0x0072cbbc in IA__gtk_widget_show (widget=0x8120008) at gtkwidget.c:3006
#26 0x0072c90c in IA__gtk_widget_show_all (widget=0x8120008) at gtkwidget.c:3154
#27 0x0804df61 in sh7L_info ()
#28 0x08120008 in ?? ()
#29 0xbffff230 in ?? ()
#30 0x00e2c9cc in ?? () from /lib/ld-linux.so.2
#31 0xbfffd3f4 in ?? ()
#32 0x00e1f806 in _dl_catch_error (objname=<value optimized out>, errstring=<value optimized out>, mallocedp=<value optimized out>, 
    operate=0x8058c20 <s7br_info>, args=0x3381cad) at dl-error.c:178
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

The segfault is both on i386 and x86_64 (Fedora 11). I am using ghc-6.10.3 and the latest gtk2hs-0.10.1.

Has anyone had success with mozembed recently?

Change History

Changed 4 years ago by axel

  • status changed from new to closed
  • resolution set to wontfix

I have no idea. Since we've moved mozembed out of Gtk2Hs and deprecated it in favour of webkit, I'll leave this bug alone.

Note: See TracTickets for help on using tickets.