Closed Bug 103746 Opened 23 years ago Closed 23 years ago

StaticBuild Mozilla crashes in layout

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: roland.mainz, Assigned: joki)

Details

2001-10-06-08-trunk(+fix from bug 101896) build with Sun Workshop 6 Update 2
(configure --enable-mathml --enable-svg --enable-crypto --enable-optimize
--enable-static --disable-shared --disable-mailnews) crashes in layout code at
startup:
-- snip --
Note: verifyreflow is disabled
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Start reading in bookmarks.html
Finished reading in bookmarks.html  (40298 microseconds)
WEBSHELL+ = 3
###!!! ASSERTION: NS_ENSURE_TRUE(aListener) failed: 'aListener', file
../../../../../../../../home/mozilla/src/2001-10-06-08-trunk/mozilla/content/events/src/nsEventListenerManager.cpp,
line 384
###!!! Break: at file
../../../../../../../../home/mozilla/src/2001-10-06-08-trunk/mozilla/content/events/src/nsEventListenerManager.cpp,
line 384
###!!! ASSERTION: NS_ENSURE_TRUE(aListener) failed: 'aListener', file
../../../../../../../../home/mozilla/src/2001-10-06-08-trunk/mozilla/content/events/src/nsEventListenerManager.cpp,
line 384
###!!! Break: at file
../../../../../../../../home/mozilla/src/2001-10-06-08-trunk/mozilla/content/events/src/nsEventListenerManager.cpp,
line 384
t@1 (l@1) signal SEGV (no mapping at the fault address) in
nsGfxTextControlFrame2::SetInitialChildList at line 3432 in file
"nsGfxTextControlFrame2.cpp"
 3432           mTextSelImpl->SetScrollableView(scrollView);
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) print mTextSelImpl
mTextSelImpl = (nil)
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) print scrollView
scrollView = 0x25da2c0
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread: t@1
=>[1] nsGfxTextControlFrame2::SetInitialChildList(this = 0x25106a8, aPresContext
= 0x21b4a70, aListName = (nil), aChildList = 0x2510988), line 3432 in
"nsGfxTextControlFrame2.cpp"
  [2] nsCSSFrameConstructor::ConstructFrameByTag(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2522030,
aParentFrame = 0x25105c0, aTag = 0x1e6f5f0, aNameSpaceID = 3, aStyleContext =
0x2510674, aFrameItems = STRUCT), line 4770 in "nsCSSFrameConstructor.cpp"
  [3] nsCSSFrameConstructor::ConstructFrameInternal(this = 0x21c0f18, aPresShell
= 0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2522030,
aParentFrame = 0x25105c0, aTag = 0x1e6f5f0, aNameSpaceID = 3, aStyleContext =
0x2510674, aFrameItems = STRUCT, aXBLBaseTag = 0), line 6995 in
"nsCSSFrameConstructor.cpp"
  [4] nsCSSFrameConstructor::ConstructFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2522030,
aParentFrame = 0x25105c0, aFrameItems = STRUCT), line 6902 in
"nsCSSFrameConstructor.cpp"
  [5] nsCSSFrameConstructor::ProcessChildren(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2521f90,
aFrame = 0x25105c0, aCanHaveGeneratedContent = 0, aFrameItems = STRUCT,
aParentIsBlock = 0, aTableCreator = (nil)), line 11446 in
"nsCSSFrameConstructor.cpp"
  [6] nsCSSFrameConstructor::ConstructXULFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2521f90,
aParentFrame = 0x2510368, aTag = 0x1e4d570, aNameSpaceID = 7, aStyleContext =
0x251058c, aFrameItems = STRUCT, aXBLBaseTag = 0, aHaltProcessing = 0), line
5591 in "nsCSSFrameConstructor.cpp"
  [7] nsCSSFrameConstructor::ConstructFrameInternal(this = 0x21c0f18, aPresShell
= 0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2521f90,
aParentFrame = 0x2510368, aTag = 0x1e4d570, aNameSpaceID = 7, aStyleContext =
0x251058c, aFrameItems = STRUCT, aXBLBaseTag = 0), line 7005 in
"nsCSSFrameConstructor.cpp"
  [8] nsCSSFrameConstructor::ConstructFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x2521f90,
aParentFrame = 0x2510368, aFrameItems = STRUCT), line 6902 in
"nsCSSFrameConstructor.cpp"
  [9] nsCSSFrameConstructor::ProcessChildren(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x24a2470,
aFrame = 0x2510368, aCanHaveGeneratedContent = 0, aFrameItems = STRUCT,
aParentIsBlock = 0, aTableCreator = (nil)), line 11446 in
"nsCSSFrameConstructor.cpp"
  [10] nsCSSFrameConstructor::ConstructXULFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x24a2470,
aParentFrame = 0x25101f0, aTag = 0x1e4d570, aNameSpaceID = 7, aStyleContext =
0x2510334, aFrameItems = STRUCT, aXBLBaseTag = 0, aHaltProcessing = 0), line
5591 in "nsCSSFrameConstructor.cpp"
  [11] nsCSSFrameConstructor::ConstructFrameInternal(this = 0x21c0f18,
aPresShell = 0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent =
0x24a2470, aParentFrame = 0x25101f0, aTag = 0x1e4d570, aNameSpaceID = 7,
aStyleContext = 0x2510334, aFrameItems = STRUCT, aXBLBaseTag = 0), line 7005 in
"nsCSSFrameConstructor.cpp"
  [12] nsCSSFrameConstructor::ConstructFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x24a2470,
aParentFrame = 0x25101f0, aFrameItems = STRUCT), line 6902 in
"nsCSSFrameConstructor.cpp"
  [13] nsCSSFrameConstructor::ProcessChildren(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x21e0e58,
aFrame = 0x25101f0, aCanHaveGeneratedContent = 0, aFrameItems = STRUCT,
aParentIsBlock = 0, aTableCreator = (nil)), line 11446 in
"nsCSSFrameConstructor.cpp"
  [14] nsCSSFrameConstructor::ConstructXULFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x21e0e58,
aParentFrame = 0x23f31a0, aTag = 0x1e77078, aNameSpaceID = 7, aStyleContext =
0x2528054, aFrameItems = STRUCT, aXBLBaseTag = 1, aHaltProcessing = 0), line
5591 in "nsCSSFrameConstructor.cpp"
  [15] nsCSSFrameConstructor::ConstructFrameInternal(this = 0x21c0f18,
aPresShell = 0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent =
0x21e0e58, aParentFrame = 0x23f31a0, aTag = 0x1e77078, aNameSpaceID = 7,
aStyleContext = 0x2528054, aFrameItems = STRUCT, aXBLBaseTag = 1), line 7005 in
"nsCSSFrameConstructor.cpp"
  [16] nsCSSFrameConstructor::ConstructFrameInternal(this = 0x21c0f18,
aPresShell = 0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent =
0x21e0e58, aParentFrame = 0x23f31a0, aTag = 0x1e2ee40, aNameSpaceID = 7,
aStyleContext = 0x2500730, aFrameItems = STRUCT, aXBLBaseTag = 0), line 6964 in
"nsCSSFrameConstructor.cpp"
  [17] nsCSSFrameConstructor::ConstructFrame(this = 0x21c0f18, aPresShell =
0x21b4e38, aPresContext = 0x21b4a70, aState = CLASS, aContent = 0x21e0e58,
aParentFrame = 0x23f31a0, aFrameItems = STRUCT), line 6902 in
"nsCSSFrameConstructor.cpp"
  [18] nsCSSFrameConstructor::ContentInserted(this = 0x21c0f18, aPresContext =
0x21b4a70, aContainer = 0x21e0da8, aChild = 0x21e0e58, aIndexInContainer = 0,
aFrameState = (nil)), line 8530 in "nsCSSFrameConstructor.cpp"
  [19] StyleSetImpl::ContentInserted(this = ???, aPresContext = ???, aContainer
= ???, aChild = ???, aIndexInContainer = ???) (optimized), at 0xa5b130 (line
~1201) in "nsStyleSet.cpp"
  [20] PresShell::ContentInserted(this = ???, aDocument = ???, aContainer = ???,
aChild = ???, aIndexInContainer = ???) (optimized), at 0xbc9f3c (line ~5075) in
"nsPresShell.cpp"
  [21] nsXBLPrototypeBinding::NotifyBoundElements(this = ???) (optimized), at
0xb8bfd8 (line ~1647) in "nsXBLPrototypeBinding.cpp"
  [22] nsXBLPrototypeBinding::StyleSheetLoaded(this = ???, aSheet = ???, aNotify
= ???) (optimized), at 0xb8bc5c (line ~1604) in "nsXBLPrototypeBinding.cpp"
  [23] CSSLoaderImpl::InsertSheetInDoc(this = ???, aSheet = ???, aDocIndex =
???, aElement = ???, aNotify = ???, aObserver = ???) (optimized), at 0x8b4084
(line ~1123) in "nsCSSLoader.cpp"
  [24] InsertPendingSheet(aPendingData = ???, aLoader = ???) (optimized), at
0x8b2e90 (line ~683) in "nsCSSLoader.cpp"
  [25] nsVoidArray::EnumerateForwards(this = ???, aFunc = ???, aData = ???)
(optimized), at 0xff2043a4 (line ~650) in "nsVoidArray.cpp"
  [26] CSSLoaderImpl::Cleanup(this = ???, aKey = CLASS, aLoadData = ???)
(optimized), at 0x8b30f8 (line ~749) in "nsCSSLoader.cpp"
  [27] CSSLoaderImpl::SheetComplete(this = ???, aSheet = ???, aLoadData = ???)
(optimized), at 0x8b34f4 (line ~842) in "nsCSSLoader.cpp"
  [28] CSSLoaderImpl::ParseSheet(this = ???, aIn = ???, aLoadData = ???,
aCompleted = ???, aSheet = ???) (optimized), at 0x8b3684 (line ~876) in
"nsCSSLoader.cpp"
  [29] CSSLoaderImpl::DidLoadStyle(this = ???, aLoader = ???, aStyleData = ???,
aLoadData = ???, aStatus = ???) (optimized), at 0x8b37d4 (line ~913) in
"nsCSSLoader.cpp"
  [30] SheetLoadData::OnStreamComplete(this = ???, aLoader = ???, context = ???,
aStatus = ???, stringLen = ???, string = ???) (optimized), at 0x8b2e14 (line
~667) in "nsCSSLoader.cpp"
  [31] nsStreamLoader::OnStopRequest(this = ???, request = ???, ctxt = ???,
aStatus = ???) (optimized), at 0x4ef130 (line ~134) in "nsStreamLoader.cpp"
  [32] nsJARChannel::OnStopRequest(this = ???, jarExtractionTransport = ???,
context = ???, aStatus = ???) (optimized), at 0x550c90 (line ~611) in
"nsJARChannel.cpp"
  [33] nsOnStopRequestEvent::HandleEvent(this = ???) (optimized), at 0x4dd78c
(line ~177) in "nsRequestObserverProxy.cpp"
  [34] nsARequestObserverEvent::HandlePLEvent(plev = ???) (optimized), at
0x4dc350 (line ~79) in "nsRequestObserverProxy.cpp"
  [35] PL_HandleEvent(self = ???) (optimized), at 0xff25e2b4 (line ~590) in
"plevent.c"
  [36] PL_ProcessPendingEvents(self = ???) (optimized), at 0xff25e0fc (line
~520) in "plevent.c"
  [37] nsEventQueueImpl::ProcessPendingEvents(this = ???) (optimized), at
0xff2603e8 (line ~389) in "nsEventQueue.cpp"
  [38] event_processor_callback(data = ???, source = ???, condition = ???)
(optimized), at 0x824650 (line ~184) in "nsAppShell.cpp"
  [39] our_gdk_io_invoke(source = ???, condition = ???, data = ???) (optimized),
at 0x8242d8 (line ~76) in "nsAppShell.cpp"
dbx: warning: can't find file
"/home/gisburn/package-builds/glib/glib-1.2.8/objdir/giounix.lo"
dbx: warning: see `help finding-files'
  [40] g_io_unix_dispatch(0x20d4eb8, 0xffbeeed0, 0x20d5d80, 0xff3e09cc,
0xfe86ca1c, 0xffbeee38), at 0xfe9b2dc8
dbx: warning: can't find file
"/home/gisburn/package-builds/glib/glib-1.2.8/objdir/gmain.lo"
  [41] g_main_dispatch(0xffbeeed0, 0x1ff2e68, 0x1, 0x0, 0x378, 0xfeb5155b), at
0xfe9b6dc8
  [42] g_main_iterate(0x1, 0x1, 0xff3e1f28, 0x824bd0, 0x3bf, 0x2c04e9), at
0xfe9b7bcc
  [43] g_main_run(0x20d5dc8, 0x20d5dc8, 0x1, 0x0, 0x0, 0x824c00), at 0xfe9b7f64
dbx: warning: can't find file
"/home/gisburn/package-builds/gtk+/gtk+-1.2.8/objdir/gtk/gtkmain.lo"
  [44] gtk_main(0x1d55dc8, 0x1d55d38, 0xffbef024, 0xff242044, 0x18f0800,
0xf871dc), at 0xfecd60a0
  [45] nsAppShell::Run(this = ???) (optimized), at 0x824bd0 (line ~369) in
"nsAppShell.cpp"
  [46] nsAppShellService::Run(this = ???) (optimized), at 0xf79030 (line ~456)
in "nsAppShellService.cpp"
  [47] main1(argc = ???, argv = ???, nativeApp = ???) (optimized), at 0x445488
(line ~1312) in "nsAppRunner.cpp"
  [48] main(argc = ???, argv = ???) (optimized), at 0x445e6c (line ~1633) in
"nsAppRunner.cpp"
-- snip --
The crash in layout is due to the event assertion - over to events. BTW: I don't
know anything about the static build - who does?
Assignee: attinasi → joki
Component: Layout → Event Handling
QA Contact: petersen → madhur
Marc, that would be Waterson & myself.

Roland, are you still seeing this problem?  This is a crash on startup, right?

cls wrote:
> Roland, are you still seeing this problem?

I am not building StaticBuilds on a regular basis... no clue... ;-(
I run a Linux static build every day. Mmm, tasty. I've never seen this problem.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.