Public bug reported:

This has happened several times to me when being connected to an IRC
server with a bad connection (mobile access through phone in train) but
I hadn't installed the -dbg package until yet, so I can only provide an
incomplete backtrace at this point, which however looks pretty obvious
to me:

bt
#0  0x00007ffff789807d in write () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffe0204047 in irc_send_len () from /usr/lib/purple-2/libirc.so
#2  0x00007fffe0201ab9 in irc_cmd_quit () from /usr/lib/purple-2/libirc.so
#3  0x00007fffe0203137 in ?? () from /usr/lib/purple-2/libirc.so
#4  0x00007ffff4bdff91 in _purple_connection_destroy () from 
/usr/lib/libpurple.so.0
#5  0x00007ffff4bcb6ee in purple_account_disconnect () from 
/usr/lib/libpurple.so.0
#6  0x00007ffff4bdf1e5 in ?? () from /usr/lib/libpurple.so.0
#7  0x00007ffff4efe23b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff4efca5d in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff4efd258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff4efd792 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff6333db7 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff7f4718e in main ()


(gdb) info registers
rax            0xffffffffffffffe0       -32
rbx            0x0      0
rcx            0xffffffffffffffff       -1
rdx            0x10     16
rsi            0x7ffff92551a0   140737373360544
rdi            0x1b     27
rbp            0x7ffff88e5800   0x7ffff88e5800
rsp            0x7fffffffbb20   0x7fffffffbb20
r8             0x7ffff82b40c0   140737356972224
r9             0x1f11   7953
r10            0x1      1
r11            0x293    659
r12            0x10     16
r13            0x7ffff92e8580   140737373963648
r14            0x7ffff51ac670   140737305560688
r15            0x7ffff8212490   140737356309648
rip            0x7ffff789807d   0x7ffff789807d <write+45>
eflags         0x293    [ CF AF SF IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0

(gdb) x/16i $pc
=> 0x7ffff789807d <write+45>:   mov    (%rsp),%rdi
   0x7ffff7898081 <write+49>:   mov    %rax,%rdx
   0x7ffff7898084 <write+52>:   callq  0x7ffff7897b30 
<__pthread_disable_asynccancel>
   0x7ffff7898089 <write+57>:   mov    %rdx,%rax
   0x7ffff789808c <write+60>:   add    $0x8,%rsp
   0x7ffff7898090 <write+64>:   cmp    $0xfffffffffffff001,%rax
   0x7ffff7898096 <write+70>:   jae    0x7ffff7898099 <write+73>
   0x7ffff7898098 <write+72>:   retq   
   0x7ffff7898099 <write+73>:   mov    0x208ed8(%rip),%rcx        # 
0x7ffff7aa0f78
   0x7ffff78980a0 <write+80>:   xor    %edx,%edx
   0x7ffff78980a2 <write+82>:   sub    %rax,%rdx
   0x7ffff78980a5 <write+85>:   mov    %edx,%fs:(%rcx)
   0x7ffff78980a8 <write+88>:   or     $0xffffffffffffffff,%rax
   0x7ffff78980ac <write+92>:   jmp    0x7ffff7898098 <write+72>
   0x7ffff78980ae:      nop
   0x7ffff78980af:      nop

(gdb) thread apply all backtrace

Thread 4 (Thread 0x7fffda442700 (LWP 7956)):
#0  0x00007ffff48bc773 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff4efcf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff4efd792 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff2d22516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff4f222b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7890efc in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff48c889d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fffe1c5e700 (LWP 7954)):
#0  0x00007ffff48c1913 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffe229386a in ?? () from /usr/lib/libtcl8.5.so.0
#2  0x00007ffff7890efc in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007ffff48c889d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7ec79a0 (LWP 7953)):
#0  0x00007ffff789807d in write () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fffe0204047 in irc_send_len () from /usr/lib/purple-2/libirc.so
#2  0x00007fffe0201ab9 in irc_cmd_quit () from /usr/lib/purple-2/libirc.so
#3  0x00007fffe0203137 in ?? () from /usr/lib/purple-2/libirc.so
#4  0x00007ffff4bdff91 in _purple_connection_destroy () from 
/usr/lib/libpurple.so.0
#5  0x00007ffff4bcb6ee in purple_account_disconnect () from 
/usr/lib/libpurple.so.0
#6  0x00007ffff4bdf1e5 in ?? () from /usr/lib/libpurple.so.0
#7  0x00007ffff4efe23b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff4efca5d in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff4efd258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff4efd792 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff6333db7 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff7f4718e in main ()

If necessary, I can provide a full backtrace the next time this happens.
I also enabled apport for future crashes...

** Affects: pidgin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/881259

Title:
  Crash when losing IRC connection with signal SIGPIPE, Broken pipe in
  write () from /lib/x86_64-linux-gnu/libpthread.so.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/881259/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to