Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88578 - kcontrol-3.4.0 segfaults adding command shortcut
Summary: kcontrol-3.4.0 segfaults adding command shortcut
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 94010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-10 05:32 UTC by Chris Bainbridge (RETIRED)
Modified: 2005-07-04 09:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2005-04-10 05:32:24 UTC
kcontrol -> regional & accessibility -> keyboard shortcuts -> command shortcuts -> add shortcut for command -> apply -> file -> quit

KCrash: Application 'kcontrol' crashing...

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1504340304 (LWP 6094)]
0xffffe410 in ?? ()
#0  0xffffe410 in ?? ()

Unfortunately there is no backtrace, even though I compiled with USE=debug and added RESTRICT=nostrip to the ebuild.. I'm using the split ebuilds and suspect this bug relates to a missing dependency.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-12 10:50:43 UTC
Cannot reproduce here...
could you post your emerge info?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-25 16:42:54 UTC
*** Bug 94010 has been marked as a duplicate of this bug. ***
Comment 3 Benoit Philipps 2005-06-04 07:53:53 UTC
I have exactly the same problem, and here is my emerge --info

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11ben1 i686)
=================================================================
System uname: 2.6.11ben1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa arts avi bash-completion berkdb bitmap-fonts bzlib cdr
cpdflib crypt cups divx4linux dv dvb dvd dvdr dvdread emboss encode fam
foomaticdb fortran ftp gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 icq ieee1394
imagemagick imap imlib jabber java javascript jpeg kde kerberos libg++ libwww
lm_sensors mad maildir mikmod mng motif mp3 mpeg nas ncurses nls ogg oggvorbis
openal opengl oscar oss pam pcre pdflib perl plotutils png posix python qt
quicktime readline real recode samba sasl sdl simplexml sockets spell ssl svg
tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode
usb v4l vcd vorbis wifi win32codecs wmf xface xine xinerama xml xml2 xmlrpc xpm
xv xvid yahoo zlib linguas_fr linguas_fr_FR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 4 Benoit Philipps 2005-06-26 07:56:51 UTC
This bug is still present with kde-base/kcontrol-3.4.1-r1
And the problem is the same if launched from "kcmshell keys"
Comment 5 Chris Bainbridge (RETIRED) gentoo-dev 2005-06-26 13:09:59 UTC
ok I just filed it upstream http://bugs.kde.org/show_bug.cgi?id=108186

Hoping it gets fixed.
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-27 17:17:53 UTC
I can't reproduce this either. It would be nice if one of you would've tested it
with a clean user to exclude a messed up configuration, before taking this upstream.

If you want to get a usable backtrace emerge again without -fomit-frame-pointer
in your compiler flags, add "nostrip" to FEATURES and add enable the debug use
flag. I know this sucks a bit, but we can't do anything about it, before "debug"
itself becomes a feature flag.
Comment 7 Chris Bainbridge (RETIRED) gentoo-dev 2005-06-28 03:19:34 UTC
Done all that. My CFLAGS="-march=pentium4 -O2".

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1235638592 (LWP 12815)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb63a2759 in ?? ()
#2  0xb63a2728 in ?? ()
#3  0xb63aa630 in ?? ()
#4  0xbfffd6e8 in ?? ()
#5  0xb639ac44 in ?? ()
#6  0xb7120db0 in vtable for QEvent () from /usr/qt/3/lib/libqt-mt.so.3
#7  0x0000001b in ?? ()
#8  0xbfffd708 in ?? ()
#9  0xb6d1f732 in QWidget::find () from /usr/qt/3/lib/libqt-mt.so.3
Previous frame inner to this frame (corrupt stack?)

Missing symbols - I assume QT needs recompiling with debug symbols as well.

Valgrind output:

==12837== Jump to the invalid address stated on the next line
==12837==    at 0x0: ???
==12837==    by 0x1DB2CC43: KeyModule::~KeyModule() (main.cpp:67)
==12837==    by 0x1B94893A: ProxyWidget::~ProxyWidget() (proxywidget.cpp:260)
==12837==    by 0x1CA68991: QWidget::close(bool) (in
/usr/qt/3/lib/libqt-mt.so.3.3.4)
==12837==    by 0x1B943B41: ConfigModule::deleteClient() (modules.cpp:104)
==12837==    by 0x1B93A3B9: DockContainer::deleteModule() (dockcontainer.cpp:249)
==12837==    by 0x1B93A288: DockContainer::removeModule() (dockcontainer.cpp:238)
==12837==    by 0x1B936286: TopLevel::categorySelected(QListViewItem*)
(toplevel.cpp:358)
==12837==    by 0x1B9336AE: TopLevel::qt_invoke(int, QUObject*) (toplevel.moc:128)
==12837==    by 0x1CA354BC: QObject::activate_signal(QConnectionList*,
QUObject*) (in /usr/qt/3/lib/libqt-mt.so.3.3.4)
==12837==    by 0x1B9376D8: IndexWidget::categorySelected(QListViewItem*)
(indexwidget.moc:137)
==12837==    by 0x1B9378A2: IndexWidget::qt_emit(int, QUObject*)
(indexwidget.moc:158)
==12837==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

I can have reproduce this on both systems I have access to here and it has been
reported by 2 other users, which to me indicates a real bug and not a user
mis-configuration.
Comment 8 Benoit Philipps 2005-07-03 17:52:15 UTC
Today's "emerge --sync" made me install khotkeys (as a new dependency I guess)
After that the bug seems to be fixed.
Comment 9 Dan Armak (RETIRED) gentoo-dev 2005-07-04 09:59:11 UTC
That was bug 97773. The kcm keys module requires khotkeys. I didn't track down 
the crash though, and didn't see this bug. 
Please reopen if the problem reappears.