[tor-bugs] #26594 [Core Tor/Tor]: Tor becomes unresponsive after configuration handling on Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 2 09:27:43 UTC 2018


#26594: Tor becomes unresponsive after configuration handling on Windows
--------------------------+----------------------------------
 Reporter:  ahf           |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  High          |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: unspecified
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by ahf):

 Here's the stack traces:

 {{{
 ahf at SHU MINGW64 ~
 $ ps aux | grep tor
      3272    1092    3272       5452  pty0      197609 11:23:46
 /home/ahf/src/github.com/ahf/tor/src/or/tor

 ahf at SHU MINGW64 ~
 $ gdb -p 3272
 GNU gdb (GDB) 8.1
 Copyright (C) 2018 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-w64-mingw32".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word".
 Attaching to process 3272
 [New Thread 3272.0x16f0]
 [New Thread 3272.0x1aec]
 [New Thread 3272.0x15a4]
 [New Thread 3272.0x1a88]
 [New Thread 3272.0x23bc]
 [New Thread 3272.0x1be4]
 Reading symbols from C:\msys64\usr\bin\bash.exe...(no debugging symbols
 found)...done.
 (gdb) thread apply all bt

 Thread 6 (Thread 3272.0x1be4):
 #0  0x00007ffb5495d881 in ntdll!DbgBreakPoint ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb549899fb in ntdll!DbgUiRemoteBreakin ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #2  0x00007ffb53283034 in KERNEL32!BaseThreadInitThunk ()
    from C:\Windows\System32\kernel32.dll
 #3  0x00007ffb54931431 in ntdll!RtlUserThreadStart ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #4  0x0000000000000000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 Thread 5 (Thread 3272.0x23bc):
 #0  0x00007ffb54959f74 in ntdll!ZwReadFile ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb50d72b36 in ReadFile () from
 C:\Windows\System32\KernelBase.dll
 #2  0x0000000180122c9a in wait_sig(void*) ()
    from C:\msys64\usr\bin\msys-2.0.dll
 #3  0x0000000180044693 in cygthread::callfunc(bool) ()
    from C:\msys64\usr\bin\msys-2.0.dll
 #4  0x0000000180044c4a in cygthread::stub(void*) ()
    from C:\msys64\usr\bin\msys-2.0.dll
 #5  0x0000000180045663 in _cygtls::call2(unsigned int (*)(void*, void*),
 void*, void*) () from C:\msys64\usr\bin\msys-2.0.dll
 #6  0x0000000180045714 in _cygtls::call(unsigned int (*)(void*, void*),
 void*)
     () from C:\msys64\usr\bin\msys-2.0.dll
 #7  0x00007ffb53283034 in KERNEL32!BaseThreadInitThunk ()
    from C:\Windows\System32\kernel32.dll
 #8  0x00007ffb54931431 in ntdll!RtlUserThreadStart ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #9  0x0000000000000000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 Thread 4 (Thread 3272.0x1a88):
 #0  0x00007ffb5495d804 in ntdll!ZwWaitForWorkViaWorkerFactory ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb548df856 in ntdll!RtlReleaseSRWLockExclusive ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #2  0x00007ffb53283034 in KERNEL32!BaseThreadInitThunk ()
    from C:\Windows\System32\kernel32.dll
 #3  0x00007ffb54931431 in ntdll!RtlUserThreadStart ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #4  0x0000000000000000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 Thread 3 (Thread 3272.0x15a4):
 #0  0x00007ffb5495d804 in ntdll!ZwWaitForWorkViaWorkerFactory ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb548df856 in ntdll!RtlReleaseSRWLockExclusive ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #2  0x00007ffb53283034 in KERNEL32!BaseThreadInitThunk ()
    from C:\Windows\System32\kernel32.dll
 #3  0x00007ffb54931431 in ntdll!RtlUserThreadStart ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #4  0x0000000000000000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 Thread 2 (Thread 3272.0x1aec):
 #0  0x00007ffb5495d804 in ntdll!ZwWaitForWorkViaWorkerFactory ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb548df856 in ntdll!RtlReleaseSRWLockExclusive ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #2  0x00007ffb53283034 in KERNEL32!BaseThreadInitThunk ()
    from C:\Windows\System32\kernel32.dll
 #3  0x00007ffb54931431 in ntdll!RtlUserThreadStart ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #4  0x0000000000000000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

 Thread 1 (Thread 3272.0x16f0):
 #0  0x00007ffb54959f34 in ntdll!ZwWaitForSingleObject ()
    from C:\Windows\SYSTEM32\ntdll.dll
 #1  0x00007ffb50d79252 in WaitForSingleObjectEx ()
    from C:\Windows\System32\KernelBase.dll
 #2  0x00000001800eb103 in pinfo::maybe_set_exit_code_from_windows() ()
    from C:\msys64\usr\bin\msys-2.0.dll
 #3  0x00000001800eb331 in pinfo::exit(unsigned int) ()
    from C:\msys64\usr\bin\msys-2.0.dll
 #4  0x00000001801287b5 in child_info_spawn::worker(char const*, char
 const* const*, char const* const*, int, int, int) () from
 C:\msys64\usr\bin\msys-2.0.dll
 #5  0x0000000180129409 in spawnve () from C:\msys64\usr\bin\msys-2.0.dll
 #6  0x000000018011bedb in _sigfe () from C:\msys64\usr\bin\msys-2.0.dll
 #7  0x0000000100426660 in ?? ()
 #8  0x0000000000080000 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 (gdb)
 }}}

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


More information about the tor-bugs mailing list