Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127980 - kwin 3.5.2 crash when pressing repeatly trying to switch windows but no windows opened
Summary: kwin 3.5.2 crash when pressing repeatly trying to switch windows but no windo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 06:04 UTC by Alexandru Thomae
Modified: 2006-04-17 11:47 UTC (History)
2 users (show)

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


Attachments
kwin-3.5.2-alt-tab_and_focus_chain_fix.diff (kwin-3.5.2-alt-tab_and_focus_chain_fix.diff,14.07 KB, patch)
2006-04-16 06:39 UTC, Ruben Jenster
Details | Diff
kwin-3.5.2-r1.ebuild (kwin-3.5.2-r1.ebuild,817 bytes, text/plain)
2006-04-17 11:35 UTC, Ruben Jenster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Thomae 2006-03-29 06:04:40 UTC
Hi,

Just updated last evening (EET) all kde. It emerged w/o problems, but now, when I try repeatitly to switch between windows (ALT-TAB) with no windows opened in the active desktop, kwin crashes with signal 11 (SIGSEGV).

I am currently emerging gdb so that I can provide the backtrace

Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-syko i686)
=================================================================
System uname: 2.6.16-gentoo-syko i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -ffast-math -funroll-all-loops -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks keepwork metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ines.lug.ro/gentoo ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.romnet.org/gentoo http://ftp.romnet.org/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage"
USE="x86 7zip X aac aalib acl acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bindinst bitmap-fonts browserplugin bzip2 cdparanoia cdr cli crypt ctype cups curl curlwrappers dba dga dio directfb dlloader dv dvb dvd dvdr dvdread eds emboss encode expat fastbuild fbcon fdftk ffmpeg firefox flash foomaticdb force-cgi-redirect fortran ftp gd gdbm ghoto2 gif glut gpm hal iconv icq imagemagick imap imlib jabber javascript jikes jpeg jpeg2k kde kdexdeltas libg++ libwww lm_sensors mad memlimit mikmod mime ming mmx mng motif mp3 mpeg msn mysqli ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oscar oss pam pcre pdf pdflib perl php png posix python qt quicktime readline rtc sasl scanner sdl session simplexml slp smp soap sockets sox speex spell spl sse sse2 ssl svg tcltk threads tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales v4l vcd videos vorbis win32codecs wmf xcomposite xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_sis video_cards_fbdev video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 1 Alexandru Thomae 2006-03-29 06:06:09 UTC
The backtrace:

System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229224272 (LWP 25302)]
[KCrash handler]
#6  0xb7f1ec35 in KWinInternal::Workspace::nextFocusChainClient ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#7  0xb7f1f320 in KWinInternal::TabBox::nextPrev ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#8  0xb7f1f460 in KWinInternal::Workspace::KDEWalkThroughWindows ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#9  0xb7f1f660 in KWinInternal::Workspace::tabBoxKeyPress ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#10 0xb7f290c4 in KWinInternal::Workspace::workspaceEvent ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#11 0xb7f1c51e in KWinInternal::Application::x11EventFilter ()
   from /usr/kde/3.5/lib/libkdeinit_kwin.so
#12 0xb72f27a7 in qt_set_x11_event_filter () from /usr/qt/3/lib/libqt-mt.so.3
#13 0xb72fc449 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb73182fc in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb738874d in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#16 0xb7388668 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb7373735 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb7f1cbb2 in kdemain () from /usr/kde/3.5/lib/libkdeinit_kwin.so
#19 0x080486ae in ?? ()
#20 0x00000001 in ?? ()
#21 0xbfa7c284 in ?? ()
#22 0x0804976c in ?? ()
#23 0xb6ccfff4 in ?? () from /lib/libc.so.6
#24 0xb7f7ec80 in ?? () from /lib/ld-linux.so.2
#25 0x080486b0 in ?? ()
#26 0xbfa7c258 in ?? ()
#27 0xb6bd0866 in __libc_start_main () from /lib/libc.so.6
#28 0xb6bd0866 in __libc_start_main () from /lib/libc.so.6
#29 0x080485f1 in ?? ()
Comment 2 Ruben Jenster 2006-03-30 03:20:54 UTC
Same problem for me here. Seems to be code regression between 3.5.1 and 3.5.2. Downgrading to 3.5.1 fixes this problem.
see http://bugs.kde.org/show_bug.cgi?id=124511
Comment 3 Joël 2006-03-30 07:27:19 UTC
Same problem here...
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-31 07:09:32 UTC
-r1 is in cvs.
Comment 5 Xavier 2006-04-04 04:02:08 UTC
Sorry but this bug is not finish. This link (http://bugs.kde.org/show_bug.cgi?id=124511) add a new version of correct file.

Please, can you add the new file to package ?

------------ bugs.kde.org ---------------

------- Additional Comment #8 From Markus Huschka 2006-04-01 18:05 -------  
For me this patch solves the crash, but the issue that only windows from the currently active desktop are shown although the option "Traverse windows on all desktops" is activated in kcontrol, still remains. Any suggestions? 
 
 
 ------- Additional Comment #9 From Dirk Mueller 2006-04-03 15:09 -------  
I updated the patch accordingly. 
 
------------ END bugs.kde.org ------------
Comment 6 Ruben Jenster 2006-04-16 06:39:54 UTC
Created attachment 84779 [details, diff]
kwin-3.5.2-alt-tab_and_focus_chain_fix.diff

Patch from Upstream.
fixes http://bugs.kde.org/show_bug.cgi?id=124511 
as well as
http://bugs.kde.org/show_bug.cgi?id=124807

With this patch browsing through windows from all virtual desktops is fixed.
For more information have a look at the kde bug reports.

Please include this patch into the kwin package
Comment 7 Ruben Jenster 2006-04-17 11:35:10 UTC
Created attachment 84850 [details]
kwin-3.5.2-r1.ebuild

updated ebuild that uses the above posted patch (kwin-3.5.2-alt-tab_and_focus_chain_fix.diff)
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-17 11:47:41 UTC
Thanks, Ruben. kwin-3.5.2-r2 reaches the tree soon.