Closed Bug 367413 Opened 18 years ago Closed 16 years ago

seamonkey 1.1 segfaults on FreeBSD when installing any extension

Categories

(SeaMonkey :: General, defect)

SeaMonkey 1.1 Branch
x86
FreeBSD
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: igor, Unassigned)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070118 SeaMonkey/1.1
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070118 SeaMonkey/1.1

Just compiled a brand new seamonkey 1.1 on my FreeBSD 6.1 box. when I try to install any extensions(tried inforss, adblockplus and dictionarysearch) it segfaults. all these extensions work great with seamoneky 1.0.x on the same platform.





Reproducible: Always

Steps to Reproduce:
1. run seamonkey
2. go to http://inforss.mozdev.org/installation.html
3. try installing the extension.



about:buildconfig

Build platform
target
i386-unknown-freebsd6.1

Build tools
Compiler 	Version 	Compiler flags
gcc 	gcc version 3.4.4 [FreeBSD] 20050518 	-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pipe
c++ 	gcc version 3.4.4 [FreeBSD] 20050518 	-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pipe -I/usr/X11R6/include -I/usr/X11R6/include

compile string: (I might not be compiling something in, but it shouldn't segfault. that same configure string works great with seamonkey 1.0.x)
--prefix=/usr/local/seamonkey-1.1 --disable-jsd --disable-oji --disable-tests --disable-debug --enable-optimize --without-system-nspr --with-pthreads --without-system-zlib --with-system-jpeg=/usr/local --with-system-png=/usr/local --without-system-mng --enable-crypto --disable-universalchardet --disable-negotiateauth --disable-webservices --disable-logging --disable-gnomevfs --disable-gnomeui --enable-extensions=cookie,wallet,typeaheadfind,xmlextras --enable-strip --disable-installer --disable-composer --disable-xprint --disable-printing --disable-ldap --disable-mailnews --disable-mathml --disable-freetype2 --enable-xft --disable-postscript --disable-shared --enable-static --enable-default-toolkit=gtk2 --enable-application=suite


here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x958dc00 (LWP 100076)]
0x29860a86 in __error () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x29860a86 in __error () from /usr/lib/libpthread.so.2
#1  0x29855b20 in pthread_mutex_lock () from /usr/lib/libpthread.so.2
#2  0x2985cd7b in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x2985d130 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#4  0x2981df10 in pthread_cond_wait () from /lib/libc.so.6
#5  0x28c8f515 in PR_WaitCondVar () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libnspr4.so
#6  0x28c8f83b in PR_Wait () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libnspr4.so
#7  0x28b85e77 in PL_WaitForEvent () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#8  0x28b87a1a in nsEventQueueImpl::CheckForDeactivation () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#9  0x28b8d299 in nsProxyObject::PostAndWait () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#10 0x28b8d689 in nsProxyObject::Post () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#11 0x28b8fcb3 in nsProxyEventObject::~nsProxyEventObject () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#12 0x28ba29f5 in XPTC_InvokeByIndex () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#13 0x28ba2a66 in nsXPTCStubBase::Stub3 () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libxpcom_core.so
#14 0x29a6b3fb in nsXPInstallManager::GetIndexFromURL () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/components/libxpinstall.so
#15 0x29a62dad in nsTopProgressListener::UnregisterListener () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/components/libxpinstall.so
#16 0x29a5b070 in RunInstallOnThread () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/components/libxpinstall.so
#17 0x28c941d5 in PR_Select () from /usr/local/seamonkey-1.1/lib/seamonkey-1.1/libnspr4.so
#18 0x2985014c in pthread_create () from /usr/lib/libpthread.so.2
#19 0x298055c7 in _ctx_start () from /lib/libc.so.6
(gdb)
recompiled it with:
./configure --prefix=/usr/local/seamonkey-1.1_build2 --enable-default-toolkit=gtk2 --enable-application=suite

still segfaults. new backtrace attached:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8a86000 (LWP 100098)]
0x28c6ca86 in __error () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x28c6ca86 in __error () from /usr/lib/libpthread.so.2
#1  0x28c61b20 in pthread_mutex_lock () from /usr/lib/libpthread.so.2
#2  0x28c68d7b in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x28c69130 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#4  0x28c20f10 in pthread_cond_wait () from /lib/libc.so.6
#5  0x2825a515 in PR_WaitCondVar () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libnspr4.so
#6  0x2825a83b in PR_Wait () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libnspr4.so
#7  0x28150e77 in PL_WaitForEvent () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#8  0x28152a1a in nsEventQueueImpl::WaitForEvent () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#9  0x28158299 in nsProxyObject::PostAndWait () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#10 0x28158689 in nsProxyObject::Post () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#11 0x2815acb3 in nsProxyEventObject::CallMethod () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#12 0x2816d9f5 in PrepareAndDispatch () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#13 0x2816da66 in nsXPTCStubBase::Stub3 () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libxpcom_core.so
#14 0x2a2c10c7 in nsXPInstallManager::OnInstallStart () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/components/libxpinstall.so
#15 0x2a2b8a79 in nsTopProgressListener::OnInstallStart ()
   from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/components/libxpinstall.so
#16 0x2a2b0d3c in RunInstallOnThread () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/components/libxpinstall.so
#17 0x2825f1d5 in _pt_root () from /usr/local/seamonkey-1.1_build2/lib/seamonkey-1.1/libnspr4.so
#18 0x28c5c14c in pthread_create () from /usr/lib/libpthread.so.2
#19 0x28c085c7 in _ctx_start () from /lib/libc.so.6
(gdb)
Can you reproduce with SeaMonkey v1.1.9 ?

Is there official FreeBSD builds ?
Version: unspecified → SeaMonkey 1.1 Branch
Keywords: crash
You might look at install.log in your profile directory to see what it was doing at the time of the crash.

You also want to run seamonkey from dist/bin/ in the build directory to get symbol info in the stack.
(and don't --enable-strip)
(1 month later)

No reply from reporter.

R.Incomplete

Reopen if you can reproduce with SeaMonkey v1.1.9.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.