public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27581] New: Threaded program crashes under ulimit -s unlimited
@ 2021-03-15 15:46 jdelvare at suse dot de
  2021-03-15 15:54 ` [Bug libc/27581] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jdelvare at suse dot de @ 2021-03-15 15:46 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27581
           Summary: Threaded program crashes under ulimit -s unlimited
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jdelvare at suse dot de
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 13312
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13312&action=edit
Reproducer

I have a simple program using pthreads which runs fine with the default ulimit
-s setting (8192) but crashes midway through execution when ran under ulimit -s
unlimited:

# ulimit -s unlimited
# ./thread_stack 
MAIN 0x7ffe292afc2c
THREAD 0x14ae0f69befc
START 6
DONE 0x14ae0f5f92a0
START 5
DONE 0x14ae0f556650
START 4
DONE 0x14ae0f4b3a00
Segmentation fault (core dumped)

Is this a glibc bug?

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-19 10:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 15:46 [Bug libc/27581] New: Threaded program crashes under ulimit -s unlimited jdelvare at suse dot de
2021-03-15 15:54 ` [Bug libc/27581] " fweimer at redhat dot com
2021-03-15 19:24 ` hpj at urpla dot net
2021-03-15 21:45 ` carlos at redhat dot com
2021-03-19 10:56 ` jdelvare at suse dot de

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).