<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Oops. I already found where it went wrong. <br>I called SCIPallocBufferArray(subscip, &somearray, nsomearray);<br>The 'subscip' should be 'scip' here.<br>I forgot to modify this when reconstructing my code.<br><br>Sorry to bother you. <br>Wish you all have a nice day!<br><br><div><hr id="stopSpelling">From: hexqiu@hotmail.com<br>To: scip@zib.de<br>Subject: Receiving segmentation fault when calling SCIPallocBufferArray<br>Date: Mon, 18 May 2015 15:58:34 +0800<br><br>


<div dir="ltr">

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:΢ÈíÑźÚ;
}

--></style>
<div dir="ltr">Hello all,<br><br>Just as the title says, my program received signal SIGSEGV during the running process.<br><br>I put the bin file into gdb and it said the error occured when allocating memory by calling SCIPallocBufferArray().<br><br>I don't know what's go wrong and how I can handle this problem. Could any of you give me some advice?<br>Thanks a lot!<br><br>Several lines of debugging infomation given by gdb are listed below:<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x082fd3e1 in SCIPallocBufferSize (scip=0xb7cc0ba5 <_IO_file_write+69>, ptr=0xbfffd3a4, size=64) at src/scip/scip.c:38056<br>38056       SCIP_CALL( SCIPsetAllocBufferSize(scip->set, ptr, size) );<br>(gdb) p ptr<br>$3 = (void **) 0xbfffd3a4<br>(gdb) bt<br>#0  0x082fd3e1 in SCIPallocBufferSize (scip=0xb7cc0ba5 <_IO_file_write+69>, ptr=0xbfffd3a4, size=64) at src/scip/scip.c:38056<br>#1  0x08052734 in pricerRedcostOAAR (scip=0x89f6238, pricer=0x8a0e180, lowerbound=0xbfffe188, stopearly=0xbfffe19c, result=0xbfffe194)<br>    at src/pricer_OAAR.c:648<br><br>Best Regards,<br>He Xingqiu<br><br><br><br></div>
                                          </div></div>                                        </div></body>
</html>