public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bergner at vnet dot ibm dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug nptl/2748] Cancel from printf not calling the cancel handler
Date: Tue, 13 Jun 2006 21:45:00 -0000	[thread overview]
Message-ID: <20060613214538.23956.qmail@sourceware.org> (raw)
In-Reply-To: <20060609220957.2748.sjmunroe@us.ibm.com>


------- Additional Comments From bergner at vnet dot ibm dot com  2006-06-13 21:45 -------
Created an attachment (id=1085)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1085&action=view)
A C version of the test case.

Here is a C version of the test case with the problematic source extracted into
its own source file (bug.c).  Compiling bug.c with -fexceptions is all that is
needed to recreate the problem.  This does fail as a 32-bit x86 app as well as
32-bit and 64-bit ppc apps.  With this test case, you no longer need to set the
env var.

  linux% ./thct_wrl2 8

The code we're having problems with from bug.c is:

void thd_thread_2 (unsigned int ndx)
{
  pthread_cleanup_push ((void (*)(void*))thd_cleanup, &ndx);
  thread_body(ndx);
  pthread_cleanup_pop (1);
}

This test case does seem to work with older glibcs (eg, 2.3.4).


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2748

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2006-06-13 21:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09 22:10 [Bug nptl/2748] New: " sjmunroe at us dot ibm dot com
2006-06-09 22:13 ` [Bug nptl/2748] " sjmunroe at us dot ibm dot com
2006-06-09 22:18 ` sjmunroe at us dot ibm dot com
2006-06-09 22:27 ` sjmunroe at us dot ibm dot com
2006-06-13 21:45 ` bergner at vnet dot ibm dot com [this message]
2006-06-13 21:46 ` bergner at vnet dot ibm dot com
2006-08-13  6:38 ` drepper at redhat dot com
2006-08-13  6:39 ` drepper at redhat dot com
2006-08-13  6:39 ` drepper at redhat dot com
2007-03-28 16:18 ` jakub at redhat dot com
2007-03-28 16:19 ` jakub at redhat dot com
2007-03-29 14:53 ` sjmunroe at us dot ibm dot com
2008-04-08  1:18 ` drepper at redhat dot com
2010-06-01  2:26 ` pasky at suse dot cz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060613214538.23956.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).