Hi,
I have an issue with the layout code on firefox and 1.9.0.4/5
layout/generic code. OS is EMC's Unix aka a typical SVR4. Some piece of
code in layout/generic related with reflow goes wrong and honestly I
cannt see why! I have attached a log. The main intersting source file
is the nsFrame.cpp and its related headers... Especially in the
function/constuctor nsFrame::Init we find a
if (IsBoxWrapped())
InitBoxMetrics(PR_FALSE);
IsBoxWrapped() returns FALSE on EMC Unix regardless what!
I am pretty sure I have seen something about IsBoxWrapped return
ing false on other OS's too (not linux of course!). But its some
time now and I cannt remember where. Removing the if (IsBoxWrapped())
is not a solution at least on the latest 1.9.04 XUL. It drives us to more
trouble.
Well for sure on EMC's unix IsBoxWrapped=false and So InitBoxMetrics is
never called!
After say an xul build I am giving:
cd dist/bin
./xulrunner ../xpi-stage/simple/application.ini
(note" $(DIST)/bin is already declared on the system's LD_LIBRARY_PATH).
I ve put some printf's on this spot (nsFrame.cpp) and also on prlink.c
(nspr) that controls the various dlopens.
nsFrame.cpp
// EMC/UX
if (IsBoxWrapped())
{
printf("### InitBoxMetrics is called ###\n");
InitBoxMetrics(PR_FALSE);
}
else
{
printf("### What the heck? InitBoxMetrics never called? ###\n");
}
Please take a look to the attached log. Pretty much too many "What the
heck? InitBoxMetrics never called?"
But, say in linux that I ve test it too, there is also just one
"InitBoxMetrics is called"!
The attached log dumped core and is being debugged. As I said
InitBoxMetrics was never called. The cores on xul are always on BoxReflow
and I have ask gdb to show me the args for this function. Can you tell
which one is wrong and make BoxReflow gone? (see my log).
All these functions, IsBoxWrapped, InitBoxMetrics, Init, BoxReflow are
parts of layout/generic, so if I understand what is going wrong I am pretty
sure I can fix it for EMC Unix.
Primarily I want to make sure: if InitBoxMetrics never called would that
cause BoxReflow to fail later on?
Kind Regards,
PS: compiler is GCC 3.4.6
### prlink.c Init_linker calling dlopen 0, RTLD_LAZY ... ##
### prlink.c calling dlopen libgnomeui-2.so.0, flags 1 ##
### prlink.c call to dlopen for loading libgnomeui-2.so.0, flags 1 failed :
reason dynamic linker: ./xulrunner-bin: libgnomeui-2.so.0 requested, but object
does not exist ##
*** Registering components in: xpconnect
*** Registering components in: nsUCvMathModule
*** Registering components in: nsUConvModule
*** Registering components in: nsI18nModule
*** Registering components in: nsChardetModule
*** Registering components in: nsUniversalCharDetModule
*** Registering components in: necko
*** Registering components in: nsCookieModule
*** Registering components in: nsPermissionsModule
*** Registering components in: nsAuthModule
*** Registering components in: nsJarModule
*** Registering components in: ZipWriterModule
*** Registering components in: nsPrefModule
*** Registering components in: nsSecurityManagerModule
*** Registering components in: nsRDFModule
*** Registering components in: nsXPIntlModule
*** Registering components in: nsWindowDataSourceModule
*** Registering components in: nsParserModule
*** Registering components in: nsGfxModule
*** Registering components in: nsWidgetGtk2Module
*** Registering components in: nsImageLib2Module
*** Registering components in: nsPluginModule
*** Registering components in: nsLayoutModule
*** Registering components in: docshell_provider
*** Registering components in: embedcomponents
*** Registering components in: Browser_Embedding_Module
*** Registering components in: nsCJVMManagerModule
*** Registering components in: appshell
*** Registering components in: nsTransactionManagerModule
*** Registering components in: nsComposerModule
*** Registering components in: nsChromeModule
*** Registering components in: application
*** Registering components in: nsFindComponent
*** Registering components in: Apprunner
*** Registering components in: CommandLineModule
*** Registering components in: nsFileViewModule
*** Registering components in: mozStorageModule
*** Registering components in: nsPlacesModule
*** Registering components in: tkAutoCompleteModule
*** Registering components in: satchel
*** Registering components in: PKI
*** Registering components in: nsToolkitCompsModule
*** Registering components in: RemoteServiceModule
*** Registering components in: nsSoftwareUpdate
*** Registering components in: JavaScript_Debugger
*** Registering components in: BOOT
*** Registering components in: NSS
*** Registering components in: nsAutoConfigModule
*** Registering components in: nsSystemPrefModule
*** Registering components in: mozSpellCheckerModule
*** Registering components in: nsUnixProxyModule
### prlink.c calling dlopen libgconf-2.so.4, flags 1 ##
### prlink.c call to dlopen for loading libgconf-2.so.4, flags 1 failed :
reason dynamic linker: ./xulrunner-bin: libgconf-2.so.4 requested, but object
does not exist ##
### prlink.c calling dlopen libgconf-2.so, flags 1 ##
### prlink.c call to dlopen for loading libgconf-2.so, flags 1 failed : reason
dynamic linker: ./xulrunner-bin: libgconf-2.so requested, but object does not
exist ##
Couldn't convert chrome URL: chrome://branding/locale/brand.properties
++WEBSHELL 847c800 == 1
++DOMWINDOW == 1 (848d42c) [serial = 1] [outer = 0]
WARNING: NS_ENSURE_TRUE(strenum) failed: file nsCommandLine.cpp, line 630
++WEBSHELL 8501000 == 2
++DOMWINDOW == 2 (850182c) [serial = 2] [outer = 0]
++DOMWINDOW == 3 (850ca2c) [serial = 3] [outer = 8501800]
### prlink.c calling dlopen libsoftokn3.so, flags 2 ##
### prlink.c calling dlsym on libsoftokn3.so to find NSC_GetFunctionList ... ##
### prlink.c calling dlsym on libsoftokn3.so to find NSC_ModuleDBFunc ... ##
### prlink.c calling dlopen libnssdbm3.so, flags 2 ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_Open ... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_ReadSecmodDB ... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_ReleaseSecmodDBData
... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_DeleteSecmodDB ... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_AddSecmodDB ... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_Shutdown ... ##
### prlink.c calling dlsym on libnssdbm3.so to find legacy_SetCryptFunctions
... ##
### prlink.c calling dlsym on libsoftokn3.so to find NSC_GetFunctionList ... ##
### prlink.c calling dlopen libfreebl3.so, flags 2 ##
### prlink.c calling dlsym on libfreebl3.so to find FREEBL_GetVector ... ##
### prlink.c calling dlopen
/admin/.mozillatest/simple/icb2i153.default/libnssckbi.so, flags 1 ##
### prlink.c call to dlopen for loading
/admin/.mozillatest/simple/icb2i153.default/libnssckbi.so, flags 1 failed :
reason dynamic linker: ./xulrunner-bin: cannot open
/admin/.mozillatest/simple/icb2i153.default/libnssckbi.so ##
###!!! ASSERTION: failed to create encoder: '0', file nsUNIXCharset.cpp, line
371
###!!! ASSERTION: unable to use nl_langinfo(CODESET): '0', file
nsUNIXCharset.cpp, line 305
++DOMWINDOW == 4 (8651e2c) [serial = 4] [outer = 848d400]
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
### What the heck? InitBoxMetrics never called? ###
###!!! ASSERTION: Must be a box frame!: 'mScrollCornerBox->IsBoxFrame()', file
nsGfxScrollFrame.cpp, line 2518
###!!! ASSERTION: A box layout method was called but InitBoxMetrics was never
called: 'metrics', file nsFrame.cpp, line 6464
Segmentation Fault - core dumped
Oh no! ./xulrunner-bin just dumped a core file.
Do you want to debug this ? You need a lot of memory for this, so watch out ?
[y/n] /usr/local/bin/gdb ./xulrunner-bin core
GNU gdb 5.0 (DG/UX version 5.0.1)
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-dg-dguxR4.20MU07 (Build date Apr 28 2001)"...
Core was generated by `./xulrunner-bin ../xpi-stage/simple/application.ini'.
Program terminated with signal 11, Segmentation fault.
When program terminated the number of DG/UX Kernel LWPs was: 1.
Reading symbols from /netsc4/mozilla/dist/bin/./libxpcom.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libxpcom.so
Reading symbols from /netsc4/mozilla/dist/bin/./libxul.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libxul.so
Reading symbols from /netsc4/mozilla/dist/bin/./libmozjs.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libmozjs.so
Reading symbols from /netsc4/mozilla/dist/bin/./libsmime3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libsmime3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libssl3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libssl3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libnss3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libnss3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libnssutil3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libnssutil3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libsoftokn3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libsoftokn3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libsqlite3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libsqlite3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libplds4.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libplds4.so
Reading symbols from /netsc4/mozilla/dist/bin/./libplc4.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libplc4.so
Reading symbols from /netsc4/mozilla/dist/bin/./libnspr4.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libnspr4.so
Reading symbols from /usr/opt/kde/lib/libgtk-x11-2.0.so.2.10...done.
Loaded symbols for /usr/opt/kde/lib/libgtk-x11-2.0.so.2.10
Reading symbols from /usr/opt/kde/lib/libgdk-x11-2.0.so.2.10...done.
Loaded symbols for /usr/opt/kde/lib/libgdk-x11-2.0.so.2.10
Reading symbols from /usr/opt/kde/lib/libgdk_pixbuf-2.0.so.2.10...done.
Loaded symbols for /usr/opt/kde/lib/libgdk_pixbuf-2.0.so.2.10
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.1.20...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.1.20
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.1.20...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.1.20
Reading symbols from /usr/local/lib/libpango-1.0.so.1.20...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.1.20
Reading symbols from /usr/local/lib/libcairo.so.1.8...done.
Loaded symbols for /usr/local/lib/libcairo.so.1.8
Reading symbols from /usr/opt/kde/lib/libpixman-1.so.12.0...done.
Loaded symbols for /usr/opt/kde/lib/libpixman-1.so.12.0
Reading symbols from /usr/opt/kde/lib/libatk-1.0.so.1.24...done.
Loaded symbols for /usr/opt/kde/lib/libatk-1.0.so.1.24
Reading symbols from /usr/opt/kde/lib/libgio-2.0.so.2.18...done.
Loaded symbols for /usr/opt/kde/lib/libgio-2.0.so.2.18
Reading symbols from /usr/opt/kde/lib/libgobject-2.0.so.2.18...done.
Loaded symbols for /usr/opt/kde/lib/libgobject-2.0.so.2.18
Reading symbols from /usr/opt/kde/lib/libgmodule-2.0.so.2.18...done.
Loaded symbols for /usr/opt/kde/lib/libgmodule-2.0.so.2.18
Reading symbols from /usr/opt/kde/lib/libgthread-2.0.so.2.18...done.
Loaded symbols for /usr/opt/kde/lib/libgthread-2.0.so.2.18
Reading symbols from /usr/opt/kde/lib/libglib-2.0.so.2.18...done.
Loaded symbols for /usr/opt/kde/lib/libglib-2.0.so.2.18
Reading symbols from /usr/local/lib/libpng.so.1.2.8...done.
Loaded symbols for /usr/local/lib/libpng.so.1.2.8
Reading symbols from /usr/dglib/libXft.so.2.1.2...done.
Loaded symbols for /usr/dglib/libXft.so.2.1.2
Reading symbols from /usr/dglib/libfontconfig.so.1.0.4...done.
Loaded symbols for /usr/dglib/libfontconfig.so.1.0.4
Reading symbols from /usr/dglib/libXinerama.so.1.0...done.
Loaded symbols for /usr/dglib/libXinerama.so.1.0
Reading symbols from /usr/dglib/libXrender.so.1.2.2...done.
Loaded symbols for /usr/dglib/libXrender.so.1.2.2
Reading symbols from /usr/dglib/libXrandr.so.2.0...done.
Loaded symbols for /usr/dglib/libXrandr.so.2.0
Reading symbols from /usr/dglib/libXt.so.6.0...done.
Loaded symbols for /usr/dglib/libXt.so.6.0
Reading symbols from /usr/dglib/libSM.so.6.0...done.
Loaded symbols for /usr/dglib/libSM.so.6.0
Reading symbols from /usr/dglib/libICE.so.6.4...done.
Loaded symbols for /usr/dglib/libICE.so.6.4
Reading symbols from /usr/dglib/libXext.so.6.4...done.
Loaded symbols for /usr/dglib/libXext.so.6.4
Reading symbols from /usr/dglib/libX11.so.7.0...done.
Loaded symbols for /usr/dglib/libX11.so.7.0
Reading symbols from /usr/local/lib/libz.so...done.
Loaded symbols for /usr/local/lib/libz.so
Reading symbols from /usr/dglib/libresolv.so.1...done.
Loaded symbols for /usr/dglib/libresolv.so.1
Reading symbols from /usr/dglib/libsocket.so.1...done.
Loaded symbols for /usr/dglib/libsocket.so.1
Reading symbols from /usr/dglib/libnsl.so.1...done.
Loaded symbols for /usr/dglib/libnsl.so.1
Reading symbols from /usr/local/lib/libstdc++.so.5.7...done.
Loaded symbols for /usr/local/lib/libstdc++.so.5.7
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/dglib/librte.so.1...done.
Loaded symbols for /usr/dglib/librte.so.1
Reading symbols from /usr/dglib/libthread.so.1...done.
Loaded symbols for /usr/dglib/libthread.so.1
Reading symbols from /usr/dglib/libc.so.1...done.
Loaded symbols for /usr/dglib/libc.so.1
Reading symbols from /usr/X11R7.0/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R7.0/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /usr/dglib/libXcursor.so.1.0.2...done.
Loaded symbols for /usr/dglib/libXcursor.so.1.0.2
Reading symbols from /usr/dglib/libXfixes.so.3.0...done.
Loaded symbols for /usr/dglib/libXfixes.so.3.0
Reading symbols from /netsc4/mozilla/dist/bin/./libnssdbm3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libnssdbm3.so
Reading symbols from /netsc4/mozilla/dist/bin/./libfreebl3.so...done.
Loaded symbols for /netsc4/mozilla/dist/bin/./libfreebl3.so
Reading symbols from
/usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
#0 0x8003f4e8 in kill () from /usr/dglib/libc.so.1
(gdb) where
#0 0x8003f4e8 in kill () from /usr/dglib/libc.so.1
#1 0x8003f4d2 in raise () from /usr/dglib/libc.so.1
#2 0x8086a953 in _ZN13nsProfileLock18FatalSignalHandlerEi (signo=11) at
nsProfileLock.cpp:212
#3 0x8006ba75 in __sigacthandler2 () from /usr/dglib/libc.so.1
#4 0xffffffff in ?? ()
#5 0x80b4cab2 in _ZN7nsFrame8DoLayoutER16nsBoxLayoutState (this=<incomplete
type>, asta...@0x8045f14)
at nsFrame.cpp:6128
#6 0x80ca3692 in _ZN8nsIFrame6LayoutER16nsBoxLayoutState (this=<incomplete
type>, asta...@0x8045f14) at nsBox.cpp:561
#7 0x80ca77c5 in
_ZN10nsBoxFrame13LayoutChildAtER16nsBoxLayoutStateP8nsIFrameRK6nsRect
(asta...@0x8045f14,
aBox=0x866d940, are...@0x8045e10) at nsBoxFrame.cpp:2023
#8 0x80b647f8 in _Z19LayoutAndInvalidateR16nsBoxLayoutStateP8nsIFrameRK6nsRect
(asta...@0x8045f14, aBox=0x866d940,
are...@0x8045e10) at nsGfxScrollFrame.cpp:2480
#9 0x80b649eb in
_ZN21nsGfxScrollFrameInner16LayoutScrollbarsER16nsBoxLayoutStateRK6nsRectS4_S4_
(
this=<incomplete type>, asta...@0x8045f14, acontentar...@0x8045ec0,
aoldscrollar...@0x8045f00,
ascrollar...@0x8045f3c) at nsGfxScrollFrame.cpp:2542
#10 0x80b60066 in
_ZN17nsHTMLScrollFrame6ReflowEP13nsPresContextR19nsHTMLReflowMetricsRK17nsHTMLReflowStateRj
(
this=<incomplete type>, aPresContext=0x83bb600, adesiredsi...@0x8046130,
areflowsta...@0x8046070,
astat...@0x80461ec) at nsGfxScrollFrame.cpp:822
#11 0x80b3b2fb in
_ZN16nsContainerFrame11ReflowChildEP8nsIFrameP13nsPresContextR19nsHTMLReflowMetricsRK17nsHTMLReflowStateiijRjP29nsOverflowContinuationTracker
(this=<incomplete type>, aKidFrame=0x866d684, aPresContext=0x83bb600,
adesiredsi...@0x8046130, areflowsta...@0x8046070, aX=0, aY=0, aFlags=0,
astat...@0x80461ec, aTracker=0x0)
at nsContainerFrame.cpp:770
#12 0x80bc7faf in
_ZN13ViewportFrame6ReflowEP13nsPresContextR19nsHTMLReflowMetricsRK17nsHTMLReflowStateRj
(
this=<incomplete type>, aPresContext=0x83bb600, adesiredsi...@0x8046210,
areflowsta...@0x8046250,
astat...@0x80461ec) at nsViewportFrame.cpp:285
#13 0x80b08ea3 in _ZN9PresShell8DoReflowEP8nsIFrame (this=<incomplete type>,
target=0x866d4ac) at nsPresShell.cpp:6288
#14 0x80b0951c in _ZN9PresShell21ProcessReflowCommandsEi (this=<incomplete
type>, aInterruptible=0)
at nsPresShell.cpp:6394
#15 0x80b04380 in _ZN9PresShell27DoFlushPendingNotificationsE12mozFlushTypei
(this=<incomplete type>,
aType=Flush_Layout, aInterruptibleReflow=0) at nsPresShell.cpp:4576
#16 0x80b04241 in _ZN9PresShell25FlushPendingNotificationsE12mozFlushType
(this=<incomplete type>, aType=Flush_Layout)
at nsPresShell.cpp:4516
#17 0x80ad48d1 in _ZN18DocumentViewerImpl12LoadCompleteEj (this=<incomplete
type>, aStatus=0)
at nsDocumentViewer.cpp:946
#18 0x81211ea6 in _ZN10nsDocShell11EndPageLoadEP14nsIWebProgressP10nsIChannelj
(this=<incomplete type>,
aProgress=0x8501014, aChannel=0x85d7740, aStatus=0) at nsDocShell.cpp:5096
#19 0x8122c2e3 in _ZN10nsWebShell11EndPageLoadEP14nsIWebProgressP10nsIChannelj
(this=<incomplete type>,
aProgress=0x8501014, channel=0x85d7740, aStatus=0) at nsWebShell.cpp:1013
#20 0x81211578 in
_ZN10nsDocShell13OnStateChangeEP14nsIWebProgressP10nsIRequestjj
(this=<incomplete type>,
aProgress=0x8501014, aRequest=0x85d7740, aStateFlags=131088, aStatus=0) at
nsDocShell.cpp:5001
#21 0x8123e396 in
_ZN11nsDocLoader17FireOnStateChangeEP14nsIWebProgressP10nsIRequestij
(this=<incomplete type>,
aProgress=0x8501014, aRequest=0x85d7740, aStateFlags=131088, aStatus=0) at
nsDocLoader.cpp:1235
#22 0x8123d2e1 in _ZN11nsDocLoader18doStopDocumentLoadEP10nsIRequestj
(this=<incomplete type>, request=0x85d7740,
aStatus=0) at nsDocLoader.cpp:854
#23 0x8123cfef in _ZN11nsDocLoader16DocLoaderIsEmptyEv (this=<incomplete type>)
at nsDocLoader.cpp:763
#24 0x8123caef in _ZN11nsDocLoader13OnStopRequestEP10nsIRequestP11nsISupportsj
(this=<incomplete type>,
aRequest=0x85d7740, aCtxt=0x0, aStatus=0) at nsDocLoader.cpp:679
#25 0x808faa3b in _ZN11nsLoadGroup13RemoveRequestEP10nsIRequestP11nsISupportsj
(this=<incomplete type>,
request=0x85d7740, ctxt=0x0, aStatus=0) at nsLoadGroup.cpp:688
#26 0x812d93e0 in _ZN21nsCachedChromeChannel15HandleLoadEventEv
(this=<incomplete type>)
at nsChromeProtocolHandler.cpp:378
#27 0x812dabc7 in _ZN16nsRunnableMethodI21nsCachedChromeChannelE3RunEv
(this=<incomplete type>)
at ../../dist/include/xpcom/nsThreadUtils.h:261
#28 0x815a5a5f in _ZN8nsThread16ProcessNextEventEiPi (this=<incomplete type>,
mayWait=1, result=0x8046e6c)
at nsThread.cpp:510
#29 0x81551d7c in _Z21NS_ProcessNextEvent_PP9nsIThreadi (thread=0x8207a00,
mayWait=1) at nsThreadUtils.cpp:227
#30 0x814cd6ca in _ZN14nsBaseAppShell3RunEv (this=<incomplete type>) at
nsBaseAppShell.cpp:170
#31 0x812de828 in _ZN12nsAppStartup3RunEv (this=<incomplete type>) at
nsAppStartup.cpp:181
#32 0x8085df34 in XRE_main (argc=1, argv=0x80478dc, aAppData=0x81e3200) at
nsAppRunner.cpp:3180
#33 0x8053108 in main (argc=2, argv=0x80478dc) at nsXULRunnerApp.cpp:453
#34 0x8052389 in _start ()
(gdb) frame 5
#5 0x80b4cab2 in _ZN7nsFrame8DoLayoutER16nsBoxLayoutState (this=<incomplete
type>, asta...@0x8045f14)
at nsFrame.cpp:6128
6128 rv = BoxReflow(aState, presContext, desiredSize, rendContext,
(gdb) list
6123 nsHTMLReflowMetrics desiredSize;
6124 nsresult rv = NS_OK;
6125
6126 if (rendContext) {
6127
6128 rv = BoxReflow(aState, presContext, desiredSize, rendContext,
6129 ourRect.x, ourRect.y, ourRect.width, ourRect.height);
6130
6131 if (IsCollapsed(aState)) {
6132 SetSize(nsSize(0, 0));
(gdb) print aState
$1 = (nsBoxLayoutState &) @0x8045f14: {mPresContext = {<nsCOMPtr_base> =
{mRawPtr = 0x83bb600}, <No data fields>},
mRenderingContext = 0x866f540, mLayoutFlags = 0, mReflowDepth = 0,
mPaintingDisabled = 0 '\000'}
(gdb) print presContext
$2 = (nsPresContext *) 0x83bb600
(gdb) print desiredSize
$3 = {width = 0, height = 0, ascent = 1073741824, mBoundingMetrics =
{leftBearing = 0, rightBearing = 0, ascent = 0,
descent = 0, width = 0}, mCarriedOutBottomMargin = {mMostPos = 0, mMostNeg
= 0}, mOverflowArea = {x = 0, y = 0,
width = 0, height = 0}, mFlags = 0}
(gdb) print rendContext
$4 = (nsIRenderingContext *) 0x8045f14
(gdb) print ourRect
$5 = {x = 60, y = 60, width = 0, height = 0}
(gdb) _______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout