Front page | perl.perl5.porters |
Postings from February 2000
[ID 20000205.003] multi-threaded perl segfaults
Thread Next
From:
Mike Helm
Date:
February 5, 2000 15:58
Subject:
[ID 20000205.003] multi-threaded perl segfaults
Message ID:
200002052358.PAA06091@dir2.es.net
This is a bug report for perl from helm@dir2.es.net,
generated with the help of perlbug 1.26 running under perl 5.00503.
-----------------------------------------------------------------
[Please enter your report here]
The site configuration below is wrong for this bug report.
This bug report is for a threaded configuration (the other
details below are consistent between the threaded & non-th.
configurations).
This configuration segfaults on some solaris 2.5.1, but not on others,
no obvious pattern. Here's what & where:
Reading symbolic information for perl
core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
dbx: program is not active
Reading symbolic information for libsocket.so.1
Reading symbolic information for libnsl.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libposix4.so.1
Reading symbolic information for libpthread.so.1
Reading symbolic information for libc.so.1
Reading symbolic information for libintl.so.1
Reading symbolic information for libmp.so.1
Reading symbolic information for libw.so.1
Reading symbolic information for libc_psr.so.1
Reading symbolic information for libthread.so.1
detected a multithreaded program
t@1 (l@1) terminated by signal SEGV (Segmentation Fault)
dbx: core file read error: address 0xef7fff40 not in data space
dbx: core file read error: address 0xef7fff7c not in data space
dbx: core file read error: address 0xef7ca140 not in text space
dbx: attempt to fetch registers failed - stack corrupted
(dbx) where
current thread: t@1
dbx: core file read error: address 0xef7fff7c not in data space
dbx: core file read error: address 0xef7ca140 not in text space
dbx: attempt to fetch registers failed - stack corrupted
(dbx)
Ok, let's try running it:
(dbx) run
Running: perl
(process id 5973)
Reading symbolic information for libthread.so.1
t@1 (l@1) signal SEGV (no mapping at the fault address) in call_init at 0xef7ca154
0xef7ca154: call_init+0x0014: st %i0, [%fp + 0x44]
(dbx) where
current thread: t@1
=>[1] call_init(0xef721324, 0x400181, 0xffffffff, 0xef7ed7b8, 0xef7ed7a0, 0x0), at 0xef7ca154
dbx: fetch at 0xef7fffd8 failed -- I/O error
dbx: attempt to read stack failed - bad frame pointer
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00503:
Configured by helm at Sat Feb 5 13:32:04 PST 2000.
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=solaris, osvers=2.5.1, archname=sun4-solaris
uname='sunos dir2 5.5.1 generic_103640-31 sun4u '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-g -O', gccversion=
cppflags='-DDEBUGGING -I/usr/local/include'
ccflags ='-DDEBUGGING -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl 5.00503:
/usr/local/lib/perl5/5.00503/sun4-solaris
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
.
---
Environment for perl 5.00503:
HOME=/export/home/helm
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/bin:/usr/bin:/usr/ucb:/etc:.
PERL_BADLANG (unset)
SHELL=/bin/csh
Thread Next
-
[ID 20000205.003] multi-threaded perl segfaults
by Mike Helm