This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/22351] New: Unaligned pthread_cond_t stopped working
- From: "tuliom at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 25 Oct 2017 21:31:55 +0000
- Subject: [Bug nptl/22351] New: Unaligned pthread_cond_t stopped working
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22351
Bug ID: 22351
Summary: Unaligned pthread_cond_t stopped working
Product: glibc
Version: 2.27
Status: NEW
Severity: normal
Priority: P2
Component: nptl
Assignee: unassigned at sourceware dot org
Reporter: tuliom at linux dot vnet.ibm.com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Created attachment 10556
--> https://sourceware.org/bugzilla/attachment.cgi?id=10556&action=edit
Modified version of nptl/tst-cond1.c
The attached program works well on glibc <= 2.24.
It has the following packed structure:
struct thread_info_t
{
pthread_mutex_t mut;
char c;
pthread_cond_t cond;
};
If it's compiled on a glibc <= 2.24 machine and copied to a glibc >= 2.25
machine, it aborts.
Confirmed on x86_64 and powerpc64le.
--
You are receiving this mail because:
You are on the CC list for the bug.