Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > perl_parse() crashes with no apparent reason

Reply
Thread Tools

perl_parse() crashes with no apparent reason

 
 
Jan Engelhardt
Guest
Posts: n/a
 
      10-14-2004
Hello,


I have a super weird problem with embedding perl -- it crashes upon running
perl_parse(), but when in gdb, i must be luckily to get the sigsegv at all...
any idea?


GDB:
#0 0x402106ec in memcpy () from /lib/i686/libc.so.6
#1 0x400be26a in Perl_savepvn ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#2 0x400ddc2e in Perl_sv_magicext ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#3 0x400ddd9c in Perl_sv_magic ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#4 0x400c2972 in Perl_mg_copy ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#5 0x400c9a0c in Perl_hv_store_flags ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#6 0x400c94c6 in Perl_hv_store ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#7 0x40077c59 in S_init_postdump_symbols ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#8 0x40073875 in S_parse_body ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#9 0x40073169 in perl_parse ()
from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/libperl.so
#10 0x0804ac60 in cnode_perl_init (cnode=0x40020330) at pg/gate.c:23

19 cnode->perl = my_perl = perl_alloc();
20 PERL_SET_CONTEXT(my_perl);
21 perl_construct(my_perl);
22 PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
23>> perl_parse(my_perl, xs_init, 2, args, NULL);
24 perl_run(my_perl);
25 return;

(gdb) p args
$3 = {0x804be00 "-", 0x804be02 "sensors.pl", 0x0}

#11 0x0804ad0f in sensors_string (node=0x40020330) at pg/gate.c:41
#12 0x0804a74b in query_node (arg=0x40020330) at qd.c:67
#13 0x40044020 in pthread_start_thread () from /lib/i686/libpthread.so.0
#14 0x40044122 in pthread_start_thread_event () from /lib/i686/libpthread.so.0



Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 crashes frequently for no apparent reason kennethdlitwak@gmail.com Windows 64bit 4 02-11-2013 08:38 PM
computer restarts for no apparent reason YT Computer Support 16 10-27-2005 05:18 AM
Computer reboots periodically for no apparent reason Bearclaw1939@Stormy.net Computer Support 3 02-24-2005 11:41 PM
Session - Screen Switches for no apparent reason. ASP .Net 4 01-28-2005 01:03 AM
Interface Hangs with no Apparent Reason Bitoy Cisco 3 06-08-2004 11:25 AM



Advertisments