Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 16:42:09 GMT
From:      Alex <xfb52@dial.pipex.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180095: seamonkey segmentation faults when compat6x installed
Message-ID:  <201306291642.r5TGg9lO030541@oldred.freebsd.org>
Resent-Message-ID: <201306291650.r5TGo0f5086277@freefall.freebsd.org>

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

>Number:         180095
>Category:       ports
>Synopsis:       seamonkey segmentation faults when compat6x installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 29 16:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alex
>Release:        8,4
>Organization:
>Environment:
FreeBSD leira 8.4-RELEASE FreeBSD 8.4-RELEASE #1 r252306M: Thu Jun 27 18:51:39 BST 2013     alex@leira:/usr/obj/usr/src/sys/LEIRA8-SMP  i386

>Description:
Brand new 8.4 machine running under vmplayer.  All ports installed afresh from recent ports tree.

Installed seamonkey-2.17.1 and it worked fine.

Later installed compat6x-i386-6.4.604000.200810_3

Now seamonkey segfaults just after asking for the master password.

Uninstall compat6x and seamonkey works fine again.

Can re-install compat6x and run seamonkey IF the following is added to /etc/libmap.conf:

[/usr/local/bin/seamonkey]
libc.so.6               libc.so.7

Back trace from seamonkey core: (note the existence of calls into /usr/local/lib/compat/libc.so.6 which is what put me onto the likely cause of the problem)

% gdb /usr/local/bin/seamonkey seamonkey.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 "i386-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `seamonkey'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/gcc46/libstdc++.so.6...done.
Loaded symbols for /usr/local/lib/gcc46/libstdc++.so.6
Reading symbols from /usr/local/lib/gcc46/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/gcc46/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/seamonkey/libmozalloc.so...done.
Loaded symbols for /usr/local/lib/seamonkey/libmozalloc.so
Reading symbols from /usr/local/lib/seamonkey/libxul.so...done.
Loaded symbols for /usr/local/lib/seamonkey/libxul.so
Reading symbols from /usr/local/lib/libffi.so.6...done.
Loaded symbols for /usr/local/lib/libffi.so.6
Reading symbols from /usr/local/lib/nss/libssl3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libssl3.so.1
Reading symbols from /usr/local/lib/nss/libsmime3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libsmime3.so.1
Reading symbols from /usr/local/lib/nss/libnss3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnss3.so.1
Reading symbols from /usr/local/lib/nss/libnssutil3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnssutil3.so.1
Reading symbols from /usr/local/lib/libcairo.so.2...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /usr/local/lib/libXrender.so.1...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libX11.so.6...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libsqlite3.so.8...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.8
Reading symbols from /usr/local/lib/libjpeg.so.11...done.
Loaded symbols for /usr/local/lib/libjpeg.so.11
Reading symbols from /usr/local/lib/libpng15.so.15...done.
Loaded symbols for /usr/local/lib/libpng15.so.15
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libhunspell-1.3.so.0...done.
Loaded symbols for /usr/local/lib/libhunspell-1.3.so.0
Reading symbols from /usr/local/lib/event2/libevent-2.0.so.6...done.
Loaded symbols for /usr/local/lib/event2/libevent-2.0.so.6
Reading symbols from /usr/local/lib/libvpx.so.1...done.
Loaded symbols for /usr/local/lib/libvpx.so.1
Reading symbols from /usr/local/lib/libpixman-1.so.9...done.
Loaded symbols for /usr/local/lib/libpixman-1.so.9
Reading symbols from /usr/local/lib/libv4l2.so.0...done.
Loaded symbols for /usr/local/lib/libv4l2.so.0
Reading symbols from /usr/local/lib/libasound.so.2...done.
Loaded symbols for /usr/local/lib/libasound.so.2
Reading symbols from /usr/local/lib/libplds4.so.1...done.
Loaded symbols for /usr/local/lib/libplds4.so.1
Reading symbols from /usr/local/lib/libplc4.so.1...done.
Loaded symbols for /usr/local/lib/libplc4.so.1
Reading symbols from /usr/local/lib/libnspr4.so.1...done.
Loaded symbols for /usr/local/lib/libnspr4.so.1
Reading symbols from /usr/local/lib/libdbus-glib-1.so.2...done.
Loaded symbols for /usr/local/lib/libdbus-glib-1.so.2
Reading symbols from /usr/local/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libXext.so.6...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libgio-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /usr/local/lib/libXinerama.so.1...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXi.so.6...done.
Loaded symbols for /usr/local/lib/libXi.so.6
Reading symbols from /usr/local/lib/libXrandr.so.2...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libXcursor.so.1...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libXcomposite.so.1...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1
Reading symbols from /usr/local/lib/libXdamage.so.1...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libXfixes.so.3...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/local/lib/libXt.so.6...done.
Loaded symbols for /usr/local/lib/libXt.so.6
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libstartup-notification-1.so.0...done.
Loaded symbols for /usr/local/lib/libstartup-notification-1.so.0
Reading symbols from /lib/libkvm.so.5...done.
Loaded symbols for /lib/libkvm.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/lib/libbz2.so.4...done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/local/lib/libxcb-shm.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-shm.so.0
Reading symbols from /usr/local/lib/libxcb-render.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-render.so.0
Reading symbols from /usr/local/lib/libxcb.so.2...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /usr/local/lib/libv4lconvert.so.0...done.
Loaded symbols for /usr/local/lib/libv4lconvert.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libpcre.so.3...done.
Loaded symbols for /usr/local/lib/libpcre.so.3
Reading symbols from /usr/local/lib/libSM.so.6...done.
Loaded symbols for /usr/local/lib/libSM.so.6
Reading symbols from /usr/local/lib/libICE.so.6...done.
Loaded symbols for /usr/local/lib/libICE.so.6
Reading symbols from /usr/local/lib/libxcb-util.so.1...done.
Loaded symbols for /usr/local/lib/libxcb-util.so.1
Reading symbols from /usr/local/lib/libX11-xcb.so.1...done.
Loaded symbols for /usr/local/lib/libX11-xcb.so.1
Reading symbols from /usr/local/lib/seamonkey/libxpcom.so...done.
Loaded symbols for /usr/local/lib/seamonkey/libxpcom.so
Reading symbols from /usr/local/lib/seamonkey/components/libmozgnome.so...done.
Loaded symbols for /usr/local/lib/seamonkey/components/libmozgnome.so
Reading symbols from /usr/local/lib/seamonkey/components/libdbusservice.so...done.
Loaded symbols for /usr/local/lib/seamonkey/components/libdbusservice.so
Reading symbols from /usr/local/lib/seamonkey/components/libsuite.so...done.
Loaded symbols for /usr/local/lib/seamonkey/components/libsuite.so
Reading symbols from /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/compat/libc.so.6...done.
Loaded symbols for /usr/local/lib/compat/libc.so.6
Reading symbols from /usr/local/lib/seamonkey/extensions/lightning@seamonkey.mozilla.org/components/libcalbasecomps.so...done.
Loaded symbols for /usr/local/lib/seamonkey/extensions/lightning@seamonkey.mozilla.org/components/libcalbasecomps.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/local/lib/nss/libsoftokn3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libsoftokn3.so.1
Reading symbols from /usr/local/lib/nss/libnssdbm3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnssdbm3.so.1
Reading symbols from /usr/local/lib/nss/libfreebl3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libfreebl3.so.1
Reading symbols from /usr/local/lib/nss/libnssckbi.so...done.
Loaded symbols for /usr/local/lib/nss/libnssckbi.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x4822140b in thr_kill () from /lib/libc.so.7
[New Thread 51876f00 (LWP 100226/StreamTrans #8)]
[New Thread 50b2a1c0 (LWP 100196/DOM Worker)]
[New Thread 4fb52780 (LWP 100157/seamonkey)]
[New Thread 502df5c0 (LWP 100180/HTML5 Parser)]
[New Thread 502e0b00 (LWP 100161/Cert Verify)]
[New Thread 4f161fc0 (LWP 100151/Timer)]
[New Thread 48395240 (LWP 100148/JS Watchdog)]
[New Thread 48395380 (LWP 100145/seamonkey)]
[New Thread 483954c0 (LWP 100136/JS GC Helper)]
[New Thread 483959c0 (LWP 100132/Hang Monitor)]
[New Thread 48395c40 (LWP 100089/Socket Thread)]
[New Thread 48396280 (LWP 100083/XPCOM CC)]
[New Thread 483963c0 (LWP 100055/Gecko_IOThread)]
[New Thread 48301140 (LWP 100218/initial thread)]
(gdb) bt
#0  0x4822140b in thr_kill () from /lib/libc.so.7
#1  0x481cfa86 in pthread_kill () from /lib/libthr.so.3
#2  0x481cd383 in raise () from /lib/libthr.so.3
#3  0x487426be in XRE_InstallX11ErrorHandler () from /usr/local/lib/seamonkey/libxul.so
#4  <signal handler called>
#5  0x4e27fe13 in __ULtod_D2A () from /usr/local/lib/compat/libc.so.6
#6  0x482c6bda in .cerror () from /lib/libc.so.7
#7  0x482f9908 in __JCR_LIST__ () from /usr/local/lib/libffi.so.6
#8  0x482f7fb7 in ffi_call_SYSV () from /usr/local/lib/libffi.so.6
#9  0x482f7dee in ffi_call () from /usr/local/lib/libffi.so.6
#10 0x4a5e9b1d in js::SizeOfDataIfCDataObject () from /usr/local/lib/seamonkey/libxul.so
#11 0x4d4a04c0 in ?? ()
#12 0x4e2b32b8 in gettimeofday () from /usr/local/lib/compat/libc.so.6
#13 0x4d49d290 in ?? ()
#14 0xbebef350 in ?? ()
#15 0xbebef390 in ?? ()
#16 0x4b37bfe0 in js::FunctionClass () from /usr/local/lib/seamonkey/libxul.so
#17 0x50e99468 in ?? ()
#18 0x00000002 in ?? ()
#19 0x00000002 in ?? ()
#20 0x00000000 in ?? ()



>How-To-Repeat:
Install www/seamonkey from ports with config:

% make showconfig
===> The following configuration options are available for seamonkey-2.17.1:
     CHATZILLA=off: Chatzilla IRC module
     COMPOSER=on: HTML Composer module
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Install debug symbols
     ENIGMAIL=off: Enigmail extension
     GCONF=off: GConf configuration backend support
     GIO=on: GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GNOMEVFS2=off: GnomeVFS2 (virtual file system) support
     GSTREAMER=off: Multimedia support via GStreamer
     LDAP=off: LDAP support for Mailnews
     LIBPROXY=off: Proxy support via libproxy
     LIGHTNING=on: Calendar extension
     LOGGING=on: Additional log messages
     MAILNEWS=on: Mail and News modules
     OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
     WEBRTC=on: Web Real-Time Communication
====> Options available for the single AUDIO: you have to select exactly one of them
     ALSA=on: ALSA audio architecture support
     OSS=off: Open Sound System support
     PULSEAUDIO=off: PulseAudio sound server support

Verify seamonkey works OK

Install misc/compat6x from ports

Verify seamonkey segfaults

>Fix:
Workaround only:

/etc/libmap.conf:

[/usr/local/bin/seamonkey]
libc.so.6               libc.so.7


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



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