Crash in 1.3.11 (but not 1.3.10) when trying to print via JS command
Tim Jackson <[email protected]> Mon, 29 Dec 2003 22:27:06 +0000
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Between 1.3.10 and 1.3.11 printing seems to have broken - but only in very specific circumstances. I've not tracked down precisely what it is, but it occurs if you use Squirrelmail, select "view printable version" for a message, and hit the embedded "print" button. At first, I thought it was the Javascript print() function which was triggering it, but that works OK on a test page I created, so I think it's something to do with framing and/or popups (the Squirrelmail printable version is basically a popup chromeless window, with two frames - one with the "print" button in, which calls JS: parent.frames[1].print(), and one with the message in) The crash occurs as the printing dialogue box is created - you can see the (empty) print dialogue window appear semi-drawn (grey but with white boxes where text fields should be), and then it segfaults. I've done a gdb backtrace on it, which is attached - let me know if there are any other details I can give to assist. Is this useful? Should I file it in Bugzilla? Thanks, Tim
galeon-crash.txt
(text/plain, 5 KB)
** (galeon-bin:4692): GLib-GObject-CRITICAL **: file gobject.c: line 1294 (g_objec
t_add_weak_pointer): assertion `G_IS_OBJECT (object)' failed
** (galeon-bin:4692): CRITICAL **: file galeon-dialog.c: line 658 (galeon_dialo
g_set_parent): assertion `GTK_IS_WINDOW(parent)' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1088964896 (LWP 4692)]
0x080a4fc3 in galeon_embed_selection_can_copy (embed=0x0)
at galeon-embed.c:500
500 GaleonEmbedClass *klass = GALEON_EMBED_GET_CLASS (embed);
(gdb) bt
#0 0x080a4fc3 in galeon_embed_selection_can_copy (embed=0x0)
at galeon-embed.c:500
#1 0x080aaefb in impl_show (dialog=0x8c84ab8) at print-dialog.c:222
#2 0x081105b1 in galeon_dialog_show (dialog=0x89eb430) at galeon-dialog.c:917
#3 0x08110392 in impl_run (dialog=0x8c84ab8) at galeon-dialog.c:848
#4 0x08110591 in galeon_dialog_run (dialog=0x89eb430) at galeon-dialog.c:910
#5 0x080cba4d in GPrintingPromptService::ShowPrintDialog(nsIDOMWindow*, nsIWeb BrowserPrint*, nsIPrintSettings*) (this=0x85437d0, parent=0x8c84ab8,
webBrowserPrint=0x8c84a58, printSettings=0x89eb430)
at PrintingPromptService.cpp:60
#6 0x4149743e in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#7 0x414c1fe5 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#8 0x42c7671c in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libjsdom.so
#9 0x400e6f5f in XPTC_InvokeByIndex () from /usr/lib/mozilla-1.5/libxpcom.so
#10 0x4121db95 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libxpconnect.so
#11 0x41223e4a in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libxpconnect.so
#12 0x4116cc42 in js_Invoke () from /usr/lib/mozilla-1.5/libmozjs.so
#13 0x41175c18 in js_Interpret () from /usr/lib/mozilla-1.5/libmozjs.so
#14 0x4116cdbf in js_Invoke () from /usr/lib/mozilla-1.5/libmozjs.so
#15 0x4116d07e in js_InternalInvoke () from /usr/lib/mozilla-1.5/libmozjs.so
#16 0x4114d0d8 in JS_CallFunctionValue ()
from /usr/lib/mozilla-1.5/libmozjs.so
#17 0x42c6bf89 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libjsdom.so
#18 0x42c9d93e in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libjsdom.so
#19 0x41523a4b in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#20 0x41524e8f in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#21 0x414d28b9 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#22 0x4157befd in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#23 0x413b7b48 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#24 0x413b7a4f in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#25 0x4152daaf in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#26 0x4152c2a7 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#27 0x413b7bfd in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#28 0x413b74ca in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#29 0x4168c38d in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#30 0x4168479e in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#31 0x4168b859 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#32 0x41683f38 in NSGetModule ()
from /usr/lib/mozilla-1.5/components/libgklayout.so
#33 0x42982f62 in nsCommonWidget::DispatchEvent(nsGUIEvent*, nsEventStatus&)
() from /usr/lib/mozilla-1.5/components/libwidget_gtk2.so
#34 0x4297b97b in nsWindow::OnButtonReleaseEvent(_GtkWidget*, _GdkEventButton*) () from /usr/lib/mozilla-1.5/components/libwidget_gtk2.so
#35 0x4297f551 in nsWindow::HideWindowChrome(int) ()
from /usr/lib/mozilla-1.5/components/libwidget_gtk2.so
#36 0x40587c2f in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#37 0x40936ed7 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#38 0x40949983 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#39 0x409487af in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#40 0x40948be4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#41 0x4066d6fb in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#42 0x40587a27 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#43 0x40586725 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x407451a5 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#45 0x4098bb35 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#46 0x4098cb78 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0x4098ce8d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0x4098d58f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#49 0x4081e328 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#50 0x0807d60f in main (argc=5, argv=0x5) at galeon-main.c:193
#51 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6