Wed Aug 04 14:32:57 2010: Request 59916 was acted upon. Transaction: Correspondence added by REHSACK Queue: Wx Subject: Wx makes perl dumping core when no DISPLAY set Broken in: 0.9701, 0.9702 Severity: Critical Owner: Nobody Requestors: rehs...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=59916 >
On Sun Aug 01 06:35:07 2010, mattia.bar...@libero.it wrote: > Jens Rehsack via RT wrote: > > Hi, > > > 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. > > If you do a simple 'use Wx', does it crash that way? Is there a > simple test case for the bug? $ env DISPLAY= perl -e 'use Wx qw(:allclasses); print wxYES, "\n";'; Error: Unable to initialize gtk, is DISPLAY set properly? Segmentation fault (core dumped) $ env DISPLAY= perl -e 'use Wx qw(wxYES); print wxYES, "\n";';Error: Unable to initialize gtk, is DISPLAY set properly? 2 $ env DISPLAY= perl -Mblib t/01_load.t 1..6 Error: Unable to initialize gtk, is DISPLAY set properly? Use of uninitialized value $Wx::_universal in concatenation (.) or string at /usr/pkgsrc/x11/p5-Wx/work/Wx-0.9702/blib/lib/Wx.pm line 160. Use of uninitialized value $Wx::_static in concatenation (.) or string at /usr/pkgsrc/x11/p5-Wx/work/Wx-0.9702/blib/lib/Wx.pm line 161. ok 1 - use Wx; Segmentation fault (core dumped) How much simpler should the test case be? I'm sorry, I'm no GUI developer, neither using Wx nor any other graphics library. I can't do more than showing you with your own code, where it fails. > > 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