Opened 8 years ago

Closed 8 years ago

#1317 closed defect (fixed)

Padre 0.90 hangs and then segfaults on i .t file

Reported by: kaare Owned by:
Priority: critical Milestone:
Component: not classified yet Version: 0.90
Keywords: Cc:


If I open a file containing

#!/usr/bin/env perl

use 5.010;
use strict;
use warnings;

use Test::Class::Load 't/lib';


and there is no t/lib, padre hangs and dies with a Segmentation fault.

In fact, only the use Test::Class line is necessary.

Change History (3)

comment:1 Changed 8 years ago by azawawi

Confirmed. I am looking into it right now.

comment:2 Changed 8 years ago by azawawi

Ok, I investigated it. We use perl <temp_buffer 2>temp_stderr on every background syntax check task run. Without any t/lib, it fires an exception about not finding the folder and then says "- Syntax OK" at the end. I could fix it in Padre so it wont hang, but that brings us to another question. What about the lost error information? It is not syntax error, but it is a runtime error that should be reported.

I am thinking of adding a button to the syntax check pane to display standard error output into the output pane. Any ideas?

Ahmad M. Zawawi

comment:3 Changed 8 years ago by azawawi

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r15950

Note: See TracTickets for help on using tickets.