This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2759
  Segfault in in __write_nocancel () from /lib64/tls/libpthread.so.0 Last modified: 2006-07-24 15:12:47
     Query page      Enter new bug
Bug#: 2759   Hardware:   Reporter: Peter Kruty <kruty@fi.muni.cz>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: INVALID   Severity:  
Assigned To: drow@false.org <drow@false.org>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2759 depends on: Show dependency tree
Show dependency graph
Bug 2759 blocks:

Additional Comments:


Leave as RESOLVED INVALID
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-06-13 12:41
dSpam with connection to mysql database (using libmysqlclient.so) segfaults.

While extensive spam testing process recieves segfaults. Running in gdb it
crashes with message:

  Program received signal SIGPIPE, Broken pipe.
  0x00002aaaab46cadf in __write_nocancel () from /lib64/tls/libpthread.so.0

(gdb) bt
#0  0x00002aaaab46cadf in __write_nocancel () from /lib64/tls/libpthread.so.0
#1  0x00002aaaaac3188e in vio_write () from /usr/lib64/libmysqlclient.so.15
#2  0x00002aaaaac32eb9 in net_real_write ()
   from /usr/lib64/libmysqlclient.so.15
#3  0x00002aaaaac32d2f in net_write_command ()
   from /usr/lib64/libmysqlclient.so.15
#4  0x00002aaaaac32c18 in net_write_command ()
   from /usr/lib64/libmysqlclient.so.15
#5  0x00002aaaaac2ca2f in cli_advanced_command ()
   from /usr/lib64/libmysqlclient.so.15
#6  0x00002aaaaac2f505 in mysql_send_query ()
   from /usr/lib64/libmysqlclient.so.15
#7  0x00002aaaaac2f559 in mysql_real_query ()
   from /usr/lib64/libmysqlclient.so.15
#8  0x00002aaaaac07cd9 in mysql_query () from /usr/lib64/libmysqlclient.so.15
#9  0x000000000041c25e in _ds_getall_spamrecords (CTX=0x5597d0, 
    diction=0x5b8f30) at mysql_drv.c:518
#10 0x0000000000412512 in _ds_operate (CTX=0x5597d0, 
    headers=0x5c28a0 "From root@fi.muni.cz  Thu Nov 10 02: 14:01 2005", 
    body=0x2aaaaccbe010 "\tDobry") at libdspam.c:883
#11 0x0000000000411ef3 in dspam_process (CTX=0x5597d0, 
    message=0x2aaaaca67010 "From root@fi.muni.cz  Thu Nov 10 02:14:01 2005\nRe
turn-Path: <root@fi.muni.cz>\nX-Original-To: xkruty@fi.muni.cz\nReceived: by a
nxur.fi.muni.cz (Postfix, from userid 13644)\n\tid EAD8F22B37C; Thu, 10 Nov 2"
...)
    at libdspam.c:583
#12 0x0000000000406d68 in process_message (ATX=0x5bf670, message=0x541be0, 
    username=0x5a0040 "xkruty", result_string=0x407fdbf8) at dspam.c:495
#13 0x00000000004086af in process_users (ATX=0x5bf670, message=0x560a80)
    at dspam.c:1765
#14 0x000000000040e00c in process_connection (ptr=0x548c10) at daemon.c:712
#15 0x00002aaaab467c64 in start_thread () from /lib64/tls/libpthread.so.0
#16 0x00002aaaab64f243 in thread_start () from /lib64/tls/libc.so.6
#17 0x0000000000000000 in ?? ()
(gdb)

------- Additional Comment #1 From drow@false.org 2006-06-13 12:57 -------
Subject: Re:  New: Segfault in in __write_nocancel () from /lib64/tls/libpthread.so.0

On Tue, Jun 13, 2006 at 12:41:11PM -0000, kruty at fi dot muni dot cz wrote:
>   Program received signal SIGPIPE, Broken pipe.
>   0x00002aaaab46cadf in __write_nocancel () from /lib64/tls/libpthread.so.0

This isn't your real bug.  Try "handle SIGPIPE nostop noprint pass" and
run it again.



------- Additional Comment #2 From Daniel Jacobowitz 2006-07-24 15:12 -------
Not a glibc bug.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In