New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
many threads => various crashes #8203
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgI have a multithreaded server, using the "threads" interface, that fires I have a test program that simulates this thread usage pattern at a much ### t0 start ### When running this program, I've seen it abort in various ways: $ ./t0 I've also seen it abort with these error messages from glibc: *** glibc detected *** free(): invalid next size (fast): 0x0819cef8 *** If the read and incrementation of $n are commented out, I see it crash in I've run this test program with Perl 5.8.6 on a Gentoo Linux machine. Perl Info
|
From zefram@fysh.orgAdditional information: I've had a chance to analyse the program I started The program locked up with exactly one child thread in existence at #0 0x40048604 in __pthread_sigsuspend () from /lib/libpthread.so.0 The child was not using any CPU time. The parent was using 99% CPU time, #0 0x40049cc7 in wait_node_free () from /lib/libpthread.so.0 #0 0x4004a155 in __pthread_acquire () from /lib/libpthread.so.0 This is on a Debian (stable) Linux machine. The output of `perl -V`: Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Characteristics of this binary (from libperl): -zefram |
From @iabynOn Thu, Nov 10, 2005 at 08:49:05AM -0800, Zefram wrote:
The only way I can get that code to crash is when it runs out of memory on -- |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Fri, Nov 11, 2005 at 10:48:22AM +0000, Zefram wrote:
It would be interesting to to see the results of continuing to execute -- |
From zefram@fysh.orgDave Mitchell via RT wrote:
That's definitely not what I was seeing with any of my code. I never -zefram |
From zefram@fysh.orgDave Mitchell via RT wrote:
Unfortunately that's not an option. I don't have a proper test -zefram |
From guest@guest.guest.xxxxxxxxhttp://guest:guest@rt.perl.org/rt3/Ticket/Display.html?id=37652 Dave Mitchell wrote:
zefram wrote:
I would be inclined to dispute this. The test program, as I then modified the test program to add a sleep after each #!/usr/bin/perl (On my machine, it takes about 10 sec. to create and destroy This version runs virtually indefinitely (> 2,000,000 Additionally, older versions of 'threads' did have issues Jerry D. Hedden <jdhedden AT cpan DOT org> |
Migrated from rt.perl.org#37652 (status was 'open')
Searchable as RT37652$
The text was updated successfully, but these errors were encountered: