Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 14:14:13 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Randy Pratt <rpratt1950@earthlink.net>
Cc:        gnome@freebsd.org
Subject:   Re: xchat2 - perl plugin makes xchat2 core dump
Message-ID:  <opr68fpzw08ckrg5@smtp.central.cox.net>
In-Reply-To: <20040429141242.7243c54c.rpratt1950@earthlink.net>
References:  <20040428154749.59a5584f.rpratt1950@earthlink.net> <1083227674.58600.55.camel@shumai.marcuscom.com> <20040429090903.0f4b6fe2.rpratt1950@earthlink.net> <1083258798.846.24.camel@gyros> <20040429141242.7243c54c.rpratt1950@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Apr 2004 14:12:42 -0400, Randy Pratt <rpratt1950@earthlink.net> 
wrote:

> On Thu, 29 Apr 2004 13:13:18 -0400
> Joe Marcus Clarke <marcus@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?

No error here..

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

I am able to load all of scripts above, even with that 
obsidian-0.9.2-pre1.tar.gz too.

In xchat:
===================================
--- mezz sets mode +i mezz
  [Obsidian FServe] Initializing...
  [Obsidian FServe] Config file loaded...
  [Obsidian FServe] Loaded sends/queue from file...
  [Obsidian FServe] Type /fs to get help on the available commands.
===================================

===================================
# nm -D /usr/X11R6/lib/xchat/plugins/perl.so | grep xchat_plugin_init
00008b70 T xchat_plugin_init

# pkg_info | grep perl
perl-5.8.2_5        Practical Extraction and Report Language

# pkg_info | grep xchat
xchat2-2.0.8_1      An X11 IRC client using the GTK+ 2 toolkit
===================================

There doesn't has any of error msg, crash or whatever here. Perhaps, it 
was because of Perl 5.6.x?

Cheers,
Mezz

> Again, thanks for looking at this!
>
> Best regards,
>
> Randy


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr68fpzw08ckrg5>