Closed Bug 6114 Opened 26 years ago Closed 25 years ago

Solaris: Gdk error during XQueryFont

Categories

(Core :: Layout, defect, P3)

Sun
All
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Assigned: mcafee)

Details

I am running build 1999050509 on solaris 2.6(sparc). Browser crashes (repeatable) on "samples - demo #13" saying: MOZILLA_FIVE_HOME=/export/pub/XXX/mozilla/package LD_LIBRARY_PATH=/export/pub/XXX/mozilla/package:/usr/dt/lib:/usr/openwin/lib:/pu b/xpm/lib MOZ_PROGRAM=viewer moz_debug=0 moz_debugger= nsComponentManager: Using components dir: /export/pub/XXX/mozilla/package/components Going to create the event queue Got thew event queue from the service Calling gdk_input with event queue Reading file... Reading file...Done Reading file... Reading file...Done Gdk-ERROR **: BadAlloc (insufficient resources for operation) serial 7245 error_code 11 request_code 45 minor_code 0 aborting... Abort - core dumped Using dbx, this is the stack: t@1 (l@1) terminated by signal ABRT (Abort) (dbx) where current thread: t@1 =>[1] __sigprocmask(0x0, 0x647e3008, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xee6d3840 [2] _resetsig(0xee6e6328, 0x15ac18, 0xee6e56a0, 0x0, 0x0, 0x15ac84), at 0xee6cb2d0 [3] _sigon(0xee6ea0b8, 0xee6ea098, 0x15ac7c, 0xefff88fc, 0x6, 0x1), at 0xee6caa18 [4] _thrp_kill(0x0, 0x1, 0x6, 0xee6e56a0, 0x15ac18, 0xff00), at 0xee6cd85c [5] abort(0xee8a2e54, 0x4, 0xefff89f8, 0x0, 0x1000e8, 0xefff8ee8), at 0xee83a4e0 [6] 0x100040(0x137e38, 0x4, 0x0, 0x6, 0x156400, 0x156400), at 0x10003f [7] g_log(0x137e38, 0x4, 0x137ee8, 0xefff8ee8, 0x1c4d, 0xb), at 0x1000d8 [8] 0xdc620(0x167800, 0xefff8f98, 0xdc5c8, 0x20, 0xefff910c, 0xeeac86cc), at 0xdc61f [9] _XError(0xeeafff94, 0xefff90c4, 0xeeafafdc, 0x167800, 0x20, 0x167800), at 0xeea9f490 [10] _XReply(0x167800, 0x1c4e, 0x7, 0x1c4e, 0x1c4d, 0x0), at 0xeea9183c [11] _XQueryFont(0x167800, 0x48000cb, 0x1c4d, 0x4, 0x31, 0x16b09c), at 0xeeabffa0 [12] XLoadQueryFont(0x38, 0x2e1040, 0x167800, 0x1c4d, 0x3b, 0x48000cb), at 0xeea93e98 [13] gdk_font_load(0x2e2160, 0xefff92b0, 0x198f00, 0xef69c60c, 0x73, 0x2e2040), at 0xe5e28 [14] LoadFont__9nsFontGTKP13nsFontCharSetP16nsFontMetricsGTK(0x2e2140, 0x369680, 0x293680, 0xfffffff8, 0x0, 0x2e2159), at 0xef69d530 [15] PickASizeAndLoad__FP12nsFontSearchP13nsFontStretchP13nsFontCharSet(0xefff9688, 0x369740, 0x369680, 0x1, 0xefff9688, 0x1), at 0xef69d8f0 [16] TryCharSet__FP12nsFontSearchP13nsFontCharSet(0xefff9688, 0x369680, 0x0, 0x0, 0x3, 0x2e2000), at 0xef69e0b0 [17] 0xef69e128(0x25d000, 0x0, 0xefff9688, 0x5, 0xee511b64, 0x2e20a0), at 0xef69e127 [18] PL_HashTableEnumerateEntries(0x0, 0xef69e0c0, 0xefff9688, 0x2, 0x0, 0x70), at 0xeec127f8 [19] TryFamily__FP12nsFontSearchP12nsFontFamily(0xefff9688, 0x3695e0, 0x0, 0x0, 0xefffe45c, 0xefffa02c), at 0xef69e174 [20] FindFont__16nsFontMetricsGTKUs(0x293680, 0x61, 0xef6b5578, 0x10b, 0xefff9780, 0xeec7d3dc), at 0xef69ee84 [21] Init__16nsFontMetricsGTKRC6nsFontP16nsIDeviceContext(0x293680, 0xefff9a88, 0x198f00, 0xef69c60c, 0x73, 0x2e2040), at 0xef69c73c [22] GetMetricsFor__11nsFontCacheRC6nsFontRP14nsIFontMetrics(0x369560, 0xefff9a88, 0xefff986c, 0xff0000, 0x160d80, 0x0), at 0xef6f31b4 [23] GetMetricsFor__17DeviceContextImplRC6nsFontRP14nsIFontMetrics(0x198f00, 0xefff9a88, 0xefff986c, 0xef6f260c, 0xefffa0b7, 0x0), at 0xef6f2640 [24] GetMetricsFor__13nsPresContextRC6nsFontPP14nsIFontMetrics(0x198f00, 0xefff9a88, 0xefff9ab4, 0xef5421a0, 0x1, 0xefff9bbc), at 0xef5421e0 [25] Reflow__11nsTextFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowStat eRUi(0x39a180, 0x30a000, 0xefff9b88, 0xefff9bc0, 0xefffa02c, 0xefff9b88), at 0xef422c34 [26] ReflowFrame__12nsLineLayoutP8nsIFramePP8nsIFrameRUi(0xefffa478, 0x39a180, 0xefff9e10, 0xefffa02c, 0xefffa02c, 0x0), at 0xef40ebb0 [27] ReflowInlineFrame__13nsInlineFrameP14nsIPresContextRC17nsHTMLReflowStateRQ213nsI nlineFrame17InlineReflowStateP8nsIFrameRUi(0x2d1600, 0x30a000, 0xefff9ef0, 0xefff9e10, 0x39a180, 0xefffa02c), at 0xef40c1cc [28] ReflowInlineFrames__13nsInlineFrameP14nsIPresContextRC17nsHTMLReflowStateRQ213ns InlineFrame17InlineReflowStateR19nsHTMLReflowMetricsRUi(0x2d1600, 0x30a000, 0xefff9ef0, 0xefff9e10, 0xefff9eb8, 0xefffa02c), at 0xef40bdd4 [29] Reflow__13nsInlineFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowSt ateRUi(0x2d1600, 0x30a000, 0xefff9eb8, 0xefff9ef0, 0xefffa02c, 0xef40b9b4), at 0xef40bb6c [30] ReflowFrame__12nsLineLayoutP8nsIFramePP8nsIFrameRUi(0xefffa478, 0x2d1600, 0xefffa298, 0xefffa02c, 0xefffa02c, 0x0), at 0xef40ebb0 [31] ReflowInlineFrame__12nsBlockFrameR18nsBlockReflowStateP9nsLineBoxP8nsIFramePUc(0 x391f80, 0xefffa220, 0x2d1700, 0x2d1600, 0xefffa0b7, 0x0), at 0xef3f20b0 [32] ReflowInlineFrames__12nsBlockFrameR18nsBlockReflowStateP9nsLineBoxPi(0x0, 0xefffa220, 0x2d1700, 0xefffa1a4, 0xef580ea0, 0x0), at 0xef3f1ee8 [33] ReflowLine__12nsBlockFrameR18nsBlockReflowStateP9nsLineBoxPi(0x391f80, 0xefffa220, 0x2d1700, 0xefffa1a4, 0xfffffff4, 0xefffc3ec), at 0xef3f0d1c [34] ReflowDirtyLines__12nsBlockFrameR18nsBlockReflowState(0x391f80, 0xefffa220, 0xefffc208, 0xffffe26c, 0x391f80, 0xefffa478), at 0xef3f099c [35] Reflow__12nsBlockFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowSta teRUi(0x391f80, 0x30a000, 0xefffc3b8, 0xefffc318, 0xefffc484, 0x0), at 0xef3f0094 [36] Reflow__11nsAreaFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowStat eRUi(0x391f80, 0x30a000, 0xefffc3b8, 0xefffc318, 0xefffc484, 0xef3edec4), at 0xef3edf68 [37] ReflowAbsoluteFrame__25nsAbsoluteContainingBlockR14nsIPresContextRC17nsHTMLReflo wStateP8nsIFrameiRUi(0x0, 0x30a000, 0xefffc660, 0x391f80, 0x1, 0xefffc484), at 0xef3ed7ac [38] IncrementalReflow__25nsAbsoluteContainingBlockR14nsIPresContextRC17nsHTMLReflowS tateRi(0x335760, 0x30a000, 0xefffc660, 0xefffc534, 0xef55af30, 0x0), at 0xef3ed564 [39] Reflow__11nsAreaFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowStat eRUi(0x335700, 0x30a000, 0xefffc700, 0xefffc660, 0xefffcc38, 0xef3edec4), at 0xef3edee4 [40] ReflowChild__16nsContainerFrameP8nsIFrameR14nsIPresContextR19nsHTMLReflowMetrics RC17nsHTMLReflowStateRUi(0x0, 0x335700, 0x30a000, 0xefffc700, 0xefffc660, 0xefffcc38), at 0xef3f8bcc [41] Reflow__9RootFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowStateRU i(0x335600, 0x30a000, 0xefffc958, 0xefffc870, 0xefffcc38, 0xefffcc38), at 0xef402408 [42] ReflowChild__16nsContainerFrameP8nsIFrameR14nsIPresContextR19nsHTMLReflowMetrics RC17nsHTMLReflowStateRUi(0x0, 0x335600, 0x30a000, 0xefffc958, 0xefffc870, 0xefffcc38), at 0xef3f8bcc [43] Reflow__13nsScrollFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowSt ateRUi(0x2bd600, 0x30a000, 0xefffcb88, 0xefffcae0, 0xefffcc38, 0x2bd600), at 0xef41b35c [44] ReflowChild__16nsContainerFrameP8nsIFrameR14nsIPresContextR19nsHTMLReflowMetrics RC17nsHTMLReflowStateRUi(0x0, 0x2bd600, 0x30a000, 0xefffcb88, 0xefffcae0, 0xefffcc38), at 0xef3f8bcc [45] Reflow__13ViewportFrameR14nsIPresContextR19nsHTMLReflowMetricsRC17nsHTMLReflowSt ateRUi(0x335180, 0x30a000, 0xefffcd60, 0xefffcc40, 0xefffcc38, 0xef426278), at 0xef426518 [46] Dispatch__19nsHTMLReflowCommandR14nsIPresContextR19nsHTMLReflowMetricsRC6nsSizeR 19nsIRenderingContext(0x2d1f80, 0x30a000, 0xefffcd60, 0xefffcd50, 0x2d1fc0, 0xef4035e8), at 0xef4036b4 [47] ProcessReflowCommands__9PresShell(0x366480, 0xef4176a4, 0x366f0c, 0x0, 0xefffcd70, 0x0), at 0xef417774 [48] ExitReflowLock__9PresShell(0x366480, 0xef41647c, 0x366f0c, 0x0, 0xef54ac80, 0xff), at 0xef41649c [49] ContentAppended__9PresShellP11nsIDocumentP10nsIContenti(0x366480, 0x27b600, 0x366f0c, 0x0, 0xef418840, 0xef7defb8), at 0xef41888c [50] ContentAppended__10nsDocumentP10nsIContenti(0x27b600, 0x366f0c, 0x0, 0xef7fb450, 0xef7fabe0, 0x1fc), at 0xef537220 [51] ContentAppended__14nsHTMLDocumentP10nsIContenti(0x27b600, 0x366f0c, 0x0, 0xef495380, 0x366f0c, 0x168), at 0xef495468 [52] PreEvaluateScript__15HTMLContentSink(0x327100, 0x0, 0xef245c1c, 0xef4385ac, 0xef55a480, 0xff), at 0xef492a9c [53] ProcessSCRIPTTag__15HTMLContentSinkRC13nsIParserNode(0x327100, 0xefffd3f8, 0x0, 0x15e8, 0x15e4, 0x15e0), at 0xef492fb8 [54] AddLeaf__15HTMLContentSinkRC13nsIParserNode(0x327100, 0xefffd3f8, 0xef49085c, 0x327100, 0xef7fabe0, 0x1ae), at 0xef49094c [55] AddLeaf__7CNavDTDRC13nsIParserNode(0x30a700, 0xefffd3f8, 0xef245c1c, 0xfaf3ee9c, 0xefffd318, 0x8), at 0xef238a38 [56] HandleScriptToken__7CNavDTDR13nsCParserNode(0x30a700, 0xefffd3f8, 0x8, 0xef2678e8, 0xef52cbe8, 0xffe0), at 0xef23717c [57] OpenContainer__7CNavDTDRC13nsIParserNodei(0x30a700, 0xefffd3f8, 0x1, 0xef237378, 0x0, 0xefffd45d), at 0xef238388 [58] HandleDefaultStartToken__7CNavDTDP6CToken9nsHTMLTagR13nsIParserNode(0x30a700, 0x2f7900, 0x55, 0xefffd3f8, 0xefffd3f8, 0x2f4b00), at 0xef235de8 [59] HandleStartToken__7CNavDTDP6CToken(0x30a700, 0x2f7900, 0x79, 0x0, 0xef22ec80, 0xef230010), at 0xef236810 [60] 0xef234b48(0x2f7900, 0x30a700, 0x3, 0xef267ef0, 0x2f8000, 0x2c4200), at 0xef234b47 [61] __cl__13CTokenHandlerP6CTokenP6nsIDTD(0xef234aa8, 0x2f7900, 0x30a700, 0xef247cf4, 0x2f1100, 0x2cd000), at 0xef247d14 [62] HandleToken__7CNavDTDP6CTokenP9nsIParser(0x30a700, 0x2f7900, 0x3a4380, 0xef23552c, 0xef230868, 0xef23509c), at 0xef235700 [63] BuildModel__7CNavDTDP9nsIParserP12nsITokenizerP16nsITokenObserverP14nsIContentSi nk(0x30a700, 0x3a4380, 0x2c5500, 0x0, 0x327100, 0xef23522c), at 0xef2352dc [64] BuildModel__8nsParser(0x3a4380, 0xef2433b8, 0x30a700, 0x2ce4be, 0xeedd6428, 0xffe0), at 0xef243414 [65] ResumeParse__8nsParserP6nsIDTD(0x0, 0x0, 0xef243248, 0xefffd77c, 0x0, 0x0), at 0xef243314 [66] OnDataAvailable__8nsParserP6nsIURLP14nsIInputStreamUi(0x3a4380, 0x39a500, 0x3a5b00, 0xa5f, 0xef243538, 0x2da000), at 0xef2436c8 [67] OnDataAvailable__18nsDocumentBindInfoP6nsIURLP14nsIInputStreamUi(0x3a4384, 0x39a500, 0x3a5b00, 0xa5f, 0xef78fcbc, 0x1f7001), at 0xef78fd1c [68] 0xeef42a18(0x2d9660, 0x1f7000, 0xa5f, 0xeef42998, 0x15a1, 0xee8a2e54), at 0xeef42a17 [69] _init(0x3a4280, 0x24, 0x156000, 0x160000, 0x1, 0x15648c), at 0xef092660 [70] _init(0x3a4280, 0xef092ca8, 0x0, 0x155000, 0xd260c, 0x1), at 0xef092de0 [71] NET_ProcessNet(0x0, 0x3, 0x1ec, 0x18c, 0x1e0, 0x410), at 0xeef02bac [72] NET_PollSockets(0x282000, 0xff4e0, 0x282018, 0x4, 0xefffde08, 0x20001), at 0xeef095d4 [73] NetPollSocketsCallback__15nsNetlibServiceP8nsITimerPv(0x26f480, 0x265700, 0xeef3cf94, 0xefffdaa8, 0x2c5380, 0x2c5), at 0xeef3cfa4 [74] FireTimeout__9TimerImpl(0x26f480, 0x282018, 0x0, 0x0, 0x0, 0x0), at 0xef600b7c [75] nsTimerExpired(0x26f480, 0xef601028, 0x173900, 0x0, 0x0, 0x0), at 0xef60102c [76] 0xfe6e4(0x2c5360, 0xefffe008, 0x26f480, 0x2c5398, 0x0, 0xefffdf78), at 0xfe6e3 [77] 0xfd870(0x156400, 0x156400, 0x156000, 0x156494, 0xefffe008, 0x15648c), at 0xfd86f [78] 0xfde80(0x156400, 0x156000, 0x156000, 0x156494, 0x156000, 0x1), at 0xfde7f [79] 0xfe008(0x27c480, 0x155000, 0x0, 0x164ce0, 0x0, 0xeec7fccc), at 0xfe007 [80] gtk_main(0x1f, 0x1, 0xef73d940, 0x164ce0, 0xffffffff, 0x1), at 0x79cc4 [81] Run__10nsAppShell(0x164e20, 0xef73d9f4, 0x164e20, 0x2b37c, 0xef7fabe0, 0x15c12d), at 0xef73db7c [82] 0x1fac8(0x160180, 0x1faa0, 0x160180, 0x2ad94, 0x0, 0x1601e9), at 0x1fac7 [83] main(0x1, 0xefffe2ec, 0xefffe2f4, 0x158f3c, 0x0, 0x0), at 0x1fca0 (dbx)
Assignee: shuang → rickg
Component: UE/UI → Viewer App
This does not sound like an UI bug. Reassign to Viewer App owner.
Ramiro--Please take a look. It's likely not something you'll fix, but you can isolate it for the real owner.
Assignee: rickg → ramiro
erik, does this stack ring any bells ? thanks
OK, sample #13 is the one with huge fonts (scaled). It looks like GDK aborts when the X server returns an allocation error. Not quite sure what to do about this. Will think about it some more...
Assignee: ramiro → mcafee
I cant reproduce this bug on linux. Reassigning to mcafee to try solaris.
Component: Viewer App → ActiveX Wrapper
OS: Solaris → All
Target Milestone: M11
Component: ActiveX Wrapper → Layout
Summary: Gdk-ERROR **: BadAlloc → Solaris: Gdk error during XQueryFont
Target Milestone: M11 → M12
m12
Blocks: 18471
Target Milestone: M12 → M13
Move to M13.
Target Milestone: M13 → M15
Do we need to fix this before beta 1?
Move to M16 for now ...
Target Milestone: M15 → M16
Target Milestone: M16 → M18
Move to M21 target milestone.
Target Milestone: M18 → M21
Solaris 2.6 seems to work, passed the test #13 test also.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
No longer blocks: 18471
You need to log in before you can comment on or make changes to this bug.