[Bug 39065] New: thread.c, line 403: Crash when attaching debugger (EXC_BAD_ACCESS, EXC_i386_GPFLT)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 8 13:31:51 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39065

            Bug ID: 39065
           Summary: thread.c, line 403: Crash when attaching debugger
                    (EXC_BAD_ACCESS, EXC_i386_GPFLT)
           Product: Wine
           Version: 1.7.49
          Hardware: x86
                OS: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: philippe.groarke at gmail.com

Created attachment 52035
  --> https://bugs.winehq.org/attachment.cgi?id=52035
Variables

pthread_join crashes when attaching debugger. This makes it impossible to debug
anything. I am using lldb and/or xcode directly. Winedbg also crashes, but I
cannot retrieve anything with it.

I attached the state of local variables when it crashes (in exit_thread). I've
also attached the variables of call_thread_func and start_thread.

libsystem_pthread.dylib`pthread_join$UNIX2003:
    0x9776dedc <+0>:   pushl  %ebp
    0x9776dedd <+1>:   movl   %esp, %ebp
    0x9776dedf <+3>:   pushl  %ebx
    0x9776dee0 <+4>:   pushl  %edi
    0x9776dee1 <+5>:   pushl  %esi
    0x9776dee2 <+6>:   subl   $0x3c, %esp
    0x9776dee5 <+9>:   calll  0x9776deea                ; <+14>
    0x9776deea <+14>:  popl   %esi
    0x9776deeb <+15>:  movl   0x8(%ebp), %edi
->  0x9776deee <+18>:  movl   %gs:0x0, %ebx

Small backtrace:
#0    0x9776deee in pthread_join$UNIX2003 ()
#1    0x7bcb0358 in exit_thread at wine/dlls/ntdll/thread.c:403
#2    0x7bca0b65 in call_thread_func_wrapper ()
#3    0x7bca3f6b in call_thread_func at wine/dlls/ntdll/signal_i386.c:2732
#4    0x7bca0b22 in call_thread_entry_point ()
#5    0x7bcb0f6f in start_thread at wine/dlls/ntdll/thread.c:443
#6    0x97769e13 in _pthread_body ()
#7    0x97769d89 in _pthread_start ()
#8    0x97767e52 in thread_start ()

Could be many things, open for suggestions.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list