Bug 693141 - kde unstable after latest updates
Summary: kde unstable after latest updates
Keywords:
Status: CLOSED DUPLICATE of bug 604003
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 14
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-03 01:52 UTC by A. Mani
Modified: 2011-04-04 01:35 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-04 01:35:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
kile debuginfo (3.14 KB, text/plain)
2011-04-04 00:34 UTC, A. Mani
no flags Details
kwin backtrace (2.36 KB, text/plain)
2011-04-04 00:41 UTC, A. Mani
no flags Details

Description A. Mani 2011-04-03 01:52:33 UTC
Description of problem:

After a routine update today (03/04/2011), kde has become unstable.
kwin does not start
konqueror cannot manage http protocol
kile crashes every time it is started



Version-Release number of selected component (if applicable):

Latest Fedora 14 (x86-64) stable

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

debuginfo for kile comes to 2.2GB. so did not install that

Comment 1 Kevin Kofler 2011-04-03 01:58:49 UTC
Have you restarted your session (logged out and logged back in, or rebooted outright) after the upgrade? A version upgrade of the KDE Software Compilation (kdelibs and kdebase-workspace in particular) always requires a session restart.

Comment 2 Kevin Kofler 2011-04-03 01:59:57 UTC
Also please check that you have the entirety of the kde* update installed. (Try running "yum-complete-transaction", and if that says there's no transaction to complete, another "yum update".)

Comment 3 A. Mani 2011-04-03 03:02:56 UTC
yes I did restart the system after upgrade.

'kwin is unstable' was a message
The original transaction of 'yum upgrade' completed correctly.
After that
I did 
yum update
no updates
yum clean all

yum upgrade
no updates

yum reinstall kate
It reinstalled kde-sdk !!!

yum reinstall kile
this went fine

but kile crashes still

(I will check yum-complete-transaction and see)

Comment 4 A. Mani 2011-04-03 03:32:14 UTC
yum-complete-transaction did not help
rpm --verify of kate

says kate is not installed, but it was/is and crashes

yum install kate

Package kdesdk-4.6.1-1.fc14.x86_64 already installed and latest version
Nothing to do

Comment 5 Kevin Kofler 2011-04-03 03:53:28 UTC
"KWin is unstable" is a sign that your graphics driver is buggy, try disabling desktop effects.

What version of Kile are you running? (rpm -q kile) kile-2.1-0.10.b5.fc14.i686 works fine with KDE 4.6.1 here.

For the Kile crash, I'm afraid I won't be able to do much without a backtrace. Try posting a backtrace without debuginfo, then I can tell you the exact
-debuginfo packages you need to install, which might be fewer than what debuginfo-install wants to fetch by default.

Comment 6 Kevin Kofler 2011-04-03 03:54:21 UTC
Also, do you still have that "konqueror cannot manage http protocol" issue?

Comment 7 A. Mani 2011-04-03 14:31:09 UTC
konqueror is ok 

Available backtrace:
Application: Kile (kile), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f63b8f7e840 (LWP 2070))]

Thread 2 (Thread 0x7f63abacc700 (LWP 2454)):
#0  0x0000003fa5c0b3b4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f63b9d99d84 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f63b9d99db9 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x0000003fa5c06ccb in start_thread () from /lib64/libpthread.so.0
#4  0x0000003fa50e0c2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f63b8f7e840 (LWP 2070)):
[KCrash Handler]
#6  0x00007f63b9cad0dd in ?? () from /usr/lib64/libQtScript.so.4
#7  0x00007f63b9d3bf53 in ?? () from /usr/lib64/libQtScript.so.4
#8  0x00007f63b9d3c69c in ?? () from /usr/lib64/libQtScript.so.4
#9  0x00007f63b9ddfb86 in ?? () from /usr/lib64/libQtScript.so.4
#10 0x00007f63b9de0a76 in QScriptEngine::QScriptEngine() () from /usr/lib64/libQtScript.so.4
#11 0x00007f63ad929e48 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#12 0x00007f63ad92a1d9 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#13 0x00007f63ad92b5b2 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#14 0x00007f63ad9316e6 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#15 0x00007f63ad931beb in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#16 0x00007f63ad98b3ef in KateView::setupActions() () from /usr/lib64/libkatepartinterfaces.so.4
#17 0x00007f63ad98fad4 in KateView::KateView(KateDocument*, QWidget*) () from /usr/lib64/libkatepartinterfaces.so.4
#18 0x00007f63ad900454 in KateDocument::createView(QWidget*) () from /usr/lib64/libkatepartinterfaces.so.4
#19 0x00000000006057b0 in _start (
____________________________________

KATE

pplication: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1987722840 (LWP 2919))]

Thread 2 (Thread 0x7f197a8f6700 (LWP 2920)):
#0  0x0000003fa5c0b3b4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f197c10dd84 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f197c10ddb9 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x0000003fa5c06ccb in start_thread () from /lib64/libpthread.so.0
#4  0x0000003fa50e0c2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1987722840 (LWP 2919)):
[KCrash Handler]
#6  0x00007f197c0210dd in ?? () from /usr/lib64/libQtScript.so.4
#7  0x00007f197c0aff53 in ?? () from /usr/lib64/libQtScript.so.4
#8  0x00007f197c0b069c in ?? () from /usr/lib64/libQtScript.so.4
#9  0x00007f197c153b86 in ?? () from /usr/lib64/libQtScript.so.4
#10 0x00007f197c154a76 in QScriptEngine::QScriptEngine() () from /usr/lib64/libQtScript.so.4
#11 0x00007f197bc13e48 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#12 0x00007f197bc141d9 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#13 0x00007f197bc155b2 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#14 0x00007f197bc1b6e6 in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#15 0x00007f197bc1bbeb in ?? () from /usr/lib64/libkatepartinterfaces.so.4
#16 0x00007f197bc753ef in KateView::setupActions() () from /usr/lib64/libkatepartinterfaces.so.4
#17 0x00007f197bc79ad4 in KateView::KateView(KateDocument*, QWidget*) () from /usr/lib64/libkatepartinterfaces.so.4
#18 0x00007f197bbea454 in KateDocument::createView(QWidget*) () from /usr/lib64/libkatepartinterfaces.so.4
#19 0x0000003cd7445696 in ?? () from /usr/lib64/libkateinterfaces.so.4
#20 0x0000003cd74491fa in ?? () from /usr/lib64/libkateinterfaces.so.4
#21 0x0000003cd74477a4 in ?? () from /usr/lib64/libkateinterfaces.so.4
#22 0x0000003cd7447e8e in ?? () from /usr/lib64/libkateinterfaces.so.4
#23 0x0000003cd743daac in ?? () from /usr/lib64/libkateinterfaces.so.4
#24 0x0000003cd742ccc4 in KateApp::newMainWindow(KConfig*, QString const&) () from /usr/lib64/libkateinterfaces.so.4
#25 0x0000003cd7451fb0 in ?? () from /usr/lib64/libkateinterfaces.so.4
#26 0x0000003cd745517d in ?? () from /usr/lib64/libkateinterfaces.so.4
#27 0x0000003cd742e864 in KateApp::startupKate() () from /usr/lib64/libkateinterfaces.so.4
#28 0x0000003cd742ec10 in KateApp::initKate() () from /usr/lib64/libkateinterfaces.so.4
#29 0x0000003cd742ee02 in KateApp::KateApp(KCmdLineArgs*) () from /usr/lib64/libkateinterfaces.so.4
#30 0x00007f19885ed8e2 in kdemain () from /usr/lib64/libkdeinit4_kate.so
#31 0x0000003fa501ee5d in __libc_start_main () from /lib64/libc.so.6
#32 0x0000000000400759 in _start ()

Comment 8 Kevin Kofler 2011-04-03 17:28:30 UTC
OK, thanks, this brings us somewhat forward. There's a crash inside QtScript as used by the KatePart.

Do you have any custom scripts installed for the KatePart? Chances are it's one of the scripts that's triggering the crash (which isn't necessarily the script's fault, but we'll need to know what script(s) those are to reproduce the bug).

I'd also like to see the output of:
rpm -q qt kdelibs kile

Comment 9 A. Mani 2011-04-03 22:21:03 UTC
Thanks,I do not have any custom scripts for the Katepart. The scripts used are standard (see bottom)

But in Kate, I use highlighting for R-scripts

From cat .kde/share/apps/kate/metainfos

Bookmarks=
Encoding=UTF-8
Highlighting=R Script
Indentation Mode=

Mode=R Script
ReadWrite=true


The configuration is

[Kate Plugins]
kateexternaltoolsplugin=false
katefilebrowserplugin=true
katefiletemplates=false
katefindinfilesplugin=true
katekonsoleplugin=true
katemailfilesplugin=false
kateopenheaderplugin=false
katequickdocumentswitcherplugin=false
katesymbolviewerplugin=false
katetabbarextensionplugin=false
katetextfilterplugin=false


The versions of the packages:

kile-2.1-0.10.b5.fc14.x86_64
qt-4.7.1-17.fc14.x86_64
kdelibs-4.6.1-5.fc14.x86_64

_____________________________________________________
From
#cat  .kde/share/config/katepart*


[Cache /usr/share/apps/katepart/scripts/indent/script-indent-c-test.js]
copyright=\nBased on work Copyright 2005 by Dominik Haumann\nCopyright 2005 by Joseph Wenninger\nHere will be the license text, Dominik has to choose\n The following line is not empty\n \nAn empty line ends this block
internalName=script-indent-c-test
lastModified=<snip>
niceName=C style indenter
version=0.1
[Kate Part Plugins]
kdeviconinserter=false
ktexteditorautobrace=false
ktexteditordocwordcompletion=false
ktexteditorexporter=true
ktexteditorinsanehtml_le=false
ktexteditorinsertfile=true
ktexteditorkdatatool=true
[Cache /usr/share/kde4/apps/katepart/script/cstyle.js]
author=Dominik Haumann <dhdev>, Milian Wolff <mail>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=C Style
revision=1
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/haskell.js]
author=Erlend Hamberg <ehamberg>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=Haskell
revision=2
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/jstest.js]
functions=jstest
last-modified=<snip>

[Cache /usr/share/kde4/apps/katepart/script/lilypond.js]
author=Wilbert Berendsen <info>
indent-languages=lilypond
kate-version=3.4
last-modified=<snip>
license=LGPL
name=LilyPond
required-syntax-style=lilypond
revision=2
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/lisp.js]
author=Dominik Haumann <dhdev>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=LISP
revision=2
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/lua.js]
author=Jonathan Schmidt-Dominé <devel>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=Lua
revision=1
type=indentation

[Cache /usr/share/kde4/apps/katepart/script/python.js]
author=Paul Giannaros <paul>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=Python
revision=1
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/ruby.js]
author=Robin Pedersen <robinpeder>
indent-languages=ruby
kate-version=3.4
last-modified=<snip>
license=LGPL
name=Ruby
priority=0
required-syntax-style=ruby
revision=1
type=indentation
version=1

[Cache /usr/share/kde4/apps/katepart/script/sort.js]
author=Dominik Haumann <dhdev>
functions=sorter
kate-version=3.0
last-modified=<snip>
license=LGPL
name=C++ Indenter
version=1

[Cache /usr/share/kde4/apps/katepart/script/utils.js]
author=Dominik Haumann <dhdev>, Milian Wolff <mail>
functions=sort, moveLinesDown, moveLinesUp, natsort, uniq, rtrim, ltrim, trim, join, rmblank, unwrap, each, filter, map, duplicateLinesUp, duplicateLinesDown
kate-version=3.4
last-modified=<snip>
license=LGPL
revision=3
type=commands

[Cache /usr/share/kde4/apps/katepart/script/xml.js]
author=Milian Wolff <mail>
kate-version=3.4
last-modified=<snip>
license=LGPL
name=XML Style
revision=1
type=indentation

[General]
kate-version=3.6
_________________________________

Comment 10 Kevin Kofler 2011-04-03 22:28:02 UTC
To get a more useful backtrace, you will have to install at least qt-debuginfo and kdelibs-debuginfo:
su -c "yum --enablerepo=updates-debuginfo install qt-debuginfo kdelibs-debuginfo"

Comment 11 Kevin Kofler 2011-04-03 22:37:23 UTC
Also worth trying is running:
strace kate 2>&1 | grep \\.js
and/or:
strace kile 2>&1 | grep \\.js
which might tell you what scripts are being loaded.

Comment 12 A. Mani 2011-04-04 00:28:25 UTC
I installed all of the debuginfo

Here is the Kate report:


Application: Kate (kate), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f934730a840 (LWP 29861))]

Thread 2 (Thread 0x7f933a4cc700 (LWP 29862)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000037bd393d84 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x37bd6ab4e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00000037bd393db9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x37bd6b95b4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003fa5c06ccb in start_thread (arg=0x7f933a4cc700) at pthread_create.c:301
#4  0x0000003fa50e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f934730a840 (LWP 29861)):
[KCrash Handler]
#6  0x00000037bd2a70dd in QTJSC::ExecutablePool::systemAlloc (n=16384) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorPosix.cpp:49
#7  0x00000037bd335f53 in ExecutablePool (this=0x7f9339bcc800, isShared=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:258
#8  create (this=0x7f9339bcc800, isShared=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:97
#9  ExecutableAllocator (this=0x7f9339bcc800, isShared=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:150
#10 QTJSC::JSGlobalData::JSGlobalData (this=0x7f9339bcc800, isShared=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:147
#11 0x00000037bd33669c in QTJSC::JSGlobalData::create () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:206
#12 0x00000037bd3d9b86 in QScriptEnginePrivate::QScriptEnginePrivate (this=0xe38100) at api/qscriptengine.cpp:971
#13 0x00000037bd3daa76 in QScriptEngine::QScriptEngine (this=0xe380e0) at api/qscriptengine.cpp:1947
#14 0x00007f933b7e9e48 in KateScript::load (this=0xb4b310) at /usr/src/debug/kdelibs-4.6.1/kate/script/katescript.cpp:247
#15 0x00007f933b7ea1d9 in KateScript::clearExceptions (this=0xb4b310) at /usr/src/debug/kdelibs-4.6.1/kate/script/katescript.cpp:157
#16 0x00007f933b7eb5b2 in KateCommandLineScript::actionInfo (this=0xb4b310, cmd=...) at /usr/src/debug/kdelibs-4.6.1/kate/script/katecommandlinescript.cpp:78
#17 0x00007f933b7f16e6 in KateScriptActionMenu::repopulate (this=0xe379f0) at /usr/src/debug/kdelibs-4.6.1/kate/script/katescriptaction.cpp:118
#18 0x00007f933b7f1beb in KateScriptActionMenu::KateScriptActionMenu (this=0xe379f0, view=0xdeece0, text=...) at /usr/src/debug/kdelibs-4.6.1/kate/script/katescriptaction.cpp:74
#19 0x00007f933b84b3ef in KateView::setupActions (this=0xdeece0) at /usr/src/debug/kdelibs-4.6.1/kate/view/kateview.cpp:344
#20 0x00007f933b84fad4 in KateView::KateView (this=0xdeece0, doc=0xb68de0, parent=<value optimized out>) at /usr/src/debug/kdelibs-4.6.1/kate/view/kateview.cpp:238
#21 0x00007f933b7c0454 in KateDocument::createView (this=0xb68de0, parent=0xbea180) at /usr/src/debug/kdelibs-4.6.1/kate/document/katedocument.cpp:329
#22 0x00000037b2645696 in KateViewManager::createView (this=0xbcc120, doc=<value optimized out>) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateviewmanager.cpp:290
#23 0x00000037b26491fa in KateViewSpace::restoreConfig (this=0xbdfcd0, viewMan=0xbcc120, config=0x94bd80, groupname=...) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateviewspace.cpp:245
#24 0x00000037b26477a4 in KateViewManager::restoreSplitter (this=0xbcc120, configBase=0x94bd80, group=<value optimized out>, parent=0xbcc120, viewConfGrp=...) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateviewmanager.cpp:805
#25 0x00000037b2647e8e in KateViewManager::restoreViewConfiguration (this=0xbcc120, config=...) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateviewmanager.cpp:711
#26 0x00000037b263daac in KateMainWindow::KateMainWindow (this=0xbb4b50, sconfig=0x94bd80, sgroup=..., __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdesdk-4.6.1/kate/app/katemainwindow.cpp:204
#27 0x00000037b262ccc4 in KateApp::newMainWindow (this=<value optimized out>, sconfig_=<value optimized out>, sgroup_=<value optimized out>) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateapp.cpp:390
#28 0x00000037b2651fb0 in KateSessionManager::activateSession (this=0xba1c20, session=<value optimized out>, closeLast=<value optimized out>, saveLast=<value optimized out>, loadNew=<value optimized out>) at /usr/src/debug/kdesdk-4.6.1/kate/app/katesession.cpp:338
#29 0x00000037b265517d in KateSessionManager::chooseSession (this=0xba1c20) at /usr/src/debug/kdesdk-4.6.1/kate/app/katesession.cpp:446
#30 0x00000037b262e864 in KateApp::startupKate (this=0x7fff7cbaa930) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateapp.cpp:182
#31 0x00000037b262ec10 in KateApp::initKate (this=0x7fff7cbaa930) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateapp.cpp:135
#32 0x00000037b262ee02 in KateApp::KateApp (this=0x7fff7cbaa930, args=<value optimized out>) at /usr/src/debug/kdesdk-4.6.1/kate/app/kateapp.cpp:72
#33 0x00000037b2a058e2 in kdemain (argc=9310784, argv=0x7fff7cbabe01) at /usr/src/debug/kdesdk-4.6.1/kate/app/katemain.cpp:373
#34 0x0000003fa501ee5d in __libc_start_main (main=0x400830 <main(int, char**)>, argc=2, ubp_av=0x7fff7cbabe68, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff7cbabe58) at libc-start.c:226
#35 0x0000000000400759 in _start ()

Comment 13 A. Mani 2011-04-04 00:34:18 UTC
Created attachment 489693 [details]
kile debuginfo

Kile crash information

Comment 14 A. Mani 2011-04-04 00:41:13 UTC
Created attachment 489694 [details]
kwin backtrace

kwin backtrace (useful)

Comment 15 Kevin Kofler 2011-04-04 00:50:06 UTC
Well, I have no idea why you haven't seen this issue before upgrading to 4.6.1, but this looks a lot like bug 604003 to me. (Both the KatePart issue affecting Kate and Kile and the KWin issue are actually crashes in the QtScript JIT.)

Do you have SELinux enabled and enforcing? What does:
su -c "getsebool allow_execmem"
return?

Please try to:
su -c "setsebool -P allow_execmem 1"

Comment 16 A. Mani 2011-04-04 01:11:33 UTC
yes.selinux is enabled and enforcing

with allow_execmem --> off

after changing it is fine

But routine upgrades on stable should be smoother.

Thanks and Best

Comment 17 Kevin Kofler 2011-04-04 01:35:25 UTC
Well, QtScript requiring execmem is not a new thing. I have no idea why you haven't seen this before.

I also don't know why you have allow_execmem disabled. It's enabled by default.

*** This bug has been marked as a duplicate of bug 604003 ***


Note You need to log in before you can comment on or make changes to this bug.