ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk-beta
pdk-beta
Re: [PDK-Beta] stack trace using pdk 7
by Jan Dubois other posts by this author
Feb 22 2007 12:18PM messages near this date
view in the new Beta List Site
[PDK-Beta] stack trace using pdk 7 | Re: [PDK-Beta] stack trace using pdk 7
Hi Mathieu,

 

Is it possible to send me reproducible test case for this?  The crash is related to cleanup 
of memory structures used to access tied hashes, so maybe you could look for any use of tied
 hashes in your application, and then write a simple program using the same tied hash module
, and see if it crashes too?

 

Iâ??m also interested to know if the crash would go away if you used ActivePerl 820 for buil
ding the application.

 

Cheers,

-Jan

 

From: pdk-beta-bounces@[...].com [mailto:pdk-beta-bounces@[...].com] On Behalf Of Mathieu Lo
ngtin
Sent: February 22, 2007 12:05 PM
To: pdk-beta@[...].com
Subject: [PDK-Beta] stack trace using pdk 7

 

Using pdk (from this file PDK-Pro-6.9.92.275147-linux.tar.gz), I have an executable that die
s with a stack trace (see below). The executable was built on Fedora Core 3 with ActivePerl 
813.

The problem execution happened on an install of Fedore Core 4 with no activeperl installed. 

Any idea as of why this would happen?

I have to admit we were happily using PDK 5.3 until we need to use encoding "UTF-8", which d
oesn't work with the older PDK for some reason.

*** glibc detected *** /home/ab/ae1026/bin/usage_be: double free or corruption (fasttop): 0x
08caea38 *** 
======= Backtrace: =========
/lib/libc.so.6[0x6ae124]
/lib/libc.so.6(__libc_free+0x77)[0x6ae65f]
/tmp/pdk-ab/cb254630414b6e03692a6e3d1e557812/libperl.so(Perl_safesysfree+0x21)[0xb7b7bd55]
/tmp/pdk-ab/cb254630414b6e03692a6e3d1e557812/libperl.so(Perl_free_tied_hv_pool+0x2f)[0xb7b86
ea7] 
/tmp/pdk-ab/cb254630414b6e03692a6e3d1e557812/libperl.so(perl_destruct+0xe18)[0xb7b8d22c]
/home/ab/ae1026/bin/usage_be(paperl_destruct+0x15b)[0x804fef7]
/home/ab/ae1026/bin/usage_be(paperl_main+0x3f)[0x805011b]
/home/ab/ae1026/bin/usage_be(main+0x146)[0x804ae56]
/lib/libc.so.6(__libc_start_main+0xdf)[0x65fd5f]
/home/ab/ae1026/bin/usage_be(geteuid+0x59)[0x804ac31]
======= Memory map: ========
0062d000-00647000 r-xp 00000000 08:02 589842     /lib/ld- 2.3.5.so
00647000-00648000 r-xp 00019000 08:02 589842     /lib/ld-2.3.5.so
00648000-00649000 rwxp 0001a000 08:02 589842     /lib/ld- 2.3.5.so <http://2.3.5.so>  
0064b000-0076e000 r-xp 00000000 08:02 589851     /lib/libc-2.3.5.so
0076e000-00770000 r-xp 00123000 08:02 589851     /lib/libc-2.3.5.so
00770000-00772000 rwxp 00125000 08:02 589851     /lib/libc- 2.3.5.so
00772000-00774000 rwxp 00772000 00:00 0
... 
Thread:
Mathieu Longtin
Jan Dubois
Mathieu Longtin
Jan Dubois
Mathieu Longtin

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved