Closed Bug 229569 Opened 21 years ago Closed 18 years ago

Browser crash [@ nsWindow::NativeShow ?]

Categories

(SeaMonkey :: General, defect)

x86
FreeBSD
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jakob, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031115
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031115

When browsing http://www.sas.no, doing some work on selecting outward flight
dates, browser crashes.

Reproducible: Always

Steps to Reproduce:
Unfortunately a bit intricate to reproduce, but detailed steps follows:

1. Pleasure travel (select blue arrow)
2. Leaving from: Norway / Oslo (may have to press the blue select-arrows to
acknowledge)
3. Going to: Japan (select blue arrow)
4. Going to: Tokyo
5. Input:
        Round trip, outward 4. May, return 29. May, 1 adult, 0 children, No to
"Family"
6. Next ->
7. Next page shows up
8. Select «Try other prices» dropdown and select the lowest price there (about
6700) and select blue arrow afterwards.
9. Click on 1. May outward date
10. Click on 29. May return date
11. Observe crash
Actual Results:  
Crash

Expected Results:  
Page display

Console output

[jakobbg@dune jakobbg]$ strace -o mozlog2 mozilla http://www.sas.no/
No running window found.
                                                                               
(mozilla-bin:98846): GLib-GObject-CRITICAL **: file gobject.c: line 1319
(g_object_ref): assertion `G_IS_OBJECT (object)' failed
If you need any other debug information about this problem, and you can't
reproduce the bug yourself, give me a few hints as to what to do. Thanks in
advance.
Attachment #138056 - Attachment mime type: application/octet-stream → text/plain
wfm 20031226 Win2k.
Can you get a stack and attach it via "create a new attachment" ?

http://www.mozilla.org/unix/debugging-faq.html

if you're using the standard mozilla startup script, just do
% mozilla -g -d gdb
(gdb) run
[wait for mozilla to crash]
(gdb) bt
(attach the output from "bt" here)

Can you also possibly try Mozilla 1.6b ? Not sure if someone has built a FreeBSD
version yet.
Here goes:

(gdb) bt
#0  0x285ffdbb in g_type_check_instance ()
   from /usr/local/lib/libgobject-2.0.so.200
#1  0x285f527c in g_signal_emit_valist ()
   from /usr/local/lib/libgobject-2.0.so.200
#2  0x285f5b70 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.200
#3  0x282c16d3 in gtk_widget_hide () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#4  0x295125a8 in nsWindow::NativeShow ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#5  0x29517cf5 in nsCommonWidget::Show ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#6  0x294de0af in nsXULWindow::Destroy ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libnsappshell.so
#7  0x294ef35f in nsWebShellWindow::Destroy ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libnsappshell.so
#8  0x294db831 in nsContentTreeOwner::Destroy ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libnsappshell.so
#9  0x298d3fd2 in GlobalWindowImpl::ReallyCloseWindow ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libjsdom.so
#10 0x298d3224 in GlobalWindowImpl::GetFrames ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libjsdom.so
#11 0x289e7c84 in PL_HandleEvent ()
   from /usr/X11R6/lib/mozilla-gtk2/./libxpcom.so
#12 0x289e7b95 in PL_ProcessPendingEvents ()
---Type <return> to continue, or q <return> to quit---
   from /usr/X11R6/lib/mozilla-gtk2/./libxpcom.so
#13 0x289e8dab in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/X11R6/lib/mozilla-gtk2/./libxpcom.so
#14 0x29515cb6 in nsIProperties::GetIID ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#15 0x2865363f in g_io_unix_dispatch () from /usr/local/lib/libglib-2.0.so.200
#16 0x28634e87 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.200
#17 0x28635cd7 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.200
#18 0x286360b2 in g_main_context_iterate ()
   from /usr/local/lib/libglib-2.0.so.200
#19 0x286367b8 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.200
#20 0x28202a70 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#21 0x29516004 in nsAppShell::Run ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#22 0x294e68d1 in nsAppShellService::Run ()
   from /usr/X11R6/lib/mozilla-gtk2/components/libnsappshell.so
#23 0x8055a2c in nsGetServiceByContractID::operator() ()
#24 0x8054661 in main ()
#25 0x80542ad in _start ()
(gdb)


I'd prefer not to install Moz1.6beta on this box.
Output to console up to browser crash:


(mozilla-bin:41363): GLib-GObject-CRITICAL **: file gobject.c: line 1319 
(g_obje ct_ref): assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:41363): GLib-GObject-WARNING **: instance with invalid (NULL) 
class  pointer
 
(mozilla-bin:41363): GLib-GObject-CRITICAL **: file gsignal.c: line 2490 
(g_sign al_emit_valist): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
 
(mozilla-bin:41363): Gtk-CRITICAL **: file gtkwidget.c: line 2254 
(gtk_widget_qu eue_resize): assertion `GTK_IS_WIDGET (widget)' failed
 
(mozilla-bin:41363): GLib-GObject-CRITICAL **: file gobject.c: line 510 
(g_objec t_notify): assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:41363): GLib-GObject-CRITICAL **: file gobject.c: line 1337 
(g_obje ct_unref): assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:41363): GLib-GObject-CRITICAL **: file gobject.c: line 1319 
(g_obje ct_ref): assertion `G_IS_OBJECT (object)' failed
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x285ffdbb in g_type_check_instance ()
   from /usr/local/lib/libgobject-2.0.so.200
(gdb) 


Hope this helps.
installing Mozilla 1.6b won't mess with 1.5, as you can install a tarball in a
separate & independent directory (and even use a new profile by launching
"mozilla -profilemanager").
It seems to be GTK2 crashing, not Mozilla directly, can you mention which GTK2
libs version you're using 'gtk-config --version' ?
Blocks: gtk2
Summary: Browser crash → Browser crash [@ nsWindow::NativeShow ?]
[jakobbg@dune jakobbg]$ gtk-config --version
1.2.10


Hmm. Shouldn't that be 2.4.something? Strange.
Couldn't find any binaries.

I'm make'ing http://www.freshports.org/www/mozilla-devel-gtk2 myself now, will
try it out in the work-dir when compile is completed. Is that good enough?
I don't think it's necessary to upgrade to latest port as your URL mentions 1.5b
only, which is older than your current 1.5 release.
Ah, thanks for pointing that out. Will compile
http://www.freshports.org/www/mozilla-devel instead :-)
Problem persists in Mozilla 1.6b:

[jakobbg@dune bin]$ pwd
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin
[jakobbg@dune bin]$ ./mozilla -v
Mozilla 1.6b, Copyright (c) 2003 mozilla.org <developer build>
[jakobbg@dune bin]$ ./mozilla -ProfileManager -g -d gdb


(no debugging symbols found)...(no debugging symbols found)...
[snip repetetive above message ~50 times]

(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 1319
(g_object_ref): assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-WARNING **: instance with invalid (NULL) class
pointer
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gsignal.c: line 2490
(g_signal_emit_v alist): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
 
(mozilla-bin:34411): Gtk-CRITICAL **: file gtkwidget.c: line 2254
(gtk_widget_queue_resiz e): assertion `GTK_IS_WIDGET (widget)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 510
(g_object_notify) : assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_unref) : assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 1319
(g_object_ref): assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-WARNING **: instance with invalid (NULL) class
pointer
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gsignal.c: line 2490
(g_signal_emit_v alist): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
 
(mozilla-bin:34411): Gtk-CRITICAL **: file gtkwidget.c: line 2254
(gtk_widget_queue_resiz e): assertion `GTK_IS_WIDGET (widget)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 510
(g_object_notify) : assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_unref) : assertion `G_IS_OBJECT (object)' failed
 
(mozilla-bin:34411): GLib-GObject-CRITICAL **: file gobject.c: line 1319
(g_object_ref): assertion `G_IS_OBJECT (object)' failed
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x28607dbb in g_type_check_instance () from /usr/local/lib/libgobject-2.0.so.200
(gdb) bt
#0  0x28607dbb in g_type_check_instance () from /usr/local/lib/libgobject-2.0.so.200
#1  0x285fd27c in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.200
#2  0x285fdb70 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.200
#3  0x282c06d3 in gtk_widget_hide () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#4  0x29542814 in nsWindow::NativeShow ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libwidget_gtk2.so
#5  0x29547d3f in nsCommonWidget::Show ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libwidget_gtk2.so
#6  0x2949f900 in nsXULWindow::Destroy ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libnsappshell.so
#7  0x294b10d6 in nsWebShellWindow::Destroy ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libnsappshell.so
#8  0x2949c9ee in nsContentTreeOwner::Destroy ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libnsappshell.so
#9  0x298f9823 in GlobalWindowImpl::ReallyCloseWindow ()
   from /usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libjsdom.so
#10 0x298f89a1 in GlobalWindowImpl::GetFrames ()
   from /usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libjsdom.so
#11 0x289e7039 in PL_HandleEvent ()
   from /usr/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so
#12 0x289e6f4d in PL_ProcessPendingEvents ()
   from /usr/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so
#13 0x289e80cb in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so
#14 0x29545e7b in nsIProperties::GetIID ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libwidget_gtk2.so
#15 0x2865b63f in g_io_unix_dispatch () from /usr/local/lib/libglib-2.0.so.200
---Type <return> to continue, or q <return> to quit---
#16 0x2863ce87 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.200
#17 0x2863dcd7 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.200
#18 0x2863e0b2 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.200
#19 0x2863e7b8 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.200
#20 0x28201a70 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#21 0x29546194 in nsAppShell::Run ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libwidget_gtk2.so
#22 0x294a889e in nsAppShellService::Run ()
   from
/usr/ports/www/mozilla-devel/work/mozilla/dist/bin/components/libnsappshell.so
#23 0x8055e18 in nsGetServiceByContractID::operator() ()
#24 0x80549a1 in main ()
#25 0x80545a5 in _start ()
(gdb)


Hope this helps.
Marking NEW since it has stack with a recent build (1.6b).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Browser → Seamonkey
Will assume this won't be worked on, since it's a fairly old version. Closing as FIXED.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Crash Signature: [@ nsWindow::NativeShow ?]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: