From owner-freebsd-gnome@FreeBSD.ORG Fri Apr 30 00:29:26 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AC2A16A4CF for ; Fri, 30 Apr 2004 00:29:26 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC7F43D48 for ; Fri, 30 Apr 2004 00:29:25 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i3U7RLsc071184; Fri, 30 Apr 2004 03:27:21 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Randy Pratt 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XCVMFuJeU2gQSCkrU8J8" Organization: MarcusCom, Inc. Message-Id: <1083310148.34435.22.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 30 Apr 2004 03:29:09 -0400 cc: FreeBSD GNOME Users Subject: Re: xchat2 - perl plugin makes xchat2 core dump X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 07:29:26 -0000 --=-XCVMFuJeU2gQSCkrU8J8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-04-29 at 14:12, Randy Pratt wrote: > On Thu, 29 Apr 2004 13:13:18 -0400 > Joe Marcus Clarke wrote: >=20 > >=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 was: >=20 > http://homepages.tu-darmstadt.de/~awerth/obsidian/obsidian-0.9.2-pre1.t= ar.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.pl >=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! 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 >=20 > Best regards, >=20 > Randy >=20 >=20 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-XCVMFuJeU2gQSCkrU8J8 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) iD8DBQBAkgBEb2iPiv4Uz4cRAkBKAJ9ixvJM8x3dVx61H/AFxyYCVf1y7wCeNiP4 aIeH77QMutTD5WuoXCR08YE= =RXI3 -----END PGP SIGNATURE----- --=-XCVMFuJeU2gQSCkrU8J8--