[Bug linuxthreads/28795] New: Segmentation fault with gcc 4.8.5 during pthread_cleanup_push and pthread_mutex_unlock

ourgour at gmail dot com sourceware-bugzilla@sourceware.org
Thu Jan 20 09:35:32 GMT 2022


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

            Bug ID: 28795
           Summary: Segmentation fault with gcc 4.8.5 during
                    pthread_cleanup_push and pthread_mutex_unlock
           Product: glibc
           Version: 2.22
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: linuxthreads
          Assignee: unassigned at sourceware dot org
          Reporter: ourgour at gmail dot com
                CC: drow at false dot org
  Target Milestone: ---

Created attachment 13917
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13917&action=edit
C File to reproduce described issue

Hi,

I'm working on SUSE Linux 12.4 platform with gcc 4.8.5 and glibc 2.22.

I have threading application which fails during pthread_mutex_unlock (which is
pushed via pthread_cleanup_push)

I've attached source file.

Failure can be reproduced when compiled like :

gcc -m32 -pthread sapl.c -o sapl.o


If it's compiled without -m32 option, it works fine.


Also, issue is reproducing for a single thread too.


Please help out.

Thanks,
Digvijay

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list