Subject: | Wx makes perl dumping core when no DISPLAY set |
Hi Mattia,
I've seen RT#41716 - and this RT is more or less the same report with
another background.
We (pkgsrc) package some perl modules using Wx - at least Padre and some
plugins. All these package fail the bulk builds with perl core dumps,
because of the Wx requirement.
I used the severity "Critical", because this bug prevents creating of
binary packages for those modules.
A backtrace of the dump is included.
You can reproduce it simply by doing "env DISPLAY= prove t".
Best regards,
Jens
Subject: | bt.txt |
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ffc2dc4f8 in wxPli_match_arguments_offset (my_perl=0x7f7ffd703000,
prototype=@0x0, required=1, allow_more=true, offset=<value optimized out>)
at cpp/overload.cpp:76
76 size_t max = wxMin( prototype.count, size_t(argc) ) + offset;
(gdb) bt
#0 0x00007f7ffc2dc4f8 in wxPli_match_arguments_offset (my_perl=0x7f7ffd703000,
prototype=@0x0, required=1, allow_more=true, offset=<value optimized out>)
at cpp/overload.cpp:76
#1 0x00007f7ffc2dc7de in wxPli_match_arguments (my_perl=0x7f7ffd703000, prototype=@0x0,
required=-42901372, allow_more=7) at cpp/overload.cpp:54
#2 0x00007f7ffc2dcdd6 in XS_Wx__xsmatch (my_perl=0x7f7ffd703000, cv=<value optimized out>)
at Wx.c:560
#3 0x00007f7ffd89d403 in Perl_pp_entersub ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#4 0x00007f7ffd89bf0a in Perl_runops_standard ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#5 0x00007f7ffd846a50 in Perl_call_sv ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#6 0x00007f7ffc2c5cbe in XS_Wx___App_Start (my_perl=0x7f7ffd703000, cv=<value optimized out>)
at Wx.c:129
#7 0x00007f7ffd89d403 in Perl_pp_entersub ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#8 0x00007f7ffd89bf0a in Perl_runops_standard ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#9 0x00007f7ffd847446 in perl_run ()
from /usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/CORE/libperl.so
#10 0x0000000000400e71 in main ()
Current language: auto; currently c++
(gdb)