Closed Bug 470941 Opened 16 years ago Closed 14 years ago

List of certificate authorities becomes blank, results in application close when visiting SSL site.

Categories

(Core :: Security: PSM, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla2, Assigned: KaiE)

References

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081222 SeaMonkey/2.0a3pre
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081222 SeaMonkey/2.0a3pre

The list of certificate authorities can become blank. Afterward a visit to a SSL site causes the browser to close (the crash dialog does not come up, the browser just closes). Upon reopening the browser, the list of certificate authorities is restored. I don't yet know what causes the list to be blanked, but it has happened about 5 times in the last 24 hours.

This is with the Mercurial sources for Seamonkey 2.0 from yesterday morning, compiled for x86_64.

I'll run Seamonkey from a console to try to catch some output if there is any and post it here.

Reproducible: Sometimes

Steps to Reproduce:
1. Run Seamonkey
2. Browse for awhile...
3. The list of CAs become blank somehow
4. Visit a SSL site
Actual Results:  
Seamonkey closes

Expected Results:  
CA list shouldn't be blank, and Seamonkey shouldn't close
please build --enable-debugger-info-modules --disable-strip --without-lame-distro-hacks
(In reply to comment #1)
> please build --enable-debugger-info-modules --disable-strip
> --without-lame-distro-hacks

Did that. All I get on the console when it crashes (it just happened again) is this:

/usr/local/seamonkey/run-mozilla.sh: line 131:  9831 Segmentation fault      "$prog" ${1+"$@"}

Here's my buildconfig:

Source

Built from http://hg.mozilla.org/releases/mozilla-1.9.1/rev/bba8ff78b8a2
Build platform
target
x86_64-unknown-linux-gnu

Build tools
Compiler 	Version 	Compiler flags
gcc 	gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 	-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -pedantic -gstabs+ -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -fno-inline -Os -freorder-blocks -fno-reorder-functions
c++ 	gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 	-fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -gstabs+ -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -g -fno-inline -Os -freorder-blocks -fno-reorder-functions

Configure arguments
--enable-application=suite --enable-optimize --disable-mailnews --disable-installer --enable-debugger-info-modules --disable-strip --without-lame-distro-hacks --enable-application=suite --enable-optimize --disable-mailnews --disable-installer --enable-debugger-info-modules --disable-strip --without-lame-distro-hacks --enable-application=../suite --disable-official-branding --with-branding=../suite/branding/nightly --disable-debug --enable-optimize --enable-64bit --cache-file=.././config.cache --srcdir=/home/jayson/tmp/seamonkey/src/mozilla
https://developer.mozilla.org/en/Debugging_Mozilla_on_Linux_FAQ

./run-mozilla.sh -g -d gdb ./seamonkey-bin
r
bt
MOZILLA_FIVE_HOME=/usr/local/seamonkey
  LD_LIBRARY_PATH=/usr/local/seamonkey:/usr/local/seamonkey/plugins:/usr/local/seamonkey
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/local/seamonkey:/usr/local/seamonkey
     LIBRARY_PATH=/usr/local/seamonkey:/usr/local/seamonkey/components:/usr/local/seamonkey
       SHLIB_PATH=/usr/local/seamonkey:/usr/local/seamonkey
          LIBPATH=/usr/local/seamonkey:/usr/local/seamonkey
       ADDON_PATH=/usr/local/seamonkey
      MOZ_PROGRAM=/usr/local/seamonkey/seamonkey-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=gdb
/usr/bin/gdb /usr/local/seamonkey/seamonkey-bin -x /tmp/mozargs.O7XQI1
GNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/local/seamonkey/seamonkey-bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff72527e0 (LWP 14528)]
[New Thread 0x7ffff0fe6950 (LWP 14550)]
[New Thread 0x7fffedfe0950 (LWP 14551)]
[New Thread 0x7fffeb2f1950 (LWP 14552)]
[Thread 0x7fffeb2f1950 (LWP 14552) exited]
[New Thread 0x7fffeb2f1950 (LWP 14553)]
[New Thread 0x7fffe8aff950 (LWP 14554)]
[New Thread 0x7fffe80fe950 (LWP 14555)]
[New Thread 0x7fffe76fd950 (LWP 14556)]
[New Thread 0x7fffe6cfc950 (LWP 14557)]
[New Thread 0x7fffe60ff950 (LWP 14558)]
[Thread 0x7fffe8aff950 (LWP 14554) exited]
[Thread 0x7fffe80fe950 (LWP 14555) exited]
[New Thread 0x7fffe4eea950 (LWP 14559)]
[New Thread 0x7fffe44e9950 (LWP 14560)]
[Thread 0x7fffe60ff950 (LWP 14558) exited]
[Thread 0x7fffeb2f1950 (LWP 14553) exited]
[Thread 0x7fffe76fd950 (LWP 14556) exited]
[Thread 0x7fffe44e9950 (LWP 14560) exited]
[Thread 0x7fffe4eea950 (LWP 14559) exited]
[New Thread 0x7fffe3ae8950 (LWP 14561)]
[New Thread 0x7fffe8aff950 (LWP 14562)]
[Thread 0x7fffe6cfc950 (LWP 14557) exited]
[Thread 0x7fffe8aff950 (LWP 14562) exited]
[New Thread 0x7fffe6cfc950 (LWP 14563)]
[New Thread 0x7fffe8aff950 (LWP 14564)]
[Thread 0x7fffe8aff950 (LWP 14564) exited]
[New Thread 0x7fffe8aff950 (LWP 14565)]
[Thread 0x7fffe8aff950 (LWP 14565) exited]
[New Thread 0x7fffe8aff950 (LWP 14566)]
[New Thread 0x7fffe80fe950 (LWP 14567)]
[New Thread 0x7fffe44ff950 (LWP 14568)]
[New Thread 0x7fffe1cd2950 (LWP 14569)]
[New Thread 0x7fffe12d1950 (LWP 14570)]
[Thread 0x7fffe3ae8950 (LWP 14561) exited]
[New Thread 0x7fffe3ae8950 (LWP 14571)]
[Thread 0x7fffe3ae8950 (LWP 14571) exited]
[New Thread 0x7fffe3ae8950 (LWP 14572)]
[Thread 0x7fffe3ae8950 (LWP 14572) exited]
[New Thread 0x7fffe3ae8950 (LWP 14576)]
[New Thread 0x7fffd9b36950 (LWP 14577)]
[New Thread 0x7fffd84ff950 (LWP 14578)]
[Thread 0x7fffe3ae8950 (LWP 14576) exited]
[Thread 0x7fffd9b36950 (LWP 14577) exited]
[New Thread 0x7fffd9b36950 (LWP 14579)]
[New Thread 0x7fffe3ae8950 (LWP 14580)]
[New Thread 0x7fffde900950 (LWP 14581)]
[New Thread 0x7fffddeff950 (LWP 14582)]
[New Thread 0x7fffdd4fe950 (LWP 14583)]
[Thread 0x7fffddeff950 (LWP 14582) exited]
[Thread 0x7fffdd4fe950 (LWP 14583) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe3ae8950 (LWP 14580)]
0x00007fffdf0946cb in nsCOMPtr_base::assign_from_helper ()
   from /usr/local/seamonkey/components/libpipnss.so
(gdb) backtrace
#0  0x00007fffdf0946cb in nsCOMPtr_base::assign_from_helper ()
   from /usr/local/seamonkey/components/libpipnss.so
#1  0x00007ffff7291573 in ?? () from /usr/local/seamonkey/libnspr4.so
#2  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#3  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
eh, guess I need --enable-debug as well... I have a bookmark of sites which will trigger this bug reliably (but not 100%). I will post another gdb output later with hopefully more useful info.
Ok, Flash appears to be a culprit again. I have a full gdb backtrace that I will post below. Here is how I can make Seamonkey crash every time.

Close down Seamonkey and open a fresh instance.
Open the URL http://www.theonion.com/content/video
Wait for it to finish loading
(optionally: observe that the list of CAs is blank, but this is probably just another side effect of the actual bug)
Open the URL https://bugzilla.mozilla.org/show_bug.cgi?id=470941
Segfault

The first URL may be any page with a Flash object, and the second URL may be any URL that is HTTPS.

If I disable Flash in the addons manager, I can't make Seamonkey crash.

Seamonkey is latest Mercurial sources from a few hours ago (dc2a9acf9a69) compiled for x86_64, and Flash is 10.0.21d x86_64.
MOZILLA_FIVE_HOME=.
  LD_LIBRARY_PATH=.:./plugins:.
DISPLAY=:0.0
DYLD_LIBRARY_PATH=.:.
     LIBRARY_PATH=.:./components:.
       SHLIB_PATH=.:.
          LIBPATH=.:.
       ADDON_PATH=.
      MOZ_PROGRAM=./seamonkey-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=gdb
/usr/bin/gdb ./seamonkey-bin -x /tmp/mozargs.gWPSbA
[?1034hGNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) r
Starting program: /home/jayson/tmp/seamonkey/objdir-sm/mozilla/dist/bin/seamonkey-bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff720c7e0 (LWP 22860)]
+++ JavaScript debugging hooks installed.
[New Thread 0x7ffff0946950 (LWP 22863)]
[New Thread 0x7fffee01b950 (LWP 22864)]
[New Thread 0x7fffeb1c5950 (LWP 22865)]
[Thread 0x7fffeb1c5950 (LWP 22865) exited]
++WEBSHELL 0x7fffeb936400 == 1
[New Thread 0x7fffeb1c5950 (LWP 22866)]
++DOMWINDOW == 1 (0x7fffeb9bb458) [serial = 1] [outer = (nil)]
++WEBSHELL 0x7fffea6d9800 == 2
++DOMWINDOW == 2 (0x7fffea6da858) [serial = 2] [outer = (nil)]
++DOMWINDOW == 3 (0x7fffea6dcc58) [serial = 3] [outer = 0x7fffea6da800]
++DOMWINDOW == 4 (0x7fffe94b7858) [serial = 4] [outer = 0x7fffeb9bb400]
[New Thread 0x7fffe87ff950 (LWP 22867)]
[New Thread 0x7fffe7dfe950 (LWP 22868)]
[New Thread 0x7fffe71ff950 (LWP 22869)]
++WEBSHELL 0x7fffe88bf800 == 3
++DOMWINDOW == 5 (0x7fffe88c0458) [serial = 5] [outer = (nil)]
++WEBSHELL 0x7fffe88c1400 == 4
++DOMWINDOW == 6 (0x7fffe88c2058) [serial = 6] [outer = (nil)]
++WEBSHELL 0x7fffe633b000 == 5
--WEBSHELL 0x7fffe633b000 == 4
++WEBSHELL 0x7fffe6341000 == 5
++DOMWINDOW == 7 (0x7fffe6341c58) [serial = 7] [outer = (nil)]
[New Thread 0x7fffe5de4950 (LWP 22870)]
[Thread 0x7fffe7dfe950 (LWP 22868) exited]
[Thread 0x7fffe87ff950 (LWP 22867) exited]
[Thread 0x7fffeb1c5950 (LWP 22866) exited]
[New Thread 0x7fffeb1c5950 (LWP 22871)]
[Thread 0x7fffeb1c5950 (LWP 22871) exited]
[Thread 0x7fffe71ff950 (LWP 22869) exited]
++DOMWINDOW == 8 (0x7fffe52af858) [serial = 8] [outer = 0x7fffe88c0400]
++DOMWINDOW == 9 (0x7fffe64b3858) [serial = 9] [outer = 0x7fffe88c2000]
++DOMWINDOW == 10 (0x7fffe64b4c58) [serial = 10] [outer = 0x7fffe6341c00]
[New Thread 0x7fffeb1c5950 (LWP 22875)]
++DOMWINDOW == 11 (0x7fffe7e6e458) [serial = 11] [outer = 0x7fffe6341c00]
[New Thread 0x7fffe71ff950 (LWP 22879)]
[Thread 0x7fffe71ff950 (LWP 22879) exited]
[New Thread 0x7fffe71ff950 (LWP 22893)]
[Thread 0x7fffe71ff950 (LWP 22893) exited]
[New Thread 0x7fffe71ff950 (LWP 22894)]
[Thread 0x7fffe71ff950 (LWP 22894) exited]
[New Thread 0x7fffe71ff950 (LWP 22895)]
[Thread 0x7fffe71ff950 (LWP 22895) exited]
[New Thread 0x7fffe71ff950 (LWP 22896)]
[Thread 0x7fffe71ff950 (LWP 22896) exited]
LoadPlugin() /usr/lib64/mozilla/plugins/librhythmbox-itms-detection-plugin.so returned 7fffe4b791c0
GetMIMEDescription() returned ""
For application/x-shockwave-flash found plugin /usr/lib64/flash-plugin/libflashplayer.so
[New Thread 0x7fffe71ff950 (LWP 22897)]
[New Thread 0x7fffe7dfe950 (LWP 22898)]
LoadPlugin() /usr/lib64/flash-plugin/libflashplayer.so returned 7fffe400f790
[New Thread 0x7fffdcea9950 (LWP 22902)]
[New Thread 0x7fffdc4a8950 (LWP 22903)]
++WEBSHELL 0x7fffe42afc00 == 6
++DOMWINDOW == 12 (0x7fffe42b0858) [serial = 12] [outer = (nil)]
++DOMWINDOW == 13 (0x7fffe64b6c58) [serial = 13] [outer = 0x7fffe42b0800]
++WEBSHELL 0x7fffe42b1400 == 7
++DOMWINDOW == 14 (0x7fffe52ae058) [serial = 14] [outer = (nil)]
++DOMWINDOW == 15 (0x7fffe3503458) [serial = 15] [outer = 0x7fffe52ae000]
Document http://www.theonion.com/content/video loaded successfully
[New Thread 0x7fffdaef8950 (LWP 22904)]
[Thread 0x7fffdcea9950 (LWP 22902) exited]
[Thread 0x7fffdc4a8950 (LWP 22903) exited]
[Thread 0x7fffe5de4950 (LWP 22870) exited]
[New Thread 0x7fffe5de4950 (LWP 22905)]
[New Thread 0x7fffdc4a8950 (LWP 22906)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe5de4950 (LWP 22905)]
0x00000031e6a32f05 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Current language:  auto; currently c
(gdb) thread apply all bt full

Thread 23 (Thread 0x7fffdc4a8950 (LWP 22906)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
No locals.
#1  0x00007ffff7249865 in PR_WaitCondVar (cvar=0x7fffe33998c0, 
    timeout=4294967295)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:405
	rv = -479550864
	thred = (PRThread *) 0x7fffe358dcf0
#2  0x00007fffe16dff3a in nsCertVerificationThread::Run (this=0x7fffe3599670)
    at /home/jayson/tmp/seamonkey/src/mozilla/security/manager/ssl/src/nsCertVerificationThread.cpp:138
No locals.
#3  0x00007ffff725078b in _pt_root (arg=0x7fffe33998cc)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -512
	thred = (PRThread *) 0x7fffe358dcf0
	detached = 0
#4  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffdc4a8950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 0, 214320676864, 140737488335664, 8331739840378863277, 
        -8341722693118034259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
      0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#5  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.

Thread 22 (Thread 0x7fffe5de4950 (LWP 22905)):
#0  0x00000031e6a32f05 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
	pid = <value optimized out>
	selftid = <value optimized out>
#1  0x00000031e6a34a73 in abort () at abort.c:88
	act = {__sigaction_handler = {sa_handler = 0x7fffe5de3ce0, 
    sa_sigaction = 0x7fffe5de3ce0}, sa_mask = {__val = {2147549183, 
      140737049934928, 1673, 140736968176432, 140736968176652, 214320676864, 
      140737488335632, 214322670000, 140737339569352, 206158430248, 
      4294967295, 140737049934896, 2359248, 140736968176432, 140736968176652, 
      214320676864}}, sa_flags = -19696, sa_restorer = 0x7ffff7222000}
	sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff72342f7 in PR_Assert (s=0x7fffe0feb40c "mod != NULL", 
    file=0x7fffe0feb330 "pk11slot.c", ln=1673)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/io/prlog.c:550
No locals.
#3  0x00007fffe0eed875 in PK11_GetInternalSlot () at pk11slot.c:1673
	mod = (SECMODModule *) 0x0
#4  0x00007fffe0eed985 in PK11_TokenExists (type=1) at pk11slot.c:1726
	mlp = (SECMODModuleList *) 0x7fffe5de4950
	modules = (SECMODModuleList *) 0x0
	moduleLock = (SECMODListLock *) 0x7fffe3399b00
	slot = (PK11SlotInfo *) 0x1
	found = 0
	i = 32767
#5  0x00007fffe124090e in ssl3_config_match_init (ss=0x7fffe33d8000)
    at ssl3con.c:658
	suite = (ssl3CipherSuiteCfg *) 0x7fffe33d84c0
	cipher_def = (const ssl3CipherSuiteDef *) 0x7fffe12727c0
	cipher_alg = ssl_calg_rc4
	cipher_mech = 273
	exchKeyType = ssl_kea_rsa
	i = 24
	numPresent = 0
	numEnabled = 1
	isServer = 0
	svrAuth = (sslServerCerts *) 0x7fffe33d83e0
#6  0x00007fffe1252d4a in ssl2_ConstructCipherSpecs (ss=0x7fffe33d8000)
    at sslcon.c:206
	cs = (PRUint8 *) 0x0
	allowed = 0
	count = 0
	ssl3_count = 0
	final_count = -427687936
	i = -429857382
	rv = 49
#7  0x00007fffe1259075 in ssl2_BeginClientHandshake (ss=0x7fffe33d8000)
    at sslcon.c:3018
	sid = (sslSessionID *) 0x7fffe33d8000
	msg = (PRUint8 *) 0x1 <Address 0x1 out of bounds>
	cp = (PRUint8 *) 0x0
	localCipherSpecs = (PRUint8 *) 0x0
	localCipherSize = 32767
	i = 3814076712
	sendLen = 32767
	sidLen = 0
	rv = SECSuccess
#8  0x00007fffe1260097 in ssl_Do1stHandshake (ss=0x7fffe33d8000)
    at sslsecur.c:151
	rv = 0
	loopCount = 0
#9  0x00007fffe1262228 in ssl_SecureSend (ss=0x7fffe33d8000, 
    buf=0x7fffe33bc800 "GET /show_bug.cgi?id=470941 HTTP/1.1\r\nHost: bugzilla.mozilla.org\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081223 SeaMonkey/2.0a3pre\r\nAccept: text/html,application/"..., 
    len=609, flags=0) at sslsecur.c:1176
	rv = 0
#10 0x00007fffe12623c9 in ssl_SecureWrite (ss=0x7fffe33d8000, 
    buf=0x7fffe33bc800 "GET /show_bug.cgi?id=470941 HTTP/1.1\r\nHost: bugzilla.mozilla.org\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081223 SeaMonkey/2.0a3pre\r\nAccept: text/html,application/"..., 
    len=609) at sslsecur.c:1221
No locals.
#11 0x00007fffe1269192 in ssl_Write (fd=0x7fffda358bb0, buf=0x7fffe33bc800, 
    len=609) at sslsock.c:1487
	ss = (sslSocket *) 0x7fffe33d8000
	rv = 32767
#12 0x00007fffe16dee18 in nsSSLThread::Run (this=0x7fffe3399840)
    at /home/jayson/tmp/seamonkey/src/mozilla/security/manager/ssl/src/nsSSLThread.cpp:1029
No locals.
#13 0x00007ffff725078b in _pt_root (arg=0x594c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = 0
	thred = (PRThread *) 0x7fffe358dbe0
	detached = 0
#14 0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffe5de4950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 0, 214320676864, 140737488335632, 8331723169463303853, 
        -8341722693118034259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
      0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#15 0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
Current language:  auto; currently asm

Thread 21 (Thread 0x7fffdaef8950 (LWP 22904)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007ffff7248374 in pt_TimedWait (cv=0x7ffff1ca8a48, ml=0x7fffeb9a3768, 
    timeout=0)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:280
	rv = -516
	now = {tv_sec = 875262000, tv_usec = 1230106345}
	tmo = {tv_sec = 140737339753332, tv_nsec = 1230106405}
	ticks = 60000
#2  0x00007ffff7249764 in PR_WaitCondVar (cvar=0x7ffff1ca8a40, 
    timeout=4294967186)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:407
	rv = -342214808
	thred = (PRThread *) 0x7fffe43f4130
#3  0x00007ffff724997f in PR_Wait (mon=0x7fffeb9a3760, timeout=60000)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:584
	rv = -516
	saved_entries = 1
	saved_owner = 140736866519376
#4  0x00007ffff78daac1 in nsAutoMonitor::Wait (this=0x7ffff1ca8a4c, 
    interval=60000) at ../../dist/include/xpcom/nsAutoLock.h:340
No locals.
#5  0x00007ffff78fa981 in nsThreadPool::Run (this=0x7fffebd7b890)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThreadPool.cpp:210
No locals.
#6  0x00007ffff78f7d8b in nsThread::ProcessNextEvent (this=0x7fffe4154fb0, 
    mayWait=1, result=0x1)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:510
No locals.
#7  0x00007ffff78b201f in NS_ProcessNextEvent_P (thread=0x7ffff1ca8a4c, 
    mayWait=1) at nsThreadUtils.cpp:227
No locals.
#8  0x00007ffff78f8525 in nsThread::ThreadFunc (arg=0x7ffff1ca8a4c)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:254
No locals.
#9  0x00007ffff725078b in _pt_root (arg=0x7ffff1ca8a4c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -516
	thred = (PRThread *) 0x7fffe43f4130
	detached = 0
#10 0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffdaef8950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 0, 214320676864, 140737488337328, 8331734591928827565, 
        -8341722693118034259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
      0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#11 0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
Current language:  auto; currently c

Thread 18 (Thread 0x7fffe7dfe950 (LWP 22898)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007ffff7248374 in pt_TimedWait (cv=0x7ffff6e8d708, ml=0x7ffff6e8ef80, 
    timeout=0)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:280
	rv = -516
	now = {tv_sec = 168846000, tv_usec = 1230106347}
	tmo = {tv_sec = 140737339753332, tv_nsec = 1230106647}
	ticks = 300000
#2  0x00007ffff7249764 in PR_WaitCondVar (cvar=0x7ffff6e8d700, 
    timeout=4294967186)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:407
	rv = -152506496
	thred = (PRThread *) 0x7ffff6f16360
#3  0x00007ffff0bdc646 in nsHostResolver::GetHostToLookup (
    this=0x7ffff6f43b80, result=0x7fffe7dfdfb8, aID=0x7ffff0bdc646)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:779
No locals.
#4  0x00007ffff0bdd083 in nsHostResolver::ThreadFunc (arg=0x7ffff6f43b98)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:875
No locals.
#5  0x00007ffff725078b in _pt_root (arg=0x7ffff6e8d70c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -516
	thred = (PRThread *) 0x7ffff6f16360
	detached = 1
#6  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffe7dfe950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 140737083599184, 214320676864, 140737488343296, 
        8331727579320975021, -8341722693118034259}, mask_was_saved = 0}}, 
  priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
      canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#7  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
Current language:  auto; currently asm

Thread 17 (Thread 0x7fffe71ff950 (LWP 22897)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007ffff7248374 in pt_TimedWait (cv=0x7ffff6e8d708, ml=0x7ffff6e8ef80, 
    timeout=0)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:280
	rv = -516
	now = {tv_sec = 388682000, tv_usec = 1230106343}
	tmo = {tv_sec = 140737339753332, tv_nsec = 1230106643}
	ticks = 300000
#2  0x00007ffff7249764 in PR_WaitCondVar (cvar=0x7ffff6e8d700, 
    timeout=4294967186)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:407
	rv = -152506496
	thred = (PRThread *) 0x7ffff6f16250
#3  0x00007ffff0bdc646 in nsHostResolver::GetHostToLookup (
    this=0x7ffff6f43b80, result=0x7fffe71fefb8, aID=0x7ffff0bdc646)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:779
No locals.
#4  0x00007ffff0bdd083 in nsHostResolver::ThreadFunc (arg=0x7ffff6f43b98)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:875
No locals.
#5  0x00007ffff725078b in _pt_root (arg=0x7ffff6e8d70c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -516
	thred = (PRThread *) 0x7ffff6f16250
	detached = 1
#6  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffe71ff950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 140737071020368, 214320676864, 140737488343296, 
        8331729229125287597, -8341722693118034259}, mask_was_saved = 0}}, 
  priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
      canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#7  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.

Thread 11 (Thread 0x7fffeb1c5950 (LWP 22875)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007ffff7248374 in pt_TimedWait (cv=0x7ffff6e8d708, ml=0x7ffff6e8ef80, 
    timeout=0)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:280
	rv = -516
	now = {tv_sec = 914483000, tv_usec = 1230106342}
	tmo = {tv_sec = 140737339753332, tv_nsec = 1230106642}
	ticks = 300000
#2  0x00007ffff7249764 in PR_WaitCondVar (cvar=0x7ffff6e8d700, 
    timeout=4294967186)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:407
	rv = -152506496
	thred = (PRThread *) 0x7fffe630eae0
#3  0x00007ffff0bdc646 in nsHostResolver::GetHostToLookup (
    this=0x7ffff6f43b80, result=0x7fffeb1c4fb8, aID=0x7ffff0bdc646)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:779
No locals.
#4  0x00007ffff0bdd083 in nsHostResolver::ThreadFunc (arg=0x7ffff6f43b98)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/dns/src/nsHostResolver.cpp:875
No locals.
#5  0x00007ffff725078b in _pt_root (arg=0x7ffff6e8d70c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -516
	thred = (PRThread *) 0x7fffe630eae0
	detached = 1
#6  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffeb1c5950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 140737137891664, 214320676864, 140737488336176, 
        8331702811855191725, -8341722693118034259}, mask_was_saved = 0}}, 
  priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
      canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#7  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.

Thread 3 (Thread 0x7fffee01b950 (LWP 22864)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
No locals.
#1  0x00007ffff7248374 in pt_TimedWait (cv=0x7ffff6facc48, ml=0x7ffff6f08b30, 
    timeout=36)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:280
	rv = -516
	now = {tv_sec = 319788000, tv_usec = 1230106347}
	tmo = {tv_sec = 140737339753332, tv_nsec = 1230106347}
	ticks = 36
#2  0x00007ffff7249764 in PR_WaitCondVar (cvar=0x7ffff6facc40, 
    timeout=4294967186)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:407
	rv = -152007888
	thred = (PRThread *) 0x7ffff6f15480
#3  0x00007ffff78fcd04 in TimerThread::Run (this=0x7ffff6f43800)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/TimerThread.cpp:345
No locals.
#4  0x00007ffff78f7d8b in nsThread::ProcessNextEvent (this=0x7ffff6f0bd30, 
    mayWait=1, result=0x1)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:510
No locals.
#5  0x00007ffff78b201f in NS_ProcessNextEvent_P (thread=0x7ffff6facc4c, 
    mayWait=1) at nsThreadUtils.cpp:227
No locals.
#6  0x00007ffff78f8525 in nsThread::ThreadFunc (arg=0x7ffff6facc4c)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:254
No locals.
#7  0x00007ffff725078b in _pt_root (arg=0x7ffff6facc4c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = -516
	thred = (PRThread *) 0x7ffff6f15480
	detached = 0
#8  0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7fffee01b950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 0, 214320676864, 140737488342384, 8331709525962817197, 
        -8341722693118034259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
      0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#9  0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.

Thread 2 (Thread 0x7ffff0946950 (LWP 22863)):
#0  pthread_cond_broadcast@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:94
No locals.
#1  0x00007ffff724956d in pt_PostNotifies (lock=0x1, unlock=132)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:138
	cv = (PRCondVar *) 0x7fffe3399880
	index = 0
	rv = 1
	post = {length = -258713232, cv = {{cv = 0x1, times = -482764672}, {
      cv = 0xffffffff, times = 0}, {cv = 0x0, times = 0}, {cv = 0x0, 
      times = 0}, {cv = 0x0, times = 0}, {cv = 0x0, times = 0}}, link = 0x0}
	notified = (_PT_Notified *) 0x7ffff0945970
#2  0x00007ffff7249b11 in PR_Unlock (lock=0x7fffe34d7f50)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptsynch.c:236
	rv = 1
#3  0x00007fffe16de83a in nsAutoLock::~nsAutoLock (this=0x7ffff0945a60)
    at ../../../../dist/include/xpcom/nsAutoLock.h:224
No locals.
#4  0x00007fffe16df278 in nsSSLThread::requestWrite (si=0x7fffe3409400, 
    buf=0x7fffe33bb808, amount=32767, timeout=4294967295)
    at /home/jayson/tmp/seamonkey/src/mozilla/security/manager/ssl/src/nsSSLThread.cpp:895
No locals.
#5  0x00007fffe16f49e0 in PSMSend (fd=0x7fffe3409400, buf=0x7fffe33bb808, 
    amount=609, flags=0, timeout=4294967295)
    at /home/jayson/tmp/seamonkey/src/mozilla/security/manager/ssl/src/nsNSSIOLayer.cpp:1897
No locals.
#6  0x00007ffff0bcd336 in nsSocketOutputStream::Write (this=0x7fffe4b6a8c0, 
    buf=0x7fffe33bb808 "GET /show_bug.cgi?id=470941 HTTP/1.1\r\nHost: bugzilla.mozilla.org\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081223 SeaMonkey/2.0a3pre\r\nAccept: text/html,application/"..., 
    count=609, countWritten=0x7ffff0945ca4)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransport2.cpp:576
No locals.
#7  0x00007ffff0c26e9e in nsHttpConnection::OnReadSegment (
    this=0x7fffe3384d80, 
    buf=0x7fffe33bb808 "GET /show_bug.cgi?id=470941 HTTP/1.1\r\nHost: bugzilla.mozilla.org\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20081223 SeaMonkey/2.0a3pre\r\nAccept: text/html,application/"..., 
    count=609, countRead=0x7ffff0945ca4)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/protocol/http/src/nsHttpConnection.cpp:533
No locals.
#8  0x00007ffff0c30b0b in nsHttpTransaction::ReadRequestSegment (
    stream=0x7fffe339988c, closure=0x7fffe3409310, 
    buf=0x84 <Address 0x84 out of bounds>, offset=4294967295, count=1, 
    countRead=0xffffffffffffffff)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/protocol/http/src/nsHttpTransaction.cpp:435
No locals.
#9  0x00007ffff78de570 in nsStringInputStream::ReadSegments (
    this=0x7fffe3399e80, 
    writer=0x7ffff0c30af2 <nsHttpTransaction::ReadRequestSegment(nsIInputStream*, void*, char const*, unsigned int, unsigned int, unsigned int*)>, 
    closure=0x7fffe3409310, aCount=4096, result=0x7ffff0945ca4)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/io/nsStringStream.cpp:276
No locals.
#10 0x00007ffff0c32773 in nsHttpTransaction::ReadSegments (
    this=0x7fffe3409310, reader=0x7fffe3384d80, count=4096, 
    countRead=0x7ffff0945ca4)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/protocol/http/src/nsHttpTransaction.cpp:460
No locals.
#11 0x00007ffff0c2714c in nsHttpConnection::OnSocketWritable (
    this=0x7fffe3384d80)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/protocol/http/src/nsHttpConnection.cpp:568
No locals.
#12 0x00007ffff0c27532 in nsHttpConnection::OnOutputStreamReady (
    this=0x7fffe3384d80, out=0x7fffe339988c)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/protocol/http/src/nsHttpConnection.cpp:779
No locals.
#13 0x00007ffff0bca731 in nsSocketOutputStream::OnSocketReady (
    this=0x7fffe4b6a8c0, condition=4036254992)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransport2.cpp:515
No locals.
#14 0x00007ffff0bcab46 in nsSocketTransport::OnSocketReady (
    this=0x7fffe4b6a760, fd=0x7fffda358310, outFlags=3)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransport2.cpp:1498
No locals.
#15 0x00007ffff0bcf58d in nsSocketTransportService::DoPollIteration (
    this=0x7ffff6efd000, wait=1)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:670
No locals.
#16 0x00007ffff0bcf77d in nsSocketTransportService::OnProcessNextEvent (
    this=0x7ffff6efd000, thread=0x7ffff6f0b5e0, mayWait=-258712116, 
    depth=4294967295)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:523
No locals.
#17 0x00007ffff78f7ce8 in nsThread::ProcessNextEvent (this=0x7ffff6f0b5e0, 
    mayWait=1, result=0x0)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:497
No locals.
#18 0x00007ffff78b201f in NS_ProcessNextEvent_P (thread=0x7fffe339988c, 
    mayWait=1) at nsThreadUtils.cpp:227
No locals.
#19 0x00007ffff0bcf24f in nsSocketTransportService::Run (this=0x7ffff6efd000)
    at /home/jayson/tmp/seamonkey/src/mozilla/netwerk/base/src/nsSocketTransportService2.cpp:565
No locals.
#20 0x00007ffff78f7d8b in nsThread::ProcessNextEvent (this=0x7ffff6f0b5e0, 
    mayWait=1, result=0x7ffff786e000)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:510
No locals.
#21 0x00007ffff78b201f in NS_ProcessNextEvent_P (thread=0x7fffe339988c, 
    mayWait=1) at nsThreadUtils.cpp:227
No locals.
#22 0x00007ffff78f8525 in nsThread::ThreadFunc (arg=0x7fffe339988c)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:254
No locals.
#23 0x00007ffff725078b in _pt_root (arg=0x7fffe339988c)
    at /home/jayson/tmp/seamonkey/src/mozilla/nsprpub/pr/src/pthreads/ptthread.c:221
	rv = 1
	thred = (PRThread *) 0x7ffff6f15590
	detached = 0
#24 0x00000031e76073da in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
	__res = <value optimized out>
	pd = (struct pthread *) 0x7ffff0946950
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8331675078355812691, 
        10489856, 0, 214320676864, 140737488343328, 8331677452757663405, 
        -8341722693118034259}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
      0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
	not_first_call = <value optimized out>
	robust = <value optimized out>
#25 0x00000031e6ae62bd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.

Thread 1 (Thread 0x7ffff720c7e0 (LWP 22860)):
#0  0x00000031e6adc886 in __poll (fds=0x7fffe94a1330, nfds=9, timeout=497)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	oldtype = 0
	result = <value optimized out>
#1  0x00000031e823ae08 in g_main_context_poll () at gmain.c:3091
No locals.
#2  g_main_context_iterate (context=0x7ffff6f1a7a0, block=1, dispatch=1, 
    self=<value optimized out>) at gmain.c:2773
	max_priority = 2147483647
	timeout = 497
	some_ready = <value optimized out>
	nfds = 9
	allocated_nfds = <value optimized out>
	fds = (GPollFD *) 0x7fffe94a1330
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#3  0x00000031e823b12b in IA__g_main_context_iteration (
    context=0x7ffff6f1a7a0, may_block=1) at gmain.c:2841
	retval = <value optimized out>
#4  0x00007fffef4799cd in nsBaseAppShell::DoProcessNextNativeEvent (
    this=0x7ffff6f207b0, mayWait=9)
    at /home/jayson/tmp/seamonkey/src/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:151
No locals.
#5  0x00007fffef479cf9 in nsBaseAppShell::OnProcessNextEvent (
    this=0x7ffff6f207b0, thr=0x7ffff6f0ad70, mayWait=32767, 
    recursionDepth=4294967295)
    at /home/jayson/tmp/seamonkey/src/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:296
No locals.
#6  0x00007ffff78f7ce8 in nsThread::ProcessNextEvent (this=0x7ffff6f0ad70, 
    mayWait=1, result=0x7fffef42a000)
    at /home/jayson/tmp/seamonkey/src/mozilla/xpcom/threads/nsThread.cpp:497
No locals.
#7  0x00007ffff78b201f in NS_ProcessNextEvent_P (thread=0x7fffe94a1330, 
    mayWait=1) at nsThreadUtils.cpp:227
No locals.
#8  0x00007fffef479e20 in nsBaseAppShell::Run (this=0x7ffff6f207b0)
    at /home/jayson/tmp/seamonkey/src/mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:170
No locals.
#9  0x00007fffee4a8d8c in nsAppStartup::Run (this=0x7ffff1c7bd30)
    at /home/jayson/tmp/seamonkey/src/mozilla/toolkit/components/startup/src/nsAppStartup.cpp:192
No locals.
#10 0x00007ffff7d98159 in XRE_main (argc=-387993204, argv=0x7fffffffdc70, 
    aAppData=0x7fffe9460800)
    at /home/jayson/tmp/seamonkey/src/mozilla/toolkit/xre/nsAppRunner.cpp:3265
No locals.
#11 0x00000000004019c7 in main (argc=1, argv=0x7fffffffe1b8)
    at /home/jayson/tmp/seamonkey/src/suite/app/nsSuiteApp.cpp:103
No locals.
0x00000031e6a32f05	64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Current language:  auto; currently c
(gdb) q
The program is running.  Exit anyway? (y or n)
about:buildconfig

Source

Built from http://hg.mozilla.org/releases/mozilla-1.9.1/rev/dc2a9acf9a69
Build platform
target
x86_64-unknown-linux-gnu

Build tools
Compiler 	Version 	Compiler flags
gcc 	gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 	-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -pedantic -gstabs+ -fno-strict-aliasing -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_jayson -DTRACING -g -fno-inline -Os -freorder-blocks -fno-reorder-functions
c++ 	gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 	-fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -gstabs+ -fno-strict-aliasing -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_jayson -DTRACING -g -fno-inline -Os -freorder-blocks -fno-reorder-functions

Configure arguments
--enable-application=suite --enable-optimize --enable-debug --disable-mailnews --disable-installer --enable-debugger-info-modules --disable-strip --without-lame-distro-hacks --enable-application=suite --enable-optimize --enable-debug --disable-mailnews --disable-installer --enable-debugger-info-modules --disable-strip --without-lame-distro-hacks --enable-application=../suite --disable-official-branding --with-branding=../suite/branding/nightly --enable-optimize --enable-64bit --cache-file=.././config.cache --srcdir=/home/jayson/tmp/seamonkey/src/mozilla
Attached file gdb output (obsolete) —
gdb output
Attachment #354388 - Attachment mime type: application/octet-stream → text/plain
ok, so... in general, please only use "bt", not "thread apply all bt" when pasting into a bug. attachments can have the all form, but otherwise the bug ends up having lots of irrelevant stack info, which makes it hard to do much.

./run-mozilla.sh -g -d gdb ./seamonkey-bin
b SECMOD_Shutdown
b SECMOD_DeleteInternalModule
b SECMOD_DeleteModuleEx
r
bt

what interests me is the stack (bt) for one of the breakpoints above.

fwiw, there's no need to "install" seamonkey, you should be able to run it from dist/bin

as for why you needed --enable-debug, that's a bug in the build system integration w/ nss, it's very annoying, but sadly fixing it isn't something we'll try to fix here :(
Attached file gdb output (obsolete) —
Here's breakpoint trace, on SECMOD_DeleteModuleEx
Attachment #354388 - Attachment is obsolete: true
Version: unspecified → Trunk
Speaking of Mercurial, would there be any point in me trying to bisect this crash? I searched for clues about bisecting with Mercurial... I assume it works similarly to how it works in git?

I will have to try it later and see.
technically nss delivers cvs snapshots to us, but if you want to do some bisecting, yes, it should work the same as it does w/ git (i haven't used git's bisect, i have used mercurial's).

b nsNSSComponentConstructor 

how man times do you actually hit that?

sorry about the delete bits, that's actually normal (i should have read more of the code)
I just tested Seamonkey 2.0a1 and it does not crash. So the bug is introduced somewhere between 2.0a1 and 2.0a2. If I figure out how to do bisect in Mercurial I can narrow it down further.
(In reply to comment #13)
> b nsNSSComponentConstructor 
> 
> how man times do you actually hit that?

(now with dc2a9acf9a69)

It hits the breakpoint after trying to load the SSL site, just before crashing. I'll attach the gdb output with a trace on the breakpoint and a trace on the crash.
Attached file gdb output
gdb output showing trace on b nsNSSComponentConstructor and trace on crash.
Attachment #354406 - Attachment is obsolete: true
(In reply to comment #15)
> (now with dc2a9acf9a69)
(sorry, that should have been b134457cb042)

I am bisecting now (and grumbling about typeaheadfind breaking the build, but I think that's fixed...)
what i mean is do you only hit it once?

my understanding is that we're looking for something either getting unloaded (not my false track) or getting initialized twice.
(In reply to comment #18)
> what i mean is do you only hit it once?

Yes. In each instance it hits that breakpoint only once.

Now, I've found that it crashes only when Flashblock (v 1.3.10) is installed. Without Flashblock, no crash (but it still hits your breakpoint before loading the SSL site).

I bisected Seamonkey between 2.0a1 and 2.0a2 and it points to changeset 0c3300f451d6 "Bug 462806. Don't init PSM to deal with random JARs. Save that for signed JARs."
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/0c3300f451d6

If I go to tip and patch -R the patch 0c3300f451d6, then no more crash with Flashblock or without, and then also it hits your breakpoint before the browser window even comes up when it is run (instead of just before loading the SSL site).

So, there is some interaction between 0c3300f451d6, Flashblock and SSL sites. I will reference this in bug 462806 also in case it is relevant there.
Blocks: 462806
Keywords: regression
Hmm.  This is really odd.  Does flashblock include a binary component or something?  Does flashblock access PSM?  The stack for NSS init above looks correct to me, for what it's worth...

I assume in the case of Firefox this isn't coming up because any http (not just https) load loads PSM or something?

In any case, over to PSM for now and requesting blocking.  We need to sort this out.

I think we can mark this NEW given the debugging data.
Assignee: nobody → kaie
Status: UNCONFIRMED → NEW
Component: General → Security: PSM
Ever confirmed: true
Product: SeaMonkey → Core
QA Contact: general → psm
Flags: wanted1.9.1?
> Does flashblock include a binary component or something?
No. We are pure XBL/JS/CSS.

> Does flashblock access PSM?
No. But on trunk we keep tripping over new security restrictions. We do swap out the src= attributes of flash objects and replace them with src="about:blank".
The about:blank thing shouldn't affect this.

I guess I'll try to get a Seamonkey build set up and see what's going on here, but that's not likely to happen until at least Jan 5.  In the meantime, reducing the extension needed to trigger the bug would be an enormous help...
I'm not on linux and definitely not on x64, but I think Martijn had some reduce test cases on previous flashblock bugs that just bound some dummy XBL to flash objects via -moz-binding.
Just to check... This is still happening on m-c current?  I know it's been a year since I said I'd look into this; it never quite made it to the top of the list.  :(
(In reply to comment #24)
> Just to check... This is still happening on m-c current?  I know it's been a
> year since I said I'd look into this; it never quite made it to the top of the
> list.  :(

To be honest, since I bisected this crasher to the patch 0c3300f451d6, I've been building with the patch reverted (I use my own builds on x86_64 and not the official builds) and haven't had a problem with it anymore.

My apologies for not keeping track of this report and not checking on it for so long.

In a little while I will try a new 1.9.1 build without reverting anything and see if it still crashes.
I have tried the most recent 1.9.1 (last commit was d217f3c28332) without any reverts, and I can no longer make SeaMonkey crash when following the instructions I wrote earlier. So I am marking this bug as resolved.

Thanks for the attention.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: