Author Topic: Win7x64 B5 Crashes when single stepping through perl code  (Read 1314 times)

tuchman

  • Senior Community Member
  • Posts: 136
  • Hero Points: 7
Win7x64 B5 Crashes when single stepping through perl code
« on: September 21, 2014, 02:39:33 pm »
Each time I step over a line where a very large amount of data (~11MBytes) is read from a binary file into a perl scalar, SE crashes. Reading such a large amount of data in one shot is not necessarily a smart thing to do, and I would not expect SE to be able to display any of the contents of the scalar, but SE should not crash.
Stepping into the function and then immediately out behaves as expected.
Code: [Select]
my $fhRead = $fileInput->openr(binmode=>1) or $refThis->{refAbort}("Can't open file <$fileInput> for reading");
my $num = $fhRead->sysseek($bufOffset, 0) or $refThis->{refAbort}("Can't seek on file <$fileInput>");
$str = sprintf("Seek to position <0x%08x>", $num);
$refThis->{refLogPrint}("verbose,$str");
$num = $fhRead->sysread(my $buf, $bufLen) or $refThis->{refAbort}("Can't read file <$fileInput>");
« Last Edit: September 22, 2014, 03:23:21 am by tuchman »

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1170
  • Hero Points: 111
Re: Win7x64 B5 Crashes when single stepping through perl code
« Reply #1 on: September 22, 2014, 02:29:05 pm »
Reproduced, taking a look at it.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1170
  • Hero Points: 111
Re: Win7x64 B5 Crashes when single stepping through perl code
« Reply #2 on: September 23, 2014, 12:03:42 pm »
Fixed for the next drop.  Thanks for the report.