Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2008 17:26:46 GMT
From:      Jonathan <lordsit49@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121472: Loading perl scripts causes xchat segmentation fault
Message-ID:  <200803071726.m27HQkti084298@www.freebsd.org>
Resent-Message-ID: <200803071730.m27HU3WM027025@freefall.freebsd.org>

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

>Number:         121472
>Category:       ports
>Synopsis:       Loading perl scripts causes xchat segmentation fault
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 17:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        FreeBSD 7.0-RELEASE
>Organization:
>Environment:
FreeBSD mymachinename.some.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Loading a perl script in xchat immediately causes a segmentation fault.

When I look at the loaded plugins and scripts I see that the perl module is loaded:
Perl 2.8.4 perl.so Perl scripting interface.

 I don't know if this warning message has anything to do with it during the build:

*** Warning: Linking the shared library perl.la against the
*** static library /usr/local/lib/perl5/5.8.8/mach/auto/DynaLoader/DynaLoader.a
is not portable!
>How-To-Repeat:
csup to latest ports (ports-all tag=.)

Compile xchat-2.8.4_4 with the following options:
WITH_DBUS=true
WITH_GTKSPELL=true
WITHOUT_LIBSEXY=true
WITH_NOTIFY=true
WITH_PERL=true
WITHOUT_PYTHON=true
WITHOUT_TCL=true
WITHOUT_SOCKS=true

Download nicksound from xchat.org and attempt to load the script.

With debug enabled all I get is this in the backtrace of the core file:

#0  0x29771439 in ?? ()
Cannot access memory at address 0xbf9ffff0

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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