Closed
Bug 177905
Opened 22 years ago
Closed 22 years ago
Browser segfaulting <del>www.nvidia.com</del> with missing plugins with Xft and GTK2
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 177665
People
(Reporter: gl, Assigned: blizzard)
References
()
Details
(Keywords: crash)
Attachments
(2 files)
I'm using a build of mozilla with Xft and GTK2 under RH 8.0.
When visiting www.nasdaq.com I get a segmentation violation.
.mozconfig
ac_add_options --enable-svg
ac_add_options --enable-crypto
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-toolkit-gtk
ac_add_options --disable-toolkit-qt
ac_add_options --enable-xft
ac_add_options --enable-freetype2
ac_add_options --enable-cpp-rtti
ac_add_options --enable-cpp-exceptions
ac_add_options --enable-extensions
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-mng
#ac_add_options --enable-calendar
MOZ_INTERNAL_LIBART_LGPL=1
mk_add_options MOZ_INTERNAL_LIBART_LGPL=1
#MOZ_CALENDAR=1
#mk_add_options MOZ_CALENDAR=1
Diagnostic information:
IsPluginFile(/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so)
== TRUE
For * found plugin
/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so
LoadPlugin()
/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so returned
8951630
About to create new ws_info...
About to create new xtbin of 120 X 600 from 0x8892178...
starting up Xt stuff
gtk_xtbin_realize()
initial allocation 0 0 120 600
xt_client_create()
About to show xtbin(0x890e510)...
completed gtk_widget_show(0x890e510)
gtk_xtbin_resize 0x890e510 120 600
(<unknown>:26162): Gtk-CRITICAL **: file gtkwidget.c: line 3913
(gtk_widget_get_style): assertion `GTK_IS_WIDGET (widget)' failed
Program /home/gl/mozilla/dist/bin/mozilla-bin (pid = 26162) received
Segmentation fault signal.
Stack:
nsProfileLock::FatalSignalHandler(int, siginfo*, void*)+0x0000010C
[/home/gl/mozilla/dist/bin/components/libprofile.so +0x00033C4E]
UNKNOWN [/lib/i686/libpthread.so.0 +0x0000C516]
UNKNOWN [/home/gl/mozilla/dist/bin/mozilla-bin +0x00028C40]
gdk_pixmap_colormap_create_from_xpm_d+0x000000A1 [/usr/lib/libgdk-x11-2.0.so.0
+0x0001E931]
gdk_pixmap_create_from_xpm_d+0x0000003C [/usr/lib/libgdk-x11-2.0.so.0 +0x0001EA8C]
UNKNOWN [/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so
+0x000033DD]
makePixmap+0x00000011
[/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so +0x00003645]
NPP_SetWindow+0x00000137
[/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so +0x000026EF]
Private_SetWindow+0x00000021
[/home/gl/mozilla/modules/plugin/samples/default/unix/libnullplugin.so +0x00003B3B]
ns4xPluginInstance::SetWindow(nsPluginWindow*)+0x000002C6
[/home/gl/mozilla/dist/bin/components/libgkplugin.so +0x000400F6]
nsPluginHostImpl::InstantiateEmbededPlugin(char const*, nsIURI*,
nsIPluginInstanceOwner*)+0x00000B8B
[/home/gl/mozilla/dist/bin/components/libgkplugin.so +0x000504B1]
nsObjectFrame::InstantiatePlugin(nsIPresContext*, nsHTMLReflowMetrics&,
nsHTMLReflowState const&, nsIPluginHost*, char const*, nsIURI*)+0x000007BA
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001F5AA4]
nsObjectFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x000015F8
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001F4C82]
nsLineLayout::ReflowFrame(nsIFrame*, unsigned&, nsHTMLReflowMetrics*,
int&)+0x0000075C [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001EB19A]
nsInlineFrame::ReflowInlineFrame(nsIPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&, nsIFrame*, unsigned&)+0x00000045
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001E3EDF]
nsInlineFrame::ReflowFrames(nsIPresContext*, nsHTMLReflowState const&,
nsInlineFrame::InlineReflowState&, nsHTMLReflowMetrics&, unsigned&)+0x000001AE
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001E3926]
nsInlineFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x000002DA
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001E3644]
nsLineLayout::ReflowFrame(nsIFrame*, unsigned&, nsHTMLReflowMetrics*,
int&)+0x0000075C [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001EB19A]
nsBlockFrame::ReflowInlineFrame(nsBlockReflowState&, nsLineLayout&,
nsLineList_iterator, nsIFrame*, unsigned char*)+0x000000B1
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0017C467]
nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState&, nsLineLayout&,
nsLineList_iterator, int*, unsigned char*, int, int)+0x00000242
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0017C06C]
nsBlockFrame::DoReflowInlineFramesAuto(nsBlockReflowState&, nsLineList_iterator,
int*, unsigned char*, int, int)+0x000000AB
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0017BD35]
nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&, nsLineList_iterator, int*,
int, int)+0x0000009D [/home/gl/mozilla/dist/bin/components/libgklayout.so
+0x0017BABB]
nsBlockFrame::ReflowLine(nsBlockReflowState&, nsLineList_iterator, int*,
int)+0x0000068D [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001798FB]
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&)+0x000005E5
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00178977]
nsBlockFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x0000090A
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001757B2]
nsBlockReflowContext::ReflowBlock(nsRect const&, int, nsCollapsingMargin&, int,
nsMargin&, nsHTMLReflowState&, unsigned&)+0x0000063D
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00188D45]
nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&, nsLineList_iterator,
int*)+0x00000475 [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0017B1D3]
nsBlockFrame::ReflowLine(nsBlockReflowState&, nsLineList_iterator, int*,
int)+0x000000FA [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00179368]
nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&)+0x000005E5
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00178977]
nsBlockFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x0000090A
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001757B2]
nsContainerFrame::ReflowChild(nsIFrame*, nsIPresContext*, nsHTMLReflowMetrics&,
nsHTMLReflowState const&, int, int, unsigned, unsigned&)+0x000000BC
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00196A42]
CanvasFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x0000027C
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x001C59B0]
nsBoxToBlockAdaptor::Reflow(nsBoxLayoutState&, nsIPresContext*,
nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned&, int, int, int, int,
int)+0x0000043D [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00342C2F]
nsBoxToBlockAdaptor::DoLayout(nsBoxLayoutState&)+0x00000109
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00342635]
nsBox::Layout(nsBoxLayoutState&)+0x00000037
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0033DDAF]
nsScrollBoxFrame::DoLayout(nsBoxLayoutState&)+0x00000245
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x003297C7]
nsBox::Layout(nsBoxLayoutState&)+0x00000037
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0033DDAF]
nsBoxFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x00000346
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0035AA30]
nsContainerFrame::ReflowChild(nsIFrame*, nsIPresContext*, nsHTMLReflowMetrics&,
nsHTMLReflowState const&, int, int, unsigned, unsigned&)+0x000000BC
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00196A42]
ViewportFrame::Reflow(nsIPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState
const&, unsigned&)+0x000003AC
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0025ADBA]
IncrementalReflow::Dispatch(nsIPresContext*, nsHTMLReflowMetrics&, nsSize
const&, nsIRenderingContext&)+0x000001AE
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00213E8C]
PresShell::ProcessReflowCommands(int)+0x000002EA
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x0022A4A8]
ReflowEvent::HandleEvent()+0x00000171
[/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00236A7D]
UNKNOWN [/home/gl/mozilla/dist/bin/components/libgklayout.so +0x00229D36]
PL_HandleEvent+0x00000054 [/home/gl/mozilla/dist/bin/libxpcom.so +0x00137322]
PL_ProcessPendingEvents+0x000000DC [/home/gl/mozilla/dist/bin/libxpcom.so
+0x00137152]
nsEventQueueImpl::ProcessPendingEvents()+0x00000070
[/home/gl/mozilla/dist/bin/libxpcom.so +0x00139952]
UNKNOWN [/home/gl/mozilla/dist/bin/components/libwidget_gtk2.so +0x00038F60]
UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x0004542F]
UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x00023F65]
g_main_context_dispatch+0x00000098 [/usr/lib/libglib-2.0.so.0 +0x00024F98]
UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x000252AD]
g_main_loop_run+0x000001BF [/usr/lib/libglib-2.0.so.0 +0x00025A1F]
gtk_main+0x000000CF [/usr/lib/libgtk-x11-2.0.so.0 +0x000D139F]
nsAppShell::Run()+0x00000062
[/home/gl/mozilla/dist/bin/components/libwidget_gtk2.so +0x00039536]
nsAppShellService::Run()+0x0000002F
[/home/gl/mozilla/dist/bin/components/libnsappshell.so +0x0004D219]
UNKNOWN [/home/gl/mozilla/dist/bin/mozilla-bin +0x00011C47]
UNKNOWN [/home/gl/mozilla/dist/bin/mozilla-bin +0x000129C6]
__libc_start_main+0x000000A4 [/home/gl/mozilla/dist/bin/mozilla-bin +0x000158D4]
Sleeping for 5 minutes.
Type 'gdb /home/gl/mozilla/dist/bin/mozilla-bin 26162' to attatch your debugger
to this thread.
Updated•22 years ago
|
Reporter | ||
Comment 1•22 years ago
|
||
www.nasdaq.com works with the Flash (6,beta at least) plugin installed to
handle the flash content on the site. I think there is Javascript plugin
detection
code which triggers the problem when no plugin is found - ultimately showing
up with a GTK error.
So I believe this is a plugin/Javascript problem, not really a GTK2 problem,
although it does appear as though the GTK is what eventually fails and
crashes when no plugin installed.
Does that mean another bug report should be filed for the plugin/Javascript
problem?
Reporter | ||
Comment 3•22 years ago
|
||
Reporter | ||
Comment 4•22 years ago
|
||
Reporter | ||
Comment 5•22 years ago
|
||
I've just:
(a) Recompiled mozilla from cvs 19/11/02. Options include
--with-enable-toolkit=gtk2
and --enable-xft. No plugins installed.
(b) Tried www.nasdaq.com again. No problem. It appears there is no flash content
on the
front page there now.
(c) Tried www.nvidia.com which has flash content. I get a crash with same
problem I was seeing with www.nasdaq.com.
(d) Installed flash 6 beta and retried www.nvdia.com. Doesnt crash.
Flash content does not seem to play properly though.
(e) Tried www.macromedia which has flash content. Works.
I've attached a log file and output from gdb as to where if fell over.
I've changed the bug summary from www.nasdaq.com to www.nvidia.com
Summary: Browser segfaulting on www.nasdaq.com with Xft and GTK2 → Browser segfaulting on www.nvidia.com with Xft and GTK2
Reporter | ||
Updated•22 years ago
|
Attachment #106745 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Updated•22 years ago
|
Attachment #106746 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Comment 6•22 years ago
|
||
I dont have a Java plugin installed (no gcc 3.2 compatible plugin yet).
I get the same crash problem with pages containing Java applets:
(<unknown>:6259): Gtk-CRITICAL **: file gtkwidget.c: line 3913 (gtk_widget_get_s
tyle): assertion `GTK_IS_WIDGET (widget)' failed
etc
So the problem isnt Flash, isnt Javascript.
Commonality is a missing plugin.
Does a missing plugin mean the nullplugin handles the data?
Summary: Browser segfaulting on www.nvidia.com with Xft and GTK2 → Browser segfaulting <del>www.nvidia.com</del> with missing plugins with Xft and GTK2
Comment 7•22 years ago
|
||
thanks for hacking on this Geoff!
bug 177665 seems to be the same problem and is on blizzard's radar already
*** This bug has been marked as a duplicate of 177665 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Geoff,
Where does your libnullplugin.so comes from? We don't have a gtk2.0 compatible
libnullplugin.so at the time your reported the bug. Could it be a problem?
Reporter | ||
Comment 9•22 years ago
|
||
My libnullplugin.so comes from the source tree, in the directory
./mozilla/modules/plugin/samples/default/unix
Files in there do seem to be gtk2 aware in that there is conditional
code dependent on MOZ_ENABLE_GTK2.
Comment 10•22 years ago
|
||
Geoff,
Did you clean up your source tree before the building of moz+gtk2.0?
libnullplugin for gtk2.0 was enabled at Dec.24 ( See bug 180147 ). Before then,
no libnullplugin.so could be generated in moz+gtk2.0 build.
I have just tried the gtk1.2 libnullplugin.so with my moz+gtk2.0 and got a crash.
Currently, libnullplugin.so for gtk2.0 is not very stable and I have a patch on
bug 180147. You can have a try.
Comment 11•22 years ago
|
||
Oh, sorry. I mean Nov. 24.
Reporter | ||
Comment 12•22 years ago
|
||
I've just rebuilt from cvs tree and now wfm.
More details at http://bugzilla.mozilla.org/show_bug.cgi?id=178501
Didnt apply the patch proposed for
http://bugzilla.mozilla.org/show_bug.cgi?id=180147
in comment http://bugzilla.mozilla.org/show_bug.cgi?id=177905#c10 as it now wfm
without it ...
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•