On 09/19/2007 07:50, Anton Berezin wrote: > On Thu, Sep 13, 2007 at 02:23:48PM -0500, Eric Schuele wrote: >> Hello, >> >> I seem to have a perl problem. Not much of a perl person so not sure if >> the problem is me or not. I'm not even sure I should be posting to >> freebsd-current_at_, but since it worked in 6.2... I'm assuming its perl+7.0. >> >> Running current i386, and using perl 5.8.8, I get the following back >> trace on an app that attempts to use perl for an add-on script. >> >> #0 0x2972726c in Perl_malloc () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #1 0x297d75dc in PerlIO_allocate () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #2 0x297dc257 in PerlIO_stdstreams () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #3 0x297dc2c2 in Perl_PerlIO_stderr () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #4 0x297280b0 in Perl_malloc () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #5 0x297d75dc in PerlIO_allocate () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #6 0x297dc257 in PerlIO_stdstreams () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #7 0x297dc2c2 in Perl_PerlIO_stderr () >> from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so >> #8 0x297280b0 in Perl_malloc () >> >> Note that this app was working, as well as its add-on script a few days >> back when I was running 6.2-STABLE. I backed-up everything, formatted >> my disk, installed 7.0 (snapshot), cvsup'd to most recent (sunday >> evening)... reinstalled the app in question from package, then from >> ports. It however always results in the above bt. If I remove the >> script from the add-ons (its the only script I have) the app runs fine. > > What is the script? Its called OnJoin for xchat. Performs actions when ppl join. > What's the output of ldd `which perl`? % ldd `which perl` /usr/bin/perl: libperl.so => /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so (0x2807c000) libm.so.5 => /lib/libm.so.5 (0x28182000) libcrypt.so.4 => /lib/libcrypt.so.4 (0x28197000) libutil.so.7 => /lib/libutil.so.7 (0x281b0000) libc.so.7 => /lib/libc.so.7 (0x281bd000) > What's the output of ldd /path/to/xchat (assuming "app" is "xchat", it's % ldd `which xchat` /usr/local/bin/xchat: libintl.so.8 => /usr/local/lib/libintl.so.8 (0x2810b000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28114000) libgtkspell.so.0 => /usr/local/lib/libgtkspell.so.0 (0x28202000) libaspell.so.16 => /usr/local/lib/libaspell.so.16 (0x28208000) libgtk-x11-2.0.so.0 => /usr/local/lib/libgtk-x11-2.0.so.0 (0x282bf000) libgdk-x11-2.0.so.0 => /usr/local/lib/libgdk-x11-2.0.so.0 (0x28605000) libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x28689000) libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x286a3000) libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0x286ba000) libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x286c3000) libXi.so.6 => /usr/local/lib/libXi.so.6 (0x286c6000) libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x286ce000) libXext.so.6 => /usr/local/lib/libXext.so.6 (0x286d4000) libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x286e2000) libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x286eb000) libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x286f0000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28765000) libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28789000) libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0x28791000) libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x287bd000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x287e8000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28809000) libz.so.4 => /lib/libz.so.4 (0x2887b000) libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0x2888d000) libm.so.5 => /lib/libm.so.5 (0x288cb000) libX11.so.6 => /usr/local/lib/libX11.so.6 (0x288e0000) libXau.so.6 => /usr/local/lib/libXau.so.6 (0x289cc000) libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x289cf000) librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x289d4000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x289dc000) libdbus-glib-1.so.2 => /usr/local/lib/libdbus-glib-1.so.2 (0x289e0000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x289fc000) libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x28a38000) libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x28a74000) libssl.so.5 => /usr/lib/libssl.so.5 (0x28a79000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x28ab8000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x28c04000) libthr.so.3 => /lib/libthr.so.3 (0x28c9a000) libc.so.7 => /lib/libc.so.7 (0x28cac000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28da2000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28e83000) > What's the output of perl -V? % perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=freebsd, osvers=7.0-current, archname=i386-freebsd-64int uname='freebsd freebsd.org 7.0-current freebsd 7.0-current #0: fri aug 3 00:53:24 pdt 2007 kris_at_freebsd.org:usrsrcsysmagickernelpath i386 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.8/mach -Dprivlib=/usr/local/lib/perl5/5.8.8 -Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -Doptimize=-O1 -pipe -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include', optimize='-O1 -pipe ', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.2.0 20070514 [FreeBSD]', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -Wl,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Locally applied patches: defined-or Built under freebsd Compiled at Aug 3 2007 08:00:20 _at_INC: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . > The contents of /etc/make.conf might also be useful % cat /etc/make.conf # Optimizations CPUTYPE?=pentium4 CFLAGS= -O -pipe COPTFLAGS= -O -pipe # # General Items # NO_PROFILE= true USA_RESIDENT= true # Due to CUPS NO_LPR= true WITH_CUPS= yes # Only build English Docs DOC_LANG= en_US.ISO8859-1 # Make sure we are using Fedora Core as linuxulator # Is this still needed? OVERRIDE_LINUX_BASE_PORT=fc4 # mplayer-plugin and others WITH_MOZILLA= firefox WITH_GECKO= firefox # # Port Settings # ########################## # Pidgin .if ${.CURDIR:M*/net-im/libpurple} WITH_GNUTLS=yes WITHOUT_NSS=yes WITH_GTKUI=yes .endif ########################### # CUPS .if ${.CURDIR:M*/print/cups-base} CUPS_OVERWRITE_BASE= yes .endif .if ${.CURDIR:M*/print/cups} CUPS_OVERWRITE_BASE= yes .endif ########################### # LinuxPluginWrapper .if ${.CURDIR:M*/www/linuxpluginwrapper} WITH_REALPLAYER= yes WITH_ACROREAD= yes .endif ########################### # MySQL .if ${.CURDIR:M*/databases/mysql50-server} WITH_LINUXTHREADS= yes .endif ########################### # gnucash .if ${.CURDIR:M*/finance/gnucash2} #libltdl_cv_sys_dlopen_deplibs= yes .endif .if ${.CURDIR:M*/lang/guile} #libltdl_cv_sys_dlopen_deplibs= yes .endif .if ${.CURDIR:M*/devel/libltdl15} #libltdl_cv_sys_dlopen_deplibs= yes .endif ########################### # <<<<< EOF >>>>> # ######################## # Obsolete ? # I don't use these any more # # OO #WITHOUT_JAVA= yes #WITHOUT_MOZILLA= yes # XMMS #WITHOUT_SKINS= yes # mplayer-plugin #WITH_MOZILLA= firefox # qemu option #WITH_KQEMU= yes # gnash #WITH_FIREFOX= yes # mplayer or mplayer-plugin #WITHOUT_SKINS= yes # ######################## # added by use.perl PERL_VER=5.8.8 PERL_VERSION=5.8.8 > >> Wondering if a bug report is warranted? Should it be filed under xchat, >> perl, or what? > > Cheers, > \Anton. Also fwiw, % uname -a FreeBSD fangorn.nxdomain.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Mon Sep 10 13:47:41 CDT 2007 i386 Thanks for your interest. :) -- Regards, Eric
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC