Closed p5pRT closed 20 years ago
I'm getting a libthread panic pretty consistently in code which worked in 5.05002. This is the ActiveState build (615) of perl running on a Solaris 5.7 machine. (sun4v ultra-5_10)
libthread panic: _sys_thread_create():alloc_thread returns 0 (no mem) (PID: 8846 LWP 1) stacktrace: ff0d79d0 68110 aa2dc 73a08 2c184 2be1c 292a0 290d4 0
It hangs at this point. 'ps' reads:
8541 pts/8 S 0:00 sh -c /export/home/joshb/VCS/lib/../scripts/upd -old -merge auto -mergefail pr 8542 pts/8 S 0:10 /usr/local/bin/perl5 /export/home/joshb/VCS/lib/../scripts/upd -old -merge auto -mergefail prompt - 8846 pts/8 S 0:00 /usr/local/bin/perl5 /export/home/joshb/VCS/lib/../scripts/upd -old -merge auto -mergefail prompt -
Note that this script does _not_ use threads. (I don't think it even forks\, for that matter.)
Here's the traceback from dbx:
(xdbx) where current thread: t@1 =>[1] _libc_sigtimedwait(0xffbee6b4\, 0x0\, 0x0\, 0xff0ec524\, 0xf4dcc\, 0xf4dac)\, at 0xff2145fc [2] _panic(0xff0dc0e8\, 0xff0ed2f4\, 0xff0ec524\, 0xf4d48\, 0xff0ec524\, 0xffbee95c)\, at 0xff0cdb4c [3] _sys_thread_create(0xff0cf574\, 0x100\, 0xff0ec524\, 0xf4fb8\, 0xff0ec524\, 0xff0cf574)\, at 0xff0cf7e0 [4] _ti_fork1(0x0\, 0xff0ed498\, 0xff0f68c0\, 0xff0f0f78\, 0xff0ed4b8\, 0xff0ec524)\, at 0xff0d79d0 [5] Perl_my_popen(0xf5798\, 0x88b280\, 0xd7528\, 0x2f\, 0x5c\, 0x234ef0)\, at 0x68110 [6] Perl_pp_backtick(0xf5798\, 0xaa1d4\, 0x0\, 0x251834\, 0x1\, 0x36f018)\, at 0xaa2dc [7] Perl_runops_standard(0xf5798\, 0x739fc\, 0x0\, 0x0\, 0xffbef00c\, 0x0)\, at 0x73a08 [8] S_run_body(0xf5798\, 0x1\, 0xf5798\, 0xffffffff\, 0xfffffff8\, 0xf6160)\, at 0x2c184 [9] perl_run(0x0\, 0x29308\, 0x8\, 0xffbeeedc\, 0x0\, 0x0)\, at 0x2be1c [10] main(0x0\, 0xffbeeedc\, 0xffbeef00\, 0xf49b8\, 0x0\, 0x0)\, at 0x292a0
Unfortunately\, I'm not coversant enough w/ debugging perl on solaris to tell you what backtick it's trying to run at this point...
Migrated from rt.perl.org#3487 (status was 'resolved')
Searchable as RT3487$