xchat2 - perl plugin makes xchat2 core dump
Joe Marcus Clarke
marcus at marcuscom.com
Fri Apr 30 07:29:26 GMT 2004
On Thu, 2004-04-29 at 14:12, Randy Pratt wrote:
> On Thu, 29 Apr 2004 13:13:18 -0400
> Joe Marcus Clarke <marcus at marcuscom.com> wrote:
>
> <snip other discussion>
>
> > Send me the script you're using, and let me know exactly the steps
> > you're using. I don't have any xchat Perl scripts. Perhaps there is a
> > problem with using the plug-in.
> >
> > Joe
>
> I renamed my ~/.xchat2 directory and tried a clean startup. And I
> can load the perl.so module without crashing xchat2. Note that the
> warning about not being able to preload is still present, but it
> does not crash:
>
> AutoLoad failed for:
> /usr/X11R6/lib/xchat/plugins/perl.so
>
> No xchat_plugin_init symbol; is this really an xchat plugin?
>
> The perl script I was using was an fserve:
>
> http://homepages.tu-darmstadt.de/~awerth/obsidian/
>
> The version I was successfully using prior to the last ports update was:
>
> http://homepages.tu-darmstadt.de/~awerth/obsidian/obsidian-0.9.2-pre1.tar.gz
>
> I have tried other versions but with the same results. I also
> tried a couple of other perl scripts including the one that comes
> with the distribution:
>
> /usr/ports/irc/xchat2/work/xchat-2.0.8/plugins/perl/sample_script.pl
>
> I can load the perl.so module, but trying to use any perl script
> causes the core dump. So I'm not sure its the perl scripts.
>
> Again, thanks for looking at this!
I did some more digging, and this looks like a Perl bug. I would
recommend sticking with 5.8.2. Previous versions of xchat didn't use
newCONSTSUB which seems to have a problem in perl 5.6.1. I looked at
some other code that uses this function, and I can't figure out why
xchat doesn't work, but I was able to figure out there is a bug in Perl
5.6 related to the DynaLoader and shared objects.
Joe
>
> Best regards,
>
> Randy
>
>
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040430/80913b6f/attachment.bin
More information about the freebsd-gnome
mailing list