Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155531 - net-irc/kvirc-3.2.5 segfault
Summary: net-irc/kvirc-3.2.5 segfault
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
: 180616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-17 15:49 UTC by Korsani
Modified: 2007-06-02 15:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
setupwizard.cpp from 3.2.5 to cvs (yesterday) (setupwizard.diff,2.14 KB, patch)
2006-11-21 22:29 UTC, Daniel Black (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Korsani 2006-11-17 15:49:10 UTC
Hi,
I just emerged kvirc 3.2.5
When I launch it, it show the setup windows. All is good till the 'choose a server to connect' windows.
When I click 'next' from here, it segfault.

My home dir is on nfs, but it fails also when a say that my home in /tmp

Here is a strace:

read(3, "\5\1\314\27\222\216J\370\31\1\0\0\f\0\340\2\0\0\0\0E\3"..., 32) = 32
access("/home/gab/.kvirc/", F_OK)       = 0
lstat64("/home/gab/.kvirc/", {st_mode=S_IFDIR|0755, st_size=19, ...}) = 0
access("/home/gab/download", F_OK)      = 0
lstat64("/home/gab/download", {st_mode=S_IFDIR|0755, st_size=6, ...}) = 0
unlink("/home/gab/.kvirc/global")       = 0
symlink("/usr/share/kvirc/3.2", "/home/gab/.kvirc/global") = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 20583 detached


Portage 2.1.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.6
Last Sync: Fri, 17 Nov 2006 15:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=pentium4"
DISTDIR="/var/spool/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mir.zyrianes.net/gentoo/"
LANG="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
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'"
PORTAGE_TMPDIR="/var/spool/"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/var/tmp/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amr audiofile authfile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr chardet crypt curl dbus divx4linux dlloader dts dv dvd dvdr dvdread elibc_glibc encode esd exif expat fame ffmpeg firefox gd gdbm gif glut gluti gmp gnome gphoto2 gstreamer gtk gtk2 hal httpd idea idn imagemagick imap imlib input_devices_keyboard input_devices_mouse irda ithreads java jpeg jpeg2k kernel_linux ldap libcaca linguas_fr live mad matroska mjpeg mmx mozcalendar mozsvg mp3 mpeg msn ncurses nls ogg oggvorbis opengl openntpd pam pcre perl pic png python readline sdl smp softmmu speex sse sse2 ssl stream subtitles svg syslog sysvipc tcltk tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 video_cards_nv vorbis win32codecs wmf wxwindows x86 xinetd xml xorg xosd xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-11-19 11:23:29 UTC
Tried similar setup here and works okay. Are other apps breaking as well? Then I'd suggest re-emerging kdelibs
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-11-21 02:48:10 UTC
same here on ~x86 (below). ppc stable (except for kvirc) works ok.
http://www.gentoo.org/proj/en/qa/backtraces.xml for backtraces will help debug this.
I'm trying the kvirc cvs ebuild now and may get time to do a backtrace of 3.2.5 tonight.
# emerge --info
Portage 2.1.2_rc2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 20 Nov 2006 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo               http://mirror.linux.org.au/gentoo"
LINGUAS="en_GB en_AU"
MAKEOPTS="-j6"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.linux.org.au/gentoo-portage"
USE="x86 X a52 aac alsa amr amrr apm ares arts bash-completion berkdb bitmap-fonts boundschecking bzip2 cddb cdr cli cracklib crypt css cups curl dbus dga directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread ecc eds elibc_glibc emboss encode esd exif fame flac foomaticdb fortran fpx gdbm gif gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk2 hal hardened hpn iconv idn ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jbig jpeg jpeg2k kde kernel_linux lcms libg++ libwww linguas_en_AU linguas_en_GB lua lzo mad mikmod mjpeg mmx motif mp3 mpeg mplayer musicbrainz mysql ncurses nls nptl nptlonly ogg openal openexr opengl oss pam pcre pdds perl pic png pppd python qt qt3 qt4 rar readline reflection samba sdl session silc slp speex spell spl srtp sse sse2 ssl subtitles symlink tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vga vorbis wmf xine xinerama xml xorg xscreensaver xv xvid yv12 zlib zrtp"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-11-21 04:41:56 UTC
kvirc-9999 worked. will try 3.2.5 with debug ......
Comment 4 Daniel Black (RETIRED) gentoo-dev 2006-11-21 22:29:46 UTC
Created attachment 102511 [details, diff]
setupwizard.cpp from 3.2.5 to cvs (yesterday)

bt as promised...
(gdb) run
Starting program: /var/tmp/portage/net-irc/kvirc-3.2.5/work/kvirc-3.2.5/src/kvirc/build/.libs/kvirc
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1242883488 (LWP 7488)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1242883488 (LWP 7488)]
0x082906a8 in QButton::isOn (this=0x0) at /usr/qt/3/include/qbutton.h:193
193         return stat != Off;
(gdb) bt
#0  0x082906a8 in QButton::isOn (this=0x0) at /usr/qt/3/include/qbutton.h:193
#1  0x082a22c4 in QCheckBox::isChecked (this=0x0) at /usr/qt/3/include/qcheckbox.h:85
#2  0xb5e1fef2 in KviSetupWizard::accept (this=0x8539178) at setupwizard.cpp:828
#3  0xb7131661 in QDialog::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
#4  0xb71354a7 in QWizard::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
#5  0xb5e20ef5 in KviSetupWizard::qt_invoke (this=0x8539178, _id=47, _o=0xbf80db18) at setupwizard.moc:193
#6  0xb6de02b0 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#7  0xb6de0df0 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#8  0xb71126e8 in QButton::clicked () from /usr/qt/3/lib/libqt-mt.so.3
#9  0xb6e6f4cc in QButton::mouseReleaseEvent () from /usr/qt/3/lib/libqt-mt.so.3
#10 0xb6e16706 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#11 0xb6d810de in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#12 0xb6d815ab in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb758c32c in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#14 0xb5f2103e in free () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)

Logic seems to have change substancially around line 828 in the setupwizard.cpp
Comment 5 Korsani 2006-11-22 02:01:36 UTC
(In reply to comment #1)
> Tried similar setup here and works okay. Are other apps breaking as well? Then
> I'd suggest re-emerging kdelibs
> 

I have '-kde' in my make.conf, so kdelibs is not present.
And previous version of kvirc worked well (still without kdelibs)
Comment 6 M. Edward Borasky 2007-05-14 03:36:38 UTC
(In reply to comment #5)
> (In reply to comment #1)
> > Tried similar setup here and works okay. Are other apps breaking as well? Then
> > I'd suggest re-emerging kdelibs
> > 
> 
> I have '-kde' in my make.conf, so kdelibs is not present.
> And previous version of kvirc worked well (still without kdelibs)
> 

Yeah ... I get segfaults until I emerge kvirc with the "kde" use flag as well. Maybe the flag shouldn't be an option in the ebuild -- if you build kvirc, you need kdelibs
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2007-05-14 20:10:51 UTC
Will be fixed once they do a 3.2.6 release for linux (expected the next week or two)
Comment 8 Markus Ullmann (RETIRED) gentoo-dev 2007-06-02 15:35:57 UTC
*** Bug 180616 has been marked as a duplicate of this bug. ***