[tor-bugs] #9531 [TorBrowserButton]: More Torbutton hangs on New Identity control port access

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 27 19:09:11 UTC 2013


#9531: More Torbutton hangs on New Identity control port access
----------------------------------+---------------------------
     Reporter:  mikeperry         |      Owner:  mikeperry
         Type:  defect            |     Status:  new
     Priority:  major             |  Milestone:
    Component:  TorBrowserButton  |    Version:
   Resolution:                    |   Keywords:  tbb-usability
Actual Points:                    |  Parent ID:
       Points:                    |
----------------------------------+---------------------------

Comment (by gk):

 Here comes some gdb output as a starting point:
 {{{
 #4  0xb628579a in mozilla::ReentrantMonitor::Wait (this=0x9b2814e0,
     interval=4294967295)
     at /home/ubuntu/build/tor-browser/obj-i686-pc-linux-
 gnu/xpcom/build/BlockingResourceBase.cpp:313
 #5  0xb4a8f352 in mozilla::ReentrantMonitorAutoEnter::Wait
 (this=0xbfffb7ac,
     interval=4294967295) at
 ../../dist/include/mozilla/ReentrantMonitor.h:192
 #6  0xb62caa37 in nsPipeOutputStream::Wait (this=0x9b2814bc)
     at /home/ubuntu/build/tor-browser/xpcom/io/nsPipe3.cpp:980
 #7  0xb62cae45 in nsPipeOutputStream::WriteSegments (this=0x9b2814bc,
     reader=0xb62cafea <nsReadFromRawBuffer(nsIOutputStream*, void*, char*,
 uint32_t, uint32_t, uint32_t*)>, closure=0x9b5e0be0, count=46,
     writeCount=0xbfffb898)
     at /home/ubuntu/build/tor-browser/xpcom/io/nsPipe3.cpp:1090
 #8  0xb62cb077 in nsPipeOutputStream::Write (this=0x9b2814bc,
     fromBuf=0x9b5e0be0 "AUTHENTICATE
 422f587d45483e5b737b2f7863234042\r\n",
     bufLen=47, writeCount=0xbfffb898)
     at /home/ubuntu/build/tor-browser/xpcom/io/nsPipe3.cpp:1150
 #9  0xb62bc86d in nsBinaryOutputStream::Write (this=0x9b6d1980,
     aBuf=0x9b5e0be0 "AUTHENTICATE 422f587d45483e5b737b2f7863234042\r\n",
     aCount=47, aActualBytes=0xbfffb898)
     at /home/ubuntu/build/tor-browser/xpcom/io/nsBinaryStream.cpp:51
 #10 0xb62bd0e7 in nsBinaryOutputStream::WriteBytes (this=0x9b6d1980,
     aString=0x9b5e0be0 "AUTHENTICATE
 422f587d45483e5b737b2f7863234042\r\n",
     aLength=47)
     at /home/ubuntu/build/tor-browser/xpcom/io/nsBinaryStream.cpp:216

 }}}
 It is pretty reliably reproducible in my debug build if I open a bunch of
 boomkarks (say 5) simultaneously and choose the "New Identity" option
 immediately afterwards.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9531#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list