Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 02:38:13 +0100
From:      Palle Girgensohn <girgen@pingpong.net>
To:        ports@freebsd.org, mozilla@freebsd.org
Subject:   mozilla won't run (fontconfig's fault?)
Message-ID:  <244870000.1043890693@palle.girgensohn.se>

next in thread | raw e-mail | index | archive | help
Hi!

After a portupgrade -R two days ago, none of the mozilla ports run anymore. 
I've tried backing to previous versions, both package and by build ports, 
but to no avail. All that happens is that they just stop. error code = 0. 
What gives?

banan:girgen$ mozilla
Type Manifest File: /usr/X11R6/lib/mozilla/components/xpti.dat
Type Manifest File: /usr/X11R6/lib/mozilla/components/xpti.dat
banan:girgen$ echo $?
0
banan:girgen$

for example, I have no MRE?
MRE_HOME=/usr/X11R6/lib/mre/mre-1.2.1, but I have no such directory?


I've built mozilla with CFLAGS="-g -ggdb" and --with-debug, and it seems 
there's some trouble with the fonts?

FreeBSD-4-7stable, fresh ports tree and latest mozilla built with 
portupgrade -R mozilla.

# portupgrade -nR mozilla
...
--->  Reporting the results (+:succeeded / -:ignored / *:skipped / !:failed)
        - graphics/lcms (lcms-1.09)
        - devel/imake-4 (imake-4.2.0_1)
        - graphics/png (png-1.2.5)
        - textproc/expat2 (expat-1.95.5)
        - converters/libiconv (libiconv-1.8_2)
        - devel/gettext (gettext-0.11.5_1)
        - print/freetype2 (freetype2-2.1.3_1)
        - x11/XFree86-4-libraries (XFree86-libraries-4.2.1_3)
        - devel/pkgconfig (pkgconfig-0.15.0)
        - devel/glib12 (glib-1.2.10_8)
        - x11-toolkits/gtk12 (gtk-1.2.10_9)
        - graphics/jpeg (jpeg-6b_1)
        - devel/ORBit (ORBit-0.5.17)
        - x11-fonts/fontconfig (fontconfig-2.1_2)
        - graphics/libmng (libmng-1.0.4)
        - x11-fonts/Xft (Xft-2.1)
        - www/mozilla (mozilla-1.2.1_1,2)

Any ideas?

/Palle

banan:mozilla$ mozilla -g
./run-mozilla.sh -g ./mozilla-bin
MOZILLA_FIVE_HOME=.
 
LD_LIBRARY_PATH=.:./plugins:/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib/m
re/mre-1.2.1
DISPLAY=localhost:10.0
FONTCONFIG_PATH=/usr/X11R6/etc/fonts:./res/Xft
DYLD_LIBRARY_PATH=.:/usr/X11R6/lib/mre/mre-1.2.1
     LIBRARY_PATH=.:./components:/usr/X11R6/lib/mre/mre-1.2.1
       SHLIB_PATH=.:/usr/X11R6/lib/mre/mre-1.2.1
          LIBPATH=.:/usr/X11R6/lib/mre/mre-1.2.1
       ADDON_PATH=.
      MOZ_PROGRAM=./mozilla-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/bin/gdb ./mozilla-bin -x /tmp/mozargs5844
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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 "i386-unknown-freebsd"...(no debugging symbols 
found)...
(gdb) runt
Undefined command: "runt".  Try "help".
(gdb) run
Starting program: /usr/X11R6/lib/mozilla/./mozilla-bin
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
Type Manifest File: /usr/X11R6/lib/mozilla/components/xpti.dat
+++ JavaScript debugging hooks installed.
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
WARNING: nsXKBModeSwitch::ControlWorkaround:, file nsKeyboardUtils.cpp, 
line 78
WARNING:     grab_during, file nsKeyboardUtils.cpp, line 79
WARNING:     ungrab_duri, file nsKeyboardUtils.cpp, line 80
WARNING:

nsXKBModeSwitch::HandleMappingNotify:, file nsKeyboardUtils.cpp, line 154
WARNING:     gModeSwitch, file nsKeyboardUtils.cpp, line 155
WARNING:     gModeSwitch, file nsKeyboardUtils.cpp, line 156
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=16
WEBSHELL+ = 1
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
IsPluginFile(/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
) == TRUE
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
LoadPlugin() /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so 
returned 826cae0
GetMIMEDescription() returned "application/x-java-vm::Java(tm) 
Plug-in;application/x-java-applet::Java(tm) 
Plug-in;application/x-java-applet;version=1.1::Java(tm) 
Plug-in;application/x-java-applet;version=1.1.1::Java(tm) 
Plug-in;application/x-java-applet;version=1.1.2::Java(tm) 
Plug-in;application/x-java-applet;version=1.1.3::Java(tm) 
Plug-in;application/x-java-applet;version=1.2::Java(tm) 
Plug-in;application/x-java-applet;version=1.2.1::Java(tm) 
Plug-in;application/x-java-applet;version=1.2.2::Java(tm) 
Plug-in;application/x-java-applet;version=1.3::Java(tm) 
Plug-in;application/x-java-applet;jpi-version=1.3.1::Java(tm) 
Plug-in;application/x-java-bean::Java(tm) 
Plug-in;application/x-java-bean;version=1.1::Java(tm) 
Plug-in;application/x-java-bean;version=1.1.1::Java(tm) 
Plug-in;application/x-java-bean;version=1.1.2::Java(tm) 
Plug-in;application/x-java-bean;version=1.1.3::Java(tm) 
Plug-in;application/x-java-bean;version=1.2::Java(tm) 
Plug-in;application/x-java-bean;version=1.2.1::Java(tm) 
Plug-in;application/x-java-bean;version=1.2.2::Java(tm) 
Plug-in;application/x-java-bean;version=1.3::Java(tm) 
Plug-in;application/x-java-bean;jpi-version=1.3.1::Java(tm) Plug-in"
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
IsPluginFile(/usr/X11R6/lib/mozilla/plugins/libnullplugin.so) == TRUE
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
LoadPlugin() /usr/X11R6/lib/mozilla/plugins/libnullplugin.so returned 
826caa0
GetMIMEDescription() returned "*:.*:All types"
For application/x-java-vm found plugin 
/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
WEBSHELL+ = 2
bad FastLoad file version
(no debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...
Note: verifyreflow is disabled
Note: styleverifytree is disabled
Note: frameverifytree is disabled
WARNING: nsFontMetricsXft::DoMatch failed to match anything, file 
nsFontMetricsXft.cpp, line 1018
WARNING: nsFontMetricsXft::DoMatch failed to match anything, file 
nsFontMetricsXft.cpp, line 1018
###!!! ASSERTION: font metrics should not be null - bug 136248: 
'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 707
Break: at file nsDeviceContext.cpp, line 707
###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file 
nsHTMLReflowState.cpp, line 2283
Break: at file nsHTMLReflowState.cpp, line 2283
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x2a340f36 in nsHTMLReflowState::UseComputedHeight () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so

(gdb) bt
#0  0x2a340f36 in nsHTMLReflowState::UseComputedHeight () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#1  0x2a3412c6 in nsHTMLReflowState::UseComputedHeight () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#2  0x2a3413ba in nsHTMLReflowState::CalcLineHeight () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#3  0x2a2f9a0b in nsBlockReflowState::nsBlockReflowState () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#4  0x2a2e29eb in nsBlockFrame::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#5  0x2a3088c8 in nsContainerFrame::ReflowChild () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#6  0x2a33b1ae in CanvasFrame::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#7  0x2a4be5ea in nsBoxToBlockAdaptor::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#8  0x2a4bde3e in nsBoxToBlockAdaptor::DoLayout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#9  0x2a4b92e9 in nsBox::Layout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#10 0x2a4a6704 in nsScrollBoxFrame::DoLayout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#11 0x2a4b92e9 in nsBox::Layout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#12 0x2a4c1dcc in nsContainerBox::LayoutChildAt () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#13 0x2a3335d7 in nsGfxScrollFrameInner::LayoutBox () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#14 0x2a333a0f in nsGfxScrollFrameInner::Layout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#15 0x2a333641 in nsGfxScrollFrame::DoLayout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#16 0x2a4b92e9 in nsBox::Layout () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#17 0x2a4d8087 in nsBoxFrame::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#18 0x2a33253e in nsGfxScrollFrame::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#19 0x2a3088c8 in nsContainerFrame::ReflowChild () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#20 0x2a3d21a8 in ViewportFrame::Reflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#21 0x2a38ebae in PresShell::InitialReflow () from 
/usr/X11R6/lib/mozilla/components/libgklayout.so
#22 0x28f3134d in HTMLContentSink::StartLayout () from 
/usr/X11R6/lib/mozilla/components/libgkcontent.so
#23 0x28f2e82f in HTMLContentSink::OpenBody () from 
/usr/X11R6/lib/mozilla/components/libgkcontent.so
#24 0x2982d7ca in CNavDTD::OpenBody () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#25 0x2982deb1 in CNavDTD::OpenContainer () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#26 0x29828f32 in CNavDTD::HandleDefaultStartToken () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#27 0x2982a2cd in CNavDTD::HandleStartToken () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#28 0x29827ca8 in CNavDTD::HandleToken () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#29 0x29826851 in CNavDTD::BuildModel () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#30 0x2984405c in nsParser::BuildModel () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#31 0x29843c4f in nsParser::ResumeParse () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#32 0x29845a70 in nsParser::OnDataAvailable () from 
/usr/X11R6/lib/mozilla/components/libhtmlpars.so
#33 0x299c3fdd in nsDocumentOpenInfo::OnDataAvailable () from 
/usr/X11R6/lib/mozilla/components/liburiloader.so
#34 0x28ae1e29 in nsStreamIOChannel::OnDataAvailable () from 
/usr/X11R6/lib/mozilla/components/libnecko.so
#35 0x28b17481 in nsOnDataAvailableEvent::HandleEvent () from 
/usr/X11R6/lib/mozilla/components/libnecko.so
#36 0x28af6bf4 in nsARequestObserverEvent::HandlePLEvent () from 
/usr/X11R6/lib/mozilla/components/libnecko.so
#37 0x282fd97d in PL_HandleEvent () from 
/usr/X11R6/lib/mozilla/./libxpcom.so
#38 0x282fe187 in PL_ProcessEventsBeforeID () from 
/usr/X11R6/lib/mozilla/./libxpcom.so
#39 0x29624fab in processQueue () from 
/usr/X11R6/lib/mozilla/components/libwidget_gtk.so
#40 0x2829f2e1 in nsVoidArray::EnumerateForwards () from 
/usr/X11R6/lib/mozilla/./libxpcom.so
#41 0x29624ff8 in nsAppShell::ProcessBeforeID () from 
/usr/X11R6/lib/mozilla/components/libwidget_gtk.so
#42 0x29634f28 in handle_gdk_event () from 
/usr/X11R6/lib/mozilla/components/libwidget_gtk.so
#43 0x28534b90 in gdk_event_dispatch () from /usr/X11R6/lib/libgdk12.so.2
#44 0x28564c3b in g_main_dispatch () from /usr/local/lib/libglib12.so.3
#45 0x28565264 in g_main_iterate () from /usr/local/lib/libglib12.so.3
#46 0x285653fc in g_main_run () from /usr/local/lib/libglib12.so.3
#47 0x284837e7 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2
#48 0x29624bb5 in nsAppShell::Run () from 
/usr/X11R6/lib/mozilla/components/libwidget_gtk.so
---Type <return> to continue, or q <return> to quit---
#49 0x295c3bfd in nsAppShellService::Run () from 
/usr/X11R6/lib/mozilla/components/libnsappshell.so
#50 0x805a6b9 in nsILocalFile::GetIID ()
#51 0x8058cb1 in main ()
#52 0x8058991 in _start ()
(gdb)

(gdb) cont
Continuing.

Program exited with code 013.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?244870000.1043890693>