This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/15972] core dump with process probes


https://sourceware.org/bugzilla/show_bug.cgi?id=15972

--- Comment #2 from Mark Wielaard <mjw at redhat dot com> ---
Attaching gdb at the same time shows:

Program received signal SIGSEGV, Segmentation fault.
g_main_context_iterate (context=0x7f7f123a7d80, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3649
3649      UNLOCK_CONTEXT (context);
(gdb) disassemble 
Dump of assembler code for function g_main_context_iterate:
   0x00007f7f1129ef90 <+0>:    push   %r15
   0x00007f7f1129ef92 <+2>:    push   %r14
   0x00007f7f1129ef94 <+4>:    mov    %esi,%r14d
   0x00007f7f1129ef97 <+7>:    push   %r13
   0x00007f7f1129ef99 <+9>:    push   %r12
   0x00007f7f1129ef9b <+11>:    push   %rbp
   0x00007f7f1129ef9c <+12>:    push   %rbx
   0x00007f7f1129ef9d <+13>:    mov    %rdi,%rbx
   0x00007f7f1129efa0 <+16>:    sub    $0x28,%rsp
   0x00007f7f1129efa4 <+20>:    mov    %edx,0xc(%rsp)
=> 0x00007f7f1129efa8 <+24>:    int3   
   0x00007f7f1129efa9 <+25>:    retq   
   0x00007f7f1129efaa <+26>:    repnz add (%rax),%eax
   0x00007f7f1129efad <+29>:    mov    %rbx,%rdi
   0x00007f7f1129efb0 <+32>:    callq  0x7f7f1129e220 <g_main_context_acquire>

I am surprised gdb sees the int3. And that it gets a SIGSEGV here (not a
SIGTRAP).

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]