Subject: | Tk regex search crashes debugger |
This runs fine but causes a SEGV crash in the debugger on multiple
platforms and versions of Perl:
use Tk;
my $m = MainWindow->new;
my $t = $m->Text->pack;
$t->search('-regexp', '', '1.0', 'end'); # debugger crash
For instance, Linux with Perl 5.12.4 and Tk 804.029; Linux with Perl
5.14.2 and Tk 804.030; Windows Vista using Perl 5.10.1 and Tk 804.029.
We want to be able to use the debugger to clean up a perl Tk editor with
20000+ lines of code. This tool called Guiguts is used to produce
thousands of eBooks for Project Gutenberg each year. First priority is to
work around the SEGV; second is to fix the SEGV.