<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
h5
{mso-style-priority:9;
mso-style-link:"Heading 5 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.Heading5Char
{mso-style-name:"Heading 5 Char";
mso-style-priority:9;
mso-style-link:"Heading 5";
font-family:"Times New Roman","serif";
font-weight:bold;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hey all,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>After having worked out my previous problem (segfaults
caused by an older version of CURL) I am faced with a new problem. I am now getting
segfaults caused by calls to free(). I get these problems when trying to
run an Execute (I am testing with the python hello world at the moment).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>A portion of the backtrace when debugging with gdb is below.
It looks like calling free on <span style='font-family:"Courier New"'>python_path</span>
is the culprit.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>*** glibc detected *** ./zoo_loader_capture: free(): invalid
pointer: 0x000000000042515b ***<o:p></o:p></p>
<p class=MsoNormal>..<span style='font-family:"Courier New"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>#4
0x00007ffff4c5be53 in free () from /lib/libc.so.6<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>No symbol table info
available.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>#5
0x00000000004117a3 in zoo_python_support (main_conf=<value optimised
out>, request=0x631830, s=0x642150,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
real_inputs=<value optimised out>, real_outputs=0x7fffffff0820) at
service_internal_python.c:178<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
m = 0x632e30<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
inputs = 0x651a60<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
outputs = <value optimised out><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
tmp = <value optimised out><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
python_path = 0x42515b "."<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
pModule = <value optimised out><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>
pFunc = <value optimised out><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'>…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p>
<p class=MsoNormal>I have replicated this behavior on a CentOS 64bit machine
and a Ubuntu 32bit machine. The Java hello world runs fine, although it
looks like some of the other processes (Distance etc..) have other problems
causing segfaults for other reasons (a call to xmlNewText which seems to be in
the libxml2 library in the case of Distance).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I can stop the free errors by setting MALLOC_CHECK_ =0, but that
doesn’t seem like a very good solution. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can anyone shed any light on why this is happening? Has
anyone managed a successful install of the subversion head which can process
python? I can run all these requests from <span style='font-family:"Courier New"'>shilpa.media.osaka-cu.ac.jp/zoo/?</span>,
so I am also curious about what version this is running. I can see some
differences on this box to the head (the Distance process only requires one Input
as an example).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am more than happy to provide more debugging output if
anyone would like some. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<h5 style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;
margin-left:0cm;background:white'><span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D;font-weight:normal'>Cheers,<o:p></o:p></span></h5>
<h5 style='margin:0cm;margin-bottom:.0001pt;background:white'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;
font-weight:normal'>James Sewell<o:p></o:p></span></h5>
<h5 style='margin:0cm;margin-bottom:.0001pt;background:white'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;
font-weight:normal'>LISAsoft Developer<o:p></o:p></span></h5>
<h5 style='margin:0cm;margin-bottom:.0001pt;background:white'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;
font-weight:normal'>+61 (3) 8680 3200 / +61 414 688 892<o:p></o:p></span></h5>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>