From: Jouke V. <jo...@pv...> - 2002-09-11 08:28:47
|
Hi, I'm trying to get a piece of code to work, but every time it tries to call the constructor of the Wx::HtmlWindow, it segfaults under Linux. I'm using RedHat 7.2, kernel 2.4.7-10, with the wxPerl 0.11 rpm for wxgtk 2.3.3. The output of perl -d:Trace wxChat.pl ends with: >> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Wx.pm:96: return 1; >> wxChat.pl:32: $self->{chattext} = Wx::HtmlWindow->new($self, -1, [-1,-1], [400,100]); Segmentation fault The same code runs on Windows XP (Activestate Perl build 633) with wxPerl 0.11 ppm for wxmsw 2.3.3 without any problem. I also ran the script with wxPerl 0.09 rpm for wxgtk 2.2.9, which gives exactly the same output as with 0.11. Any ideas? -------------------------------------------------------------------- | Jouke Visser | http://jouke.pvoice.org (personal) | | | http://www.pvoice.org (pVoice & pStory)| | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | -------------------------------------------------------------------- |