When using dev-libs/openssl-0.9.8e-r4, kio_http crashes with the following trace: *** glibc detected *** kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket: free(): invalid pointer: 0x00000000006eccb0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2b88307a4edc] /lib/libc.so.6(cfree+0x75)[0x2b88307a6b4b] /usr/lib64/libcrypto.so.0.9.8(CRYPTO_free+0x1d)[0x2b8831de821e] /usr/kde/3.5/lib64/libkio.so.4(_ZN11KSSLSessionD1Ev+0x21)[0x2b882a181fe1] /usr/kde/3.5/lib64/libkio.so.4(_ZN4KSSL7connectEi+0x27f)[0x2b882a168c0b] /usr/kde/3.5/lib64/libkio.so.4(_ZN3KIO12TCPSlaveBase14doSSLHandShakeEb+0xfe)[0x2b882a1d259c] /usr/kde/3.5/lib64/libkio.so.4(_ZN3KIO12TCPSlaveBase13connectToHostERK7QStringjb+0x4f9)[0x2b882a1d2cfd] /usr/kde/3.5/lib64/kde3/kio_http.so(_ZN12HTTPProtocol18httpOpenConnectionEv+0x1e2)[0x2b8830e61eba] /usr/kde/3.5/lib64/kde3/kio_http.so(_ZN12HTTPProtocol8httpOpenEv+0x728)[0x2b8830e69b2e] /usr/kde/3.5/lib64/kde3/kio_http.so(_ZN12HTTPProtocol14retrieveHeaderEb+0x1c)[0x2b8830e7298e] /usr/kde/3.5/lib64/kde3/kio_http.so(_ZN12HTTPProtocol15retrieveContentEb+0x12)[0x2b8830e73766] /usr/kde/3.5/lib64/kde3/kio_http.so(_ZN12HTTPProtocol3getERK4KURL+0x1df)[0x2b8830e75af3] /usr/kde/3.5/lib64/libkio.so.4(_ZN3KIO9SlaveBase8dispatchEiRK9QMemArrayIcE+0x494)[0x2b882a1d6e44] /usr/kde/3.5/lib64/libkio.so.4(_ZN3KIO9SlaveBase12dispatchLoopEv+0x1e7)[0x2b882a1d62c5] /usr/kde/3.5/lib64/kde3/kio_http.so(kdemain+0xd3)[0x2b8830e64df1] kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket[0x407c21] kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket[0x4083bb] kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket[0x408915] kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket[0x40920a] /lib/libc.so.6(__libc_start_main+0xe3)[0x2b8830757b23] kio_http [kdeinit] https /tmp/ksocket-mattw/klaunchereBYtJa.slave-socket /tmp/ksocket-mattw/konqueror934yIb.slave-socket(_ZN6QGListD0Ev+0xd1)[0x404f99] When using dev-libs/openssl-0.9.8e-r3, however, all is fine. I did rebuild kde-base/kdelibs-3.5.7-r3 and kdebase-kioslaves-3.5.7-r1 after installing dev-libs/openssl-0.9.8e-r4, but that didn't fix the problem. Also, revdep-rebuild didn't find any linkage problems. Putting =dev-libs/openssl-0.9.8e-r4 in /etc/portage/package.mask caused Portage to downgrade back to dev-libs/openssl-0.9.8e-r3, and now HTTPS works again.
exactly the same symptoms: Portage 2.1.3.12 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-kamikaze2 x86_64) ================================================================= System uname: 2.6.23-kamikaze2 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz Timestamp of tree: Sat, 13 Oct 2007 09:50:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.1 dev-lang/python: 2.5.1-r2 sys-apps/baselayout: 2.0.0_rc5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -fvisibility-inlines-hidden" DISTDIR="/mnt/dump/gentoo/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LDFLAGS="-Wl,--as-needed,--hash-style=gnu" LINGUAS="en pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/var/portage_tmp" PORTDIR="/mnt/var/gentoo/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 apm avahi berkdb bluetooth branding cairo cdparanoia cdr cli cracklib css cups curl dbus djvu dri dvd dvdnav dvdr dvdread emboss encode evo fam ffmpeg firefox gdbm gif gtk gtk2 hal iconv imagemagick ipv6 irda isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kerberos kipi lesstif mad midi mikmod mmx mmx2 mmxext mozbranding mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses nptl nptlonly nsplugin ntfs ofx ogg opengl openmp pam pch pcre pdf pic png pnp pppd qt3 qt3support quicktime readline reflection rtc samba session spell spl sse sse2 ssl ssse3 svg tcpd theora threads tiff truetype truetype-fonts trusted type1-fonts unicode userlocales v4l2 vorbis wifi x264 xcomposite xine xinerama xml xorg xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same problem with openssl-0.9.8f.
Well, I've rebuild kdelibs while on openssl-0.9.8e-r4. It was still broken, I've later upgraded to openssl-0.9.8f and it works for me now...maybe try to rebuild kdelibs again... I've been upgrading other stuff too, so it could sth else. Anyway all seem good now.
[12:16:38] <Commanace> Hey there... i could comment this to https://bugs.gentoo.org/show_bug.cgi?id=195346 but i'm too lazy to create an accout there :) [12:16:39] <Commanace> Recompiling kdelibs (with openssl-0.9.8f) made it work for me. If you like you can add this in the bugtracker or whatever...
Thanks, Ingmar, for relaying this. It's rather natural that you need to recompile packages if you update a base system package like OpenSSL. Thus, should someone hit this problem, please recompile kdelibs.
I'm using OpenSSL 0.9.8g and kdelibs 3.5.8, and it's working fine now.