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.
|