Ticket #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: |
Description
If I open a file containing
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use Test::Class::Load 't/lib';
Test::Class->runtests;
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
comment:2 Changed 21 months 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?
Thanks,
Ahmad M. Zawawi

Confirmed. I am looking into it right now.