Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 09:09:03 -0400
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        gnome@freebsd.org
Subject:   Re: xchat2 - perl plugin makes xchat2 core dump
Message-ID:  <20040429090903.0f4b6fe2.rpratt1950@earthlink.net>
In-Reply-To: <1083227674.58600.55.camel@shumai.marcuscom.com>
References:  <20040428154749.59a5584f.rpratt1950@earthlink.net> <1083227674.58600.55.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Apr 2004 04:34:35 -0400
Joe Marcus Clarke <marcus@marcuscom.com> wrote:

> 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
> > 
> > xchat version:
> >   xchat2-2.0.8_1      An X11 IRC client using the GTK+ 2 toolkit
> > 
> > ports last updated:
> >   Apr 22 14:17 /usr/sup/ports-all/checkouts.cvs:.
> > 
> > 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:
> > 
> >   http://myfreebsd.homeunix.net/ports_list.txt
> > 
> > When starting xchat2, I see this failure:
> > 
> >    AutoLoad failed for:
> >    /usr/X11R6/lib/xchat/plugins/perl.so
> > 
> >    No xchat_plugin_init symbol; is this really an xchat plugin?
> > 
> > It seems to miss finding the xchat-plugin.h but I'm not sure of that.
> > 
> > If I try to load the /usr/X11R6/lib/xchat/plugins/perl.so module,
> > xchat will immediately core dump.
> > 
> > If its of any use, the core dump is also at:
> >   http://myfreebsd.homeunix.net/xchat.core
> 
> Not really, though a full backtrace with debugging symbols from your
> machine might be.
> 
<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:
> 
> nm -D /usr/X11R6/lib/xchat/plugins/perl.so | grep xchat_plugin_init
> 00056500 T xchat_plugin_init
> 
> Joe

Thanks for the response, its much appreciated.  Since you have it
built and running, that kinda points toward something local here.

nm -D /usr/X11R6/lib/xchat/plugins/perl.so | grep xchat_plugin_init
0005630c T xchat_plugin_init

I'm a rookie with gdb so if this isn't what you meant, let me know
and I'll give it another shot.  

Thanks for your help in this,

Randy

$ 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/X11R6/bin/xchat 
(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.so
(gdb) bt
#0  0x28b264df in Perl_sv_replace () from /usr/X11R6/lib/xchat/plugins/perl.so
#1  0x28b38af6 in Perl_leave_scope () from /usr/X11R6/lib/xchat/plugins/perl.so
#2  0x28b03a6a in Perl_newATTRSUB () from /usr/X11R6/lib/xchat/plugins/perl.so
#3  0x28b03baa in Perl_newCONSTSUB () from /usr/X11R6/lib/xchat/plugins/perl.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=0x82e2ac0 "/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=0x82f6300, 
    plugin_name=0x82f638c, plugin_desc=0x82f6390, plugin_version=0x82f6394, 
    arg=0x0) 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.400
#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.400
#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
$




-- 



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