Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 13:13:18 -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:  <1083258798.846.24.camel@gyros>
In-Reply-To: <20040429090903.0f4b6fe2.rpratt1950@earthlink.net>
References:  <20040428154749.59a5584f.rpratt1950@earthlink.net> <1083227674.58600.55.camel@shumai.marcuscom.com> <20040429090903.0f4b6fe2.rpratt1950@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-dG0eJJEBEhjeOsyzxPBK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2004-04-29 at 09:09, Randy Pratt wrote:
> On Thu, 29 Apr 2004 04:34:35 -0400
> Joe Marcus Clarke <marcus@marcuscom.com> wrote:
>=20
> > On Wed, 2004-04-28 at 15:47, Randy Pratt wrote:
> > > uname -a:
> > >   FreeBSD kt.weeble.com 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0:
> > >   Wed Apr 28 14:23:07 EDT 2004
> > >   rpratt@kt.weeble.com:/usr/obj/usr/src/sys/CUSTOM  i386
> > >=20
> > > xchat version:
> > >   xchat2-2.0.8_1      An X11 IRC client using the GTK+ 2 toolkit
> > >=20
> > > ports last updated:
> > >   Apr 22 14:17 /usr/sup/ports-all/checkouts.cvs:.
> > >=20
> > > Note: I am a "casual user" of gnome2 so i did not run the gnome
> > > update script.  A complete list of installed ports can be seen at:
> > >=20
> > >   http://myfreebsd.homeunix.net/ports_list.txt
> > >=20
> > > When starting xchat2, I see this failure:
> > >=20
> > >    AutoLoad failed for:
> > >    /usr/X11R6/lib/xchat/plugins/perl.so
> > >=20
> > >    No xchat_plugin_init symbol; is this really an xchat plugin?
> > >=20
> > > It seems to miss finding the xchat-plugin.h but I'm not sure of that.
> > >=20
> > > If I try to load the /usr/X11R6/lib/xchat/plugins/perl.so module,
> > > xchat will immediately core dump.
> > >=20
> > > If its of any use, the core dump is also at:
> > >   http://myfreebsd.homeunix.net/xchat.core
> >=20
> > Not really, though a full backtrace with debugging symbols from your
> > machine might be.
> >=20
> <snip>
> > I have a 4.10-BETA machine with Perl 5.6.1, and the Perl plug-in loads
> > just fine for me.  In fact:
> >=20
> > nm -D /usr/X11R6/lib/xchat/plugins/perl.so | grep xchat_plugin_init
> > 00056500 T xchat_plugin_init
> >=20
> > Joe
>=20
> Thanks for the response, its much appreciated.  Since you have it
> built and running, that kinda points toward something local here.
>=20
> nm -D /usr/X11R6/lib/xchat/plugins/perl.so | grep xchat_plugin_init
> 0005630c T xchat_plugin_init
>=20
> I'm a rookie with gdb so if this isn't what you meant, let me know
> and I'll give it another shot.

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

>  =20
>=20
> Thanks for your help in this,
>=20
> Randy
>=20
> $ gdb xchat
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you =
are
> welcome to change it and/or distribute copies of it under certain conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-unknown-freebsd"...
> (no debugging symbols found)...
> (gdb) run
> Starting program: /usr/X11R6/bin/xchat=20
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../=
../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
> Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../=
../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
> (no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> 0x28b264df in Perl_sv_replace () from /usr/X11R6/lib/xchat/plugins/perl.s=
o
> (gdb) bt
> #0  0x28b264df in Perl_sv_replace () from /usr/X11R6/lib/xchat/plugins/pe=
rl.so
> #1  0x28b38af6 in Perl_leave_scope () from /usr/X11R6/lib/xchat/plugins/p=
erl.so
> #2  0x28b03a6a in Perl_newATTRSUB () from /usr/X11R6/lib/xchat/plugins/pe=
rl.so
> #3  0x28b03baa in Perl_newCONSTSUB () from /usr/X11R6/lib/xchat/plugins/p=
erl.so
> #4  0x28addcc0 in xs_init () at perl.c:2071
> #5  0x28ae08fc in S_parse_body () from /usr/X11R6/lib/xchat/plugins/perl.=
so
> #6  0x28adffcc in perl_parse () from /usr/X11R6/lib/xchat/plugins/perl.so
> #7  0x28adde9d in perl_init () at perl.c:2329
> #8  0x28addedd in perl_load_file (
>     script_name=3D0x82e2ac0 "/home/rpratt/.xchat2/obsidian-0.9.2-pre1.pl"=
)
>     at perl.c:2363
> #9  0x28ad8342 in perl_auto_load () at perl.c:84
> #10 0x28ade3d4 in xchat_plugin_init (plugin_handle=3D0x82f6300,=20
>     plugin_name=3D0x82f638c, plugin_desc=3D0x82f6390, plugin_version=3D0x=
82f6394,=20
>     arg=3D0x0) at perl.c:2529
> #11 0x807ea65 in gtk_widget_grab_focus ()
> #12 0x807ec12 in gtk_widget_grab_focus ()
> #13 0x807c776 in gtk_widget_grab_focus ()
> #14 0x807e56d in gtk_widget_grab_focus ()
> #15 0x8063c0c in gtk_widget_grab_focus ()
> #16 0x805af3d in gtk_widget_grab_focus ()
> #17 0x805b00d in gtk_widget_grab_focus ()
> #18 0x285edb1d in g_cclosure_marshal_VOID__VOID ()
> ---Type <return> to continue, or q <return> to quit---
>    from /usr/local/lib/libgobject-2.0.so.400
> #19 0x285d70f5 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.=
so.400
> #20 0x285ecbee in signal_emit_unlocked_R ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #21 0x285eb346 in g_signal_emit_valist ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #22 0x285eb5c5 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.=
400
> #23 0x28117714 in gtk_button_clicked ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #24 0x2811840a in gtk_button_get_relief ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #25 0x285edb1d in g_cclosure_marshal_VOID__VOID ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #26 0x285d74d5 in g_type_class_meta_marshal ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #27 0x285d70f5 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.=
so.400
> #28 0x285ec651 in signal_emit_unlocked_R ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #29 0x285eb346 in g_signal_emit_valist ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #30 0x285eb5c5 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.=
400
> #31 0x28117680 in gtk_button_released ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> ---Type <return> to continue, or q <return> to quit---
> #32 0x281182a7 in gtk_button_get_relief ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #33 0x281b4722 in gtk_marshal_VOID__UINT_STRING ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #34 0x285d74d5 in g_type_class_meta_marshal ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #35 0x285d70f5 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.=
so.400
> #36 0x285ed021 in signal_emit_unlocked_R ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #37 0x285eb3a0 in g_signal_emit_valist ()
>    from /usr/local/lib/libgobject-2.0.so.400
> #38 0x285eb5c5 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.=
400
> #39 0x2828b68b in gtk_widget_send_expose ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #40 0x2828b1e2 in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.=
so.400
> #41 0x281b3305 in gtk_propagate_event ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #42 0x281b22a2 in gtk_main_do_event ()
>    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #43 0x2838383b in gdk_x11_register_standard_event_type ()
>    from /usr/X11R6/lib/libgdk-x11-2.0.so.400
> #44 0x28753a57 in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.4=
00
> #45 0x2875484d in g_main_context_dispatch ()
> ---Type <return> to continue, or q <return> to quit---
>    from /usr/local/lib/libglib-2.0.so.400
> #46 0x28754c3e in g_main_context_iterate ()
>    from /usr/local/lib/libglib-2.0.so.400
> #47 0x2875524b in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.4=
00
> #48 0x281b1a2d in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
> #49 0x8057193 in gtk_widget_grab_focus ()
> #50 0x8088247 in xchat_emit_print ()
> #51 0x8052ac6 in gtk_widget_grab_focus ()
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> $
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-dG0eJJEBEhjeOsyzxPBK
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)

iD8DBQBAkTeub2iPiv4Uz4cRAmh+AKCVsmRQveRl5EwjeRM3r4l4K2Y2owCfbvgo
KErjLR8YlnK4mtZJ8HEuERI=
=Yf9b
-----END PGP SIGNATURE-----

--=-dG0eJJEBEhjeOsyzxPBK--



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