--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: "libgomp: Thread creation failed" after stack size limit increase
- From: Delian Krustev <krustev@krustev.net>
- Date: Fri, 16 Oct 2009 12:17:05 +0000
- Message-id: <20091016121705.13875.74967.reportbug@www5.itahost.com>
Package: libgomp1
Version: 4.4.1-4
Severity: normal
$ ulimit -a > pre
$ convert -geometry 90x68 -quality 100 city.jpg city_thumb.jpg
$ echo $?
0
$ ulimit -s 195312
$ convert -geometry 90x68 -quality 100 city.jpg city_thumb.jpg
libgomp: Thread creation failed: Resource temporarily unavailable
$ echo $?
1
$ ulimit -a > after
$ diff -u pre after
--- pre 2009-10-16 15:02:46.000000000 +0300
+++ after 2009-10-16 15:02:39.000000000 +0300
@@ -9,8 +9,8 @@
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
-stack size (kbytes, -s) 8192
+stack size (kbytes, -s) 195312
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
It appears that libgomp fails with higher stack size limitations.
The bug might also be in how convert uses the library, but it seems more
likely to be in libgomp.
Package: imagemagick
Version: 7:6.5.5.3-1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (900, 'stable'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgomp1 depends on:
ii gcc-4.4-base 4.4.1-4 The GNU Compiler Collection (base
ii libc6 2.9-25 GNU C Library: Shared libraries
libgomp1 recommends no packages.
libgomp1 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 551188-done@bugs.debian.org
- Subject: Re: Bug#551188: "libgomp: Thread creation failed" after stack size limit increase
- From: Matthias Klose <doko@debian.org>
- Date: Tue, 20 Dec 2011 14:36:44 +0100
- Message-id: <4EF08F6C.1070305@debian.org>
- In-reply-to: <201008070208.28044.krustev@krustev.net>
- References: <20091016121705.13875.74967.reportbug@www5.itahost.com> <AANLkTimpdBz3s=WsyQgOU77eMzWsut_4bwP=6no-B1qh@mail.gmail.com> <201008070208.28044.krustev@krustev.net>
On 08/07/2010 01:08 AM, Delian Krustev wrote:
> On Fri, 6 Aug 2010 06:49:43 -0700 Arthur Loiret wrote:
>> I can't reproduce your bug. Does it still occur, and if yes, have you
>> tried on an other machine?
>
> I've just checked it, and was unable to reproduce it.
closing.
--- End Message ---