From: Shannon <aqu...@am...> - 2002-05-19 10:03:49
|
Hi, I am having a problem with Wx generating segmentation faults. I have tried everything from small, custom-built PERL apps to copying and pasting the sample programs straight off the tutorial pages. Every single program generates a segmentation fault on exit. I installed the newest stable releases of both wxGTK and wxPerl, myself. I also tried installing wxGTK from the FreeBSD ports collection (my system is FreeBSD 4.5-stable, i386). I cleaned everything out and went so far as to reinstall PERL on my system. Nothing helps. When installing from source, I get these errors during "make test": t/1_load... dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core after all subtests completed successfully.t/2_inheritance... dubious Test returned status 0 (wstat 139, 0x8b) test program seems to have generated a core after all subtests completed successfully. [...] Failed 5/5 test scripts, 0.00% okay. 0/132 subtests failed, 100.00% okay. I have exhausted Google and Altavista on this one, so I am getting a bit desperate. I hope I haven't overlooked something obvious or just missed a FAQ question, but I don't think that's the case. Final notes: I haven't tried anything complicated, but the simple test programs all seem to execute OK, except for the segmentation fault on exit. Also, all of my other PERL programs and libraries seem to work fine, so I am pretty sure the problem doesn't lay in that direction. "use Wx" seems to be the magic segfault command. Thanks, Shannon |
From: Mattia B. <mb...@ds...> - 2002-05-20 07:14:53
|
On Sun, 19 May 2002, Shannon wrote: >Hi, > I am having a problem with Wx generating segmentation faults. I have >tried everything from small, custom-built PERL apps to copying and >pasting the sample programs straight off the tutorial pages. Every >single program generates a segmentation fault on exit. > > I installed the newest stable releases of both wxGTK and wxPerl, >myself. I also tried installing wxGTK from the FreeBSD ports collection >(my system is FreeBSD 4.5-stable, i386). > > I cleaned everything out and went so far as to reinstall PERL on my >system. Nothing helps. When installing from source, I get these errors >during "make test": > >t/1_load... dubious > Test returned status 0 (wstat 139, 0x8b) > test program seems to have generated a core > after all subtests completed successfully.t/2_inheritance... dubious > > Test returned status 0 (wstat 139, 0x8b) > test program seems to have generated a core > after all subtests completed successfully. > >[...] > >Failed 5/5 test scripts, 0.00% okay. 0/132 subtests failed, 100.00% okay. > > > >I have exhausted Google and Altavista on this one, so I am getting a bit >desperate. I hope I haven't overlooked something obvious or just missed >a FAQ question, but I don't think that's the case. > >Final notes: I haven't tried anything complicated, but the simple test >programs all seem to execute OK, except for the segmentation fault on >exit. Also, all of my other PERL programs and libraries seem to work >fine, so I am pretty sure the problem doesn't lay in that direction. >"use Wx" seems to be the magic segfault command. Well, the only thing I know about FreeBSD is that 0.07 ( IIRC ) compiled fine once wxGTK was recompiled with --disable-threads . The only reference I have is http://testers.cpan.org/ -> search for Wx -> look at success reports. HTH Mattia P.S.: thanks for the details. |
From: Shannon <aqu...@am...> - 2002-05-20 09:09:22
|
> > >Well, the only thing I know about FreeBSD is that 0.07 ( IIRC ) compiled >fine once wxGTK was recompiled with --disable-threads . The only >reference I have is http://testers.cpan.org/ -> search for Wx -> >look at success reports. > >HTH >Mattia > >P.S.: thanks for the details. > > You're welcome, here's a few more details for you :) I went to testers.cpan.org and the only thing I found on Wx was that someone had successfully compiled 0.08, so I did the following: I re-compiled wxGTK without threads (ass suggested by the tester) and then did 'perl Makefile.PL, make, make test' with wxPerl 0.08. I get the same errors as before. The make portion goes OK, but 'make test' generated the "test program seems to have generated a core after all subtests completed successfully' for all five (four in 0.08) tests. If I go ahead and do 'make install', any PERL programs I write with 'use Wx' crash on exit. The only thing that has changed is that the sample program "controls.pl" which used to segfault as soon as it was run now segfaults when I close the window, just like the other programs. Does this sound like a problem with my wxGTK installation or something with wxPerl? I really like the looks of wxPerl and I want to use it, but I need to solve this problem first. I've now tried wxGTK-2.2.9 with and without threads and wxPerl-0.10 and -0.08. I have done all the install combinations several times. I tried both make and gmake just for the hell of it, but it made no difference. Thanks, Shannon |