Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2001 01:41:57 +1030
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        will@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   kappfinder segmentation fault during ports/x11/kdebase2 install on  recent -CURRENT
Message-ID:  <3A80143D.908D5886@camtech.net.au>

next in thread | raw e-mail | index | archive | help
Just when I thought kde2 might be fixed, installing ports/x11/kdebase2
gives:

 install -c -o root -g wheel -m 444 ./kappfinder.desktop /usr/local/share/applnk/System/kappfinder.desktop
echo "Installing non-KDE applications"
Installing non-KDE applications
pwd=`pwd`; \
(cd . && $pwd/kappfinder_install "/usr/local/share/applnk")
Segmentation fault - core dumped
gmake[3]: *** [runkappfinder_yes] Error 139
gmake[3]: Leaving directory `/usr/ports/x11/kdebase2/work/kdebase-2.0.1/kappfinder'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/usr/ports/x11/kdebase2/work/kdebase-2.0.1/kappfinder'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase2/work/kdebase-2.0.1/kappfinder'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/x11/kdebase2.


Playing around with ddd I did:

(gdb) run /usr/local/share/applnk
Starting program: /usr/ports/x11/kdebase2/work/kdebase-2.0.1/kappfinder/kappfinder_install /usr/local/share/applnk

Program received signal SIGSEGV, Segmentation fault.
0x28bc17c9 in strlen () from /usr/lib/libc.so.5
(gdb) 
(gdb) bt
#0  0x28bc17c9 in strlen () from /usr/lib/libc.so.5
#1  0xbfbff504 in ?? ()
#2  0x2886c12e in QCString::length () from /usr/X11R6/lib/libqt2.so
#3  0x284aba9f in QCString::resize () from /usr/X11R6/lib/libqt2.so
#4  0x282a516f in printableToString (str=0x28f71298 "text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;\nEx"..., l=197) at /usr/X11R6/include/qt2/qcstring.h:284
#5  0x282a71f7 in KConfigINIBackEnd::parseSingleConfigFile (this=0x804f300, rFile=@0xbfbff70c, pWriteBackMap=0x0, bGlobal=false) at kconfigbackend.cpp:308
#6  0x282a5ecc in KConfigINIBackEnd::parseConfigFiles (this=0x804f300) at kconfigbackend.cpp:182
#7  0x2828b5f9 in KConfigBase::parseConfigFiles (this=0xbfbff8c0) at kconfigbase.cpp:1292
#8  0x282a3a48 in KDesktopFile::KDesktopFile (this=0xbfbff8c0, pFileName=@0x804edb8, bReadOnly=true, resType=0x804b1e6 "apps") at kdesktopfile.cpp:43
#9  0x8049b84 in checkDesktopFile (templ=@0x804edb8, destDir=0xbfbff97c) at checker.cpp:58
#10 0x80499da in main (argc=2, argv=0xbfbffa00) at main_install.cpp:52
#11 0x804959d in _start ()
(gdb) 

Hmm looks like a problem with qt-2.2.4.

You may want to know the contents of the string at 0x28f71298 which is:

"text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;\nExec=emacs %f\nIcon=emacs\nTerminalOptions=\nPath=\nType=Application\nTerminal=0\nMapNotify=false\n"

For info, my currently installed packages were:

Mesa-3.2.1_1            jpeg-6b                 png-1.0.8_1
XFree86-3.3.6_7         kdelibs-2.0.1_2         qt-2.2.4
autoconf-2.13           kdesupport-2.0.1        setiathome-3.03_2
automake-1.4            lame-3.70_2             sox-12.17.1
bladeenc-0.92           lcms-1.06               sudo-1.6.3.5
bzip2-1.0.1             libaudiofile-0.2.0      tcl-8.3.1
cdrecord-1.9            libcdaudio-0.99.4       tiff-3.5.5
cvsup-bin-16.1          libmng-0.9.3            tk-8.3.1
ddd-3.2.1_1             libproplist-0.10.1      waveplay-2000.12.10
freetype2-2.0.1         libtool-1.3.4_1         wdm-1.20
gettext-0.10.35         libungif-4.1.0b1        windowmaker-0.63.1
glib-1.2.8              m4-1.4                  xanim-2.80.2
gmake-3.79.1            mpg123-0.59r            xmcd-2.6
gogo-2.39b              nasm-0.98               xmix-2.1
gtk-1.2.8               open-motif-2.1.30_1     xplanet-0.73
imlib-1.9.8.1           p5-Audio-CD-0.04        xpm-3.4k

I've got make.conf CFLAGS set to "-g -pipe" for everything built here
so I may be able to help debug some more.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A80143D.908D5886>