In Perl 5.16.0 sample C program is working but the existing multi-thread program is aborting in Perl_sv_upgrade
. Multi-thread program works fine with Perl 5.8.8. The same code works on Linux and Solaris with Perl 5.16.0.
Comparing the sv
argument value between Linux and Hp-PA shows the sv
value is NULL
in case of Hp-PA. Did anybody notice this problem before. Please let me know?
Linux stack trace after debugging and seeing the sv
value:
Breakpoint 4, Perl_sv_upgrade (my_perl=0x14fe6400, sv=0x150317a8, new_type=SVt_PV)
at sv.c:1140
1140 sv.c: No such file or directory.
(gdb) where
#0 Perl_sv_upgrade (my_perl=0x14fe6400, sv=0x150317a8, new_type=SVt_PV) at sv.c:1140
HP-PA stack trace after seeing the sv value while analyzing the abort in gdb:
Thread 3 (system thread 428417):
#3 signal handler called
#4 0xca9825c4 in Perl_sv_upgrade (my_perl=0x40236f10, sv=0x0, new_type=SVt_PV)
at sv.c:1260