ports/127298: ports/www/xulrunner

Victor Balada Diaz v.balada at coolbleiben.net
Thu Sep 11 11:00:14 UTC 2008


>Number:         127298
>Category:       ports
>Synopsis:       ports/www/xulrunner
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 11 11:00:09 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Victor Balada Diaz
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
Coolbleiben
>Environment:
FreeBSD oro.idbe.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Aug 19 11:42:09 CEST 2008     victor at oro.idbe.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hello,

xulrunner installation segfaults while trying to run mozilla2ps[1] on
an HTML file. The printed postcript file is ok, no corruption or anything like
that. Seems that it's segfaulting just before exiting the application.


I have the core available in case someone needs it (21 MB).

Regards.

[1]: http://michele.pupazzo.org/mozilla2ps/

Backtrace:

%gdb /usr/local/lib/xulrunner/xulrunner-bin -c xulrunner-bin.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...
Core was generated by `xulrunner-bin'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/xulrunner/libmozjs.so...done.

[ ... ]


#0  0x0000000804835fec in thr_kill () from /lib/libc.so.7
[New Thread 0x805b25120 (LWP 105491)]
[New Thread 0x805902820 (LWP 105057)]
[New Thread 0x805902540 (LWP 104410)]
[New Thread 0x805901290 (LWP 100628)]
[New Thread 0x805901120 (LWP 105539)]
(gdb) bt
#0  0x0000000804835fec in thr_kill () from /lib/libc.so.7
#1  0x0000000800cd2377 in nsProfileLock::FatalSignalHandler (signo=11)
at nsProfileLock.cpp:206
#2  <signal handler called>
#3  0x000000080387ab44 in IA__FcCharSetDestroy ()
from /usr/local/lib/libfontconfig.so.1
#4  0x00000008017c79f9 in ~nsFontMetricsPS (this=0x8060fa280) at
nsFontMetricsPS.cpp:111
#5  0x00000008017c6b55 in nsFontMetricsPS::Release (this=0x8060fa280) at
nsFontMetricsPS.cpp:135
#6  0x0000000800ca7a5a in nsFontCache::Flush (this=0x8080303a0) at
nsDeviceContext.cpp:715
#7  0x0000000800ca7b2b in ~nsFontCache (this=0x8080303a0) at
nsDeviceContext.cpp:580
#8  0x00000008017c44a3 in ~nsFontCachePS (this=0x8080303a0) at
nsDeviceContextPS.cpp:547
#9  0x0000000800ca8633 in ~DeviceContextImpl (this=0x8060124a0) at
nsDeviceContext.cpp:88
#10 0x00000008017c398e in ~nsDeviceContextPS (this=0x8060124a0) at
nsDeviceContextPS.cpp:134
#11 0x0000000800ca79d5 in DeviceContextImpl::Release (this=0x8060124a0)
at nsDeviceContext.cpp:54
#12 0x00000008017c32d9 in nsDeviceContextPS::Release (this=Variable
"this" is not available.
) at nsDeviceContextPS.cpp:179
#13 0x000000080112fbde in ~nsPrintData (this=0x805f8c010) at
nsCOMPtr.h:583
#14 0x000000080112136e in nsPrintEngine::Destroy (this=0x8060f9680) at
nsPrintEngine.cpp:282
#15 0x0000000800f92ced in DocumentViewerImpl::OnDonePrinting
(this=0x805974e00) at nsDocumentViewer.cpp:4125
#16 0x000000080111f4eb in HandlePLEvent (aEvent=Variable "aEvent" is not
available.
) at nsPrintEngine.cpp:4541
#17 0x0000000800c548e1 in PL_HandleEvent (self=0x80838e200) at
plevent.c:688
#18 0x0000000800c54c88 in PL_ProcessPendingEvents (self=0x80598be70) at
plevent.c:623
#19 0x0000000800c57c37 in nsEventQueueImpl::ProcessPendingEvents
(this=0x80590ad80) at nsEventQueue.cpp:417
#20 0x000000080179ddc2 in event_processor_callback (source=0x805874d98,
condition=0, data=0x19c43) at nsAppShell.cpp:67
#21 0x0000000803f20093 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.0
#22 0x0000000803f23705 in g_main_context_check ()
from /usr/local/lib/libglib-2.0.so.0
#23 0x0000000803f23af5 in g_main_loop_run ()
from /usr/local/lib/libglib-2.0.so.0
#24 0x000000080229da93 in gtk_main ()
from /usr/local/lib/libgtk-x11-2.0.so.0
#25 0x000000080179e145 in nsAppShell::Run (this=0x805a79a00) at
nsAppShell.cpp:139
#26 0x00000008016f178e in nsAppStartup::Run (this=0x805a76d90) at
nsAppStartup.cpp:150
#27 0x0000000800cc74fb in XRE_main (argc=Variable "argc" is not
available.
) at nsAppRunner.cpp:2374
#28 0x0000000000402fe9 in main (argc=7, argv=0x7fffffffe7b8) at
nsXULRunnerApp.cpp:513
(gdb) quit
>How-To-Repeat:
Install mozilla2ps and try to run xulrunner with it. It will seg fault after printing the postcript file and before exiting.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list