Date: Fri, 30 Apr 2004 12:46:09 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Randy Pratt <rpratt1950@earthlink.net> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: xchat2 - perl plugin makes xchat2 core dump Message-ID: <1083343568.843.8.camel@gyros> In-Reply-To: <20040430123524.4b5d558b.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> <1083310148.34435.22.camel@shumai.marcuscom.com> <20040430123524.4b5d558b.rpratt1950@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-VQrbIwPLa4VhylI+Tz/7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-04-30 at 12:35, Randy Pratt wrote: > On Fri, 30 Apr 2004 03:29:09 -0400 > Joe Marcus Clarke <marcus@marcuscom.com> wrote: >=20 > > On Thu, 2004-04-29 at 14:12, Randy Pratt wrote: > > > On Thu, 29 Apr 2004 13:13:18 -0400 > > > Joe Marcus Clarke <marcus@marcuscom.com> wrote: > > >=20 > > > <snip other discussion> > > >=20 > > > > 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. > > > >=20 > > > > Joe > > >=20 > > > 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: > > >=20 > > > AutoLoad failed for: > > > /usr/X11R6/lib/xchat/plugins/perl.so > > >=20 > > > No xchat_plugin_init symbol; is this really an xchat plugin? > > >=20 > > > The perl script I was using was an fserve: > > >=20 > > > http://homepages.tu-darmstadt.de/~awerth/obsidian/ > > >=20 > > > The version I was successfully using prior to the last ports update w= as: > > >=20 > > > http://homepages.tu-darmstadt.de/~awerth/obsidian/obsidian-0.9.2-pr= e1.tar.gz > > >=20 > > > 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: > > >=20 > > > /usr/ports/irc/xchat2/work/xchat-2.0.8/plugins/perl/sample_script.p= l > > >=20 > > > 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. > > >=20 > > > Again, thanks for looking at this! > >=20 > > 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. > >=20 > > Joe >=20 > Here is a summary of what I think needs to be done to get the perl.so > plugin to work for xchat2: >=20 > # pkg_delete perl-5.6.1_15 > # cd /usr/ports/lang/perl5.8 && make install clean > # use.perl port > # portupgrade -f 'xchat2' >=20 > I don't think any of the perl modules show Perl as a dependency > but the paranoid side of me is nagging me that maybe they should > be updated like: >=20 > # portupgrade -fr 'p5-*' >=20 > Would this be necessary after changing Perl versions?=20 Yes, definitely. > =20 > On a similar note, I started checking run dependencies for xchat2 > and ran into some disparities between different sources of > information which I'm at a loss to explain. >=20 > My 4-STABLE box (ports updated 28 Apr 04) "make run-depends-list" > shows no dependencies on either Perl or Perl modules. The online > ports tree shows a dependency on p5-XML-Parser-2.34_1 but not Perl: >=20 > http://www.freebsd.org/cgi/ports.cgi?query=3Dxchat2&stype=3Dall&release= =3D4.9-STABLE%2Fi386 >=20 > My 5-CURRENT box (ports updated 20 Apr 04) "make run-depends-list" > shows a dependency on /usr/ports/lang/perl5 (not perl5.8). Again > the online ports tree is different and shows p5-XML-Parser-2.34_1 > and perl-5.8.2_5 as dependencies: >=20 > http://www.freebsd.org/cgi/ports.cgi?query=3Dxchat2&stype=3Dall&release= =3D5.2-CURRENT%2Fi386 >=20 > I can perhaps understand that there may be differences between=20 > INDEX and INDEX-5 for the different branches, but I would think that > the online information should agree. Needless to say, it has left > me in a somewhat confused state. >=20 > Can these differences be accounted for? This is because 4.X ships with a default version of Perl. Granted, this isn't the desired behavior, but that's where things stand right now. Joe >=20 > Thanks, >=20 > Randy --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-VQrbIwPLa4VhylI+Tz/7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAkoLQb2iPiv4Uz4cRAhoWAJ9GjJRYEI4+l2H7nEGaufU+P+GBiQCeN67o jhI1FYMRuOegFFekZiqjVw0= =vLRw -----END PGP SIGNATURE----- --=-VQrbIwPLa4VhylI+Tz/7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1083343568.843.8.camel>