Closed
Bug 341095
Opened 20 years ago
Closed 20 years ago
mozilla/gfx/cairo/cairo/src/cairo-ft-font.c:673: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 312105
People
(Reporter: WeirdAl, Unassigned)
Details
(Keywords: assertion, crash)
#0 0xb74647c7 in raise () from /lib/tls/libc.so.6
#1 0xb746606b in abort () from /lib/tls/libc.so.6
#2 0xb745d735 in __assert_fail () from /lib/tls/libc.so.6
#3 0xb5e8aaf1 in _cairo_ft_unscaled_font_set_scale (unscaled=0x8915720, scale=0x8922760)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-ft-font.c:673
#4 0xb5e8ba5e in _cairo_ft_scaled_font_create (unscaled=0x8915720, font_face=0x89157e8, font_matrix=0x890ed6c,
ctm=0x890edd4, options=0xbfe48bcc, ft_options={load_flags = 200736, extra_flags = CAIRO_FT_OPTIONS_HINT_METRICS})
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-ft-font.c:1439
#5 0xb5e8c862 in _cairo_ft_font_face_scaled_font_create (abstract_face=0x89157e8, font_matrix=0x890ed6c,
ctm=0x890edd4, options=0xbfe48bcc, scaled_font=0xbfe48aa0)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-ft-font.c:2015
#6 0xb5e71c45 in _moz_cairo_scaled_font_create (font_face=0x89157e8, font_matrix=0x890ed6c, ctm=0x890edd4,
options=0xbfe48bcc) at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-scaled-font.c:439
#7 0xb5e64e48 in _cairo_gstate_ensure_scaled_font (gstate=0x890ed28)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-gstate.c:1396
#8 0xb5e650bc in _cairo_gstate_show_glyphs (gstate=0x890ed28, glyphs=0xbfe48cf8, num_glyphs=4)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-gstate.c:1496
#9 0xb5e5f622 in _moz_cairo_show_glyphs (cr=0x890db00, glyphs=0xbfe48cf8, num_glyphs=4)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo.c:2455
#10 0xb5e59c58 in DrawCairoGlyphs (ctx=0x890dae8, aFont=0x8807c98, pt=@0xbfe49560, aGlyphs=0x8886980)
at /home/ajvincent/mozbuilds/mozilla/gfx/thebes/src/gfxPangoFonts.cpp:602
#11 0xb5e5aae4 in gfxPangoTextRun::Draw (this=0x890ef78, aContext=0x890dae8, pt=@0xbfe495f8)
at /home/ajvincent/mozbuilds/mozilla/gfx/thebes/src/gfxPangoFonts.cpp:731
#12 0xb54f34b2 in nsThebesFontMetrics::DrawString (this=0x890cfa8, aString=0x864d848, aLength=4, aX=270, aY=240,
aFontID=-1, aSpacing=0x0, aContext=0x890da78)
at /home/ajvincent/mozbuilds/mozilla/gfx/src/thebes/nsThebesFontMetrics.cpp:406
#13 0xb54edd27 in nsThebesRenderingContext::DrawString (this=0x890da78, aString=0x864d848, aLength=4, aX=270,
aY=240, aFontID=-1, aSpacing=0x0)
at /home/ajvincent/mozbuilds/mozilla/gfx/src/thebes/nsThebesRenderingContext.cpp:1294
#14 0xb5ffd8af in nsLayoutUtils::SafeDrawString (aContext=0x890da7c, aString=0x864d848, aLength=4, aX=270, aY=240,
aFontID=-1, aSpacing=0x0) at /home/ajvincent/mozbuilds/mozilla/layout/base/nsLayoutUtils.cpp:1064
#15 0xb604bb16 in nsLayoutUtils::SafeDrawString (aContext=0x890da7c, aString=@0x8640fec, aX=270, aY=240, aFontID=-1,
aSpacing=0x0) at nsLayoutUtils.h:458
#16 0xb6207fe2 in nsTextBoxFrame::PaintTitle (this=0x8640fa8, aRenderingContext=@0x890da7c, aDirtyRect=@0xbfe49874,
aPt=@0xbfe497fc) at /home/ajvincent/mozbuilds/mozilla/layout/xul/base/src/nsTextBoxFrame.cpp:479
#17 0xb62080fc in nsDisplayXULTextBox::Paint (this=0x890de50, aBuilder=0xbfe498f8, aCtx=0x890da7c,
aDirtyRect=@0xbfe49874) at /home/ajvincent/mozbuilds/mozilla/layout/xul/base/src/nsTextBoxFrame.cpp:298
#18 0xb5fd31cb in nsDisplayList::Paint (this=0x890e740, aBuilder=0xbfe498f8, aCtx=0x890da7c, aDirtyRect=@0xbfe49874)
at /home/ajvincent/mozbuilds/mozilla/layout/base/nsDisplayList.cpp:304
#19 0xb5fd4527 in nsDisplayWrapList::Paint (this=0x890e734, aBuilder=0xbfe498f8, aCtx=0x890da7c,
aDirtyRect=@0xbfe49874) at /home/ajvincent/mozbuilds/mozilla/layout/base/nsDisplayList.cpp:670
#20 0xb5fd51ac in nsDisplayClip::Paint (this=0x890e734, aBuilder=0xbfe498f8, aCtx=0x890da7c, aDirtyRect=@0xbfe49a2c)
at /home/ajvincent/mozbuilds/mozilla/layout/base/nsDisplayList.cpp:902
#21 0xb5fd31cb in nsDisplayList::Paint (this=0xbfe49970, aBuilder=0xbfe498f8, aCtx=0x890da7c, aDirtyRect=@0xbfe49a2c)
at /home/ajvincent/mozbuilds/mozilla/layout/base/nsDisplayList.cpp:304
#22 0xb5ffca91 in nsLayoutUtils::PaintFrame (aRenderingContext=0x890da7c, aFrame=0x8475af4,
aDirtyRegion=@0xbfe49a0c, aBackground=4294967295)
---Type <return> to continue, or q <return> to quit---
at /home/ajvincent/mozbuilds/mozilla/layout/base/nsLayoutUtils.cpp:718
#23 0xb600859c in PresShell::Paint (this=0x84845d8, aView=0x84842a8, aRenderingContext=0x890da7c,
aDirtyRegion=@0xbfe49a0c) at /home/ajvincent/mozbuilds/mozilla/layout/base/nsPresShell.cpp:5679
#24 0xb649f8e7 in nsViewManager::RenderViews (this=0x8484230, aView=0x84842a8, aRC=@0x890da7c, aRegion=@0xbfe49acc,
aRCSurface=0x0) at /home/ajvincent/mozbuilds/mozilla/view/src/nsViewManager.cpp:815
#25 0xb64a5196 in nsViewManager::Refresh (this=0x8484230, aView=0x84842a8, aContext=0x890da7c, aRegion=0x890cf08,
aUpdateFlags=1) at /home/ajvincent/mozbuilds/mozilla/view/src/nsViewManager.cpp:578
#26 0xb64a59d4 in nsViewManager::DispatchEvent (this=0x8484230, aEvent=0xbfe49d38, aStatus=0xbfe49cac)
at /home/ajvincent/mozbuilds/mozilla/view/src/nsViewManager.cpp:1420
#27 0xb64991a7 in HandleEvent (aEvent=0xbfe49d38) at /home/ajvincent/mozbuilds/mozilla/view/src/nsView.cpp:171
#28 0xb5c78619 in nsCommonWidget::DispatchEvent (this=0x8484318, aEvent=0xbfe49d38, aStatus=@0xbfe49d84)
at /home/ajvincent/mozbuilds/mozilla/widget/src/gtk2/nsCommonWidget.cpp:216
#29 0xb5c6df12 in nsWindow::OnExposeEvent (this=0x8484318, aWidget=0x823cf50, aEvent=0xbfe4a400)
at /home/ajvincent/mozbuilds/mozilla/widget/src/gtk2/nsWindow.cpp:1626
#30 0xb5c6e36c in expose_event_cb (widget=0x823cf50, event=0xbfe4a400)
at /home/ajvincent/mozbuilds/mozilla/widget/src/gtk2/nsWindow.cpp:4049
#31 0xb7ae6aa0 in _gtk_marshal_BOOLEAN__BOXED (closure=0x820ac80, return_value=0xbfe4a020, n_param_values=2,
param_values=0xbfe4a11c, invocation_hint=0xbfe4a00c, marshal_data=0xb5c6e330) at gtkmarshalers.c:83
#32 0xb7717cb9 in IA__g_closure_invoke (closure=0x820ac80, return_value=0x0, n_param_values=0, param_values=0x0,
invocation_hint=0x0) at gclosure.c:490
#33 0xb7727c0a in signal_emit_unlocked_R (node=0x82026f0, detail=0, instance=0x823cf50, emission_return=0xbfe4a2dc,
instance_and_params=0xbfe4a11c) at gsignal.c:2438
#34 0xb77291fe in IA__g_signal_emit_valist (instance=0x823cf50, signal_id=42, detail=0, var_args=0xbfe4a360 "x£ä¿")
at gsignal.c:2207
#35 0xb77297f9 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2241
#36 0xb7bd8624 in gtk_widget_event_internal (widget=0x823cf50, event=0xbfe4a400) at gtkwidget.c:3751
#37 0xb7ae53d8 in IA__gtk_main_do_event (event=0xbfe4a400) at gtkmain.c:1386
#38 0xb794bdad in gdk_window_process_updates_internal (window=0x82f9118) at gdkwindow.c:2292
#39 0xb794be8f in IA__gdk_window_process_all_updates () at gdkwindow.c:2345
#40 0xb7beaa85 in gtk_window_check_resize (container=0x823a1f0) at gtkwindow.c:5536
#41 0xb7724a2b in IA__g_cclosure_marshal_VOID__VOID (closure=0x822f580, return_value=0x0, n_param_values=1,
param_values=0xbfe4a82c, invocation_hint=0xbfe4a71c, marshal_data=0xb7bea740) at gmarshal.c:77
#42 0xb77175f9 in g_type_class_meta_marshal (closure=0x822f580, return_value=0x0, n_param_values=0,
param_values=0xbfe4a82c, invocation_hint=0x0, marshal_data=0x0) at gclosure.c:567
#43 0xb7717cb9 in IA__g_closure_invoke (closure=0x822f580, return_value=0x0, n_param_values=0, param_values=0x0,
invocation_hint=0x0) at gclosure.c:490
#44 0xb7728315 in signal_emit_unlocked_R (node=0x822f5b0, detail=0, instance=0x823a1f0, emission_return=0x0,
instance_and_params=0xbfe4a82c) at gsignal.c:2476
#45 0xb7729490 in IA__g_signal_emit_valist (instance=0x823a1f0, signal_id=85, detail=0,
var_args=<value optimized out>) at gsignal.c:2197
#46 0xb77297f9 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2241
#47 0xb7a53691 in IA__gtk_container_check_resize (container=0x823a1f0) at gtkcontainer.c:1190
#48 0xb7a53718 in gtk_container_idle_sizer (data=0x0) at gtkcontainer.c:1114
#49 0xb76ad7d1 in g_idle_dispatch (source=0x82b0e98, callback=0x6, user_data=0x0) at gmain.c:3796
#50 0xb76ab1bc in IA__g_main_context_dispatch (context=0x80ba400) at gmain.c:1916
#51 0xb76ae64b in g_main_context_iterate (context=0x80ba400, block=1, dispatch=1, self=0x81b1a88) at gmain.c:2547
#52 0xb76aeb27 in IA__g_main_context_iteration (context=0x80ba400, may_block=1) at gmain.c:2606
---Type <return> to continue, or q <return> to quit---
#53 0xb5c759ad in nsAppShell::ProcessNextNativeEvent (this=0x81abaf8, mayWait=1)
at /home/ajvincent/mozbuilds/mozilla/widget/src/gtk2/nsAppShell.cpp:144
#54 0xb5c93c3f in nsBaseAppShell::DoProcessNextNativeEvent (this=0x81abaf8, mayWait=1)
at /home/ajvincent/mozbuilds/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:136
#55 0xb5c940dd in nsBaseAppShell::OnProcessNextEvent (this=0x81abaf8, thr=0x80bc130, mayWait=1, recursionDepth=0)
at /home/ajvincent/mozbuilds/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:231
#56 0xb7ea82c2 in nsThread::ProcessNextEvent (this=0x80bc130, mayWait=1, result=0xbfe4aca0)
at /home/ajvincent/mozbuilds/mozilla/xpcom/threads/nsThread.cpp:469
#57 0xb7e2d4b8 in NS_ProcessNextEvent_P (thread=0x80bc130, mayWait=1) at nsThreadUtils.cpp:225
#58 0xb5c93cd4 in nsBaseAppShell::Run (this=0x81abaf8)
at /home/ajvincent/mozbuilds/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:153
#59 0xb5d2e6fa in nsAppStartup::Run (this=0x81aa1f0)
at /home/ajvincent/mozbuilds/mozilla/xpfe/components/startup/src/nsAppStartup.cpp:218
#60 0x0804e7fa in main1 (argc=1, argv=0xbfe4afa4, nativeApp=0x80ec9e0)
at /home/ajvincent/mozbuilds/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1238
#61 0x0804ecdc in main (argc=1, argv=0xbfe4afa4)
at /home/ajvincent/mozbuilds/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1740
(gdb) frame 03
#3 0xb5e8aaf1 in _cairo_ft_unscaled_font_set_scale (unscaled=0x8915720, scale=0x8922760)
at /home/ajvincent/mozbuilds/mozilla/gfx/cairo/cairo/src/cairo-ft-font.c:673
673 assert (error == 0);
Current language: auto; currently c
(gdb) list
668 error = FT_Set_Pixel_Sizes (unscaled->face,
669 unscaled->face->available_sizes[best_i].width,
670 unscaled->face->available_sizes[best_i].height);
671 }
672
673 assert (error == 0);
674 }
675
676 /* Empirically-derived subpixel filtering values thanks to Keith
677 * Packard and libXft. */
(gdb) print error
$1 = 23
This is on a SeaMonkey trunk build for Kanotix, clobber, at startup. I have no idea what's causing it.
Here's my build config.
#
# See http://www.mozilla.org/build/ for build instructions.
#
# Options for client.mk.
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=/home/ajvincent/mozbuilds/debug
#mk_add_options MOZ_CO_DATE="10 May 2006 20:00 PDT"
# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=suite
ac_add_options --enable-svg
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-tests
ac_add_options --enable-debug
ac_add_options --enable-chrome-format=flat
ac_add_options --disable-optimize
ac_add_options --enable-crash-on-assert
ac_add_options --enable-extensions=default,xpath-generator
# Possible regression from bug 305835
ac_add_options --disable-crypto
Steps to reproduce:
dist/bin/seamonkey
Expected results: SeaMonkey loads.
Actual results: crash
This is the error I was getting last October in bug 312105. I narrowed it down to debug cairo builds only. There are a few pages in that bug that consistently crash. If you can't reproduce with a non-debug build then I'll dupe that bug to this one, since the other one is messy.
Comment 2•20 years ago
|
||
well, the assertion is in cairo code, and assertions have no effect in non-debug builds, so it's no surprise that only cairo debug builds are affected.
| Reporter | ||
Comment 3•20 years ago
|
||
Yeah, unable to reproduce in opt build. :( My debug build is therefore unusable.
*** This bug has been marked as a duplicate of 312105 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•