Bug 228826 - Plazma crash used Ram 100% Swap 0% [malloc, QString, QFile::decodeName, KDirWatchPrivate::inotifyEventReceived]
Summary: Plazma crash used Ram 100% Swap 0% [malloc, QString, QFile::decodeName, KDir...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 228750 228933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-28 00:11 UTC by ilya
Modified: 2012-05-28 22:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.44 KB, text/plain)
2010-02-28 09:30 UTC, ilya
Details
New crash information added by DrKonqi (9.08 KB, text/plain)
2010-02-28 13:14 UTC, ilya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilya 2010-02-28 00:11:47 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-14-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I always have this bug when plazma start up. I have this bug sometimes when I was cliking on my widgets

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Aborted
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f8397563800 (LWP 1590))]

Thread 4 (Thread 0x7f836f0a7710 (LWP 1591)):
#0  0x00007f839454ebd3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8390d09a49 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8390d09e1c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f8395b554d6 in QEventDispatcherGlib::processEvents (this=0x2805020, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8395b2a902 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8395b2acdc in QEventLoop::exec (this=0x7f836f0a6d10, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8395a34d69 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8395b0b118 in QInotifyFileSystemWatcherEngine::run (this=0x281a1b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8395a37785 in QThreadPrivate::start (arg=0x281a1b0) at thread/qthread_unix.cpp:248
#9  0x00007f83957a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f839455b38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f836dc50710 (LWP 1592)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f83944f41fc in _L_lock_12418 () from /lib/libc.so.6
#2  0x00007f83944f2c88 in *__GI___libc_free (mem=0x7f83947f1e40) at malloc.c:3736
#3  0x00007f8395b56113 in ~QEventDispatcherGlib (this=0x29c2e20, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:389
#4  0x00007f8395a37374 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#5  0x00007f8395a3778d in ~__pthread_cleanup_class (arg=0x7f8395e3ff20) at /usr/include/pthread.h:535
#6  QThreadPrivate::start (arg=0x7f8395e3ff20) at thread/qthread_unix.cpp:253
#7  0x00007f83957a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f839455b38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f8367fff710 (LWP 1634)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f83944f41fc in _L_lock_12418 () from /lib/libc.so.6
#2  0x00007f83944f2c88 in *__GI___libc_free (mem=0x7f83947f1e40) at malloc.c:3736
#3  0x00007f8390d056ea in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f8395b55f83 in ~QEventDispatcherGlib (this=0x1427dc0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:366
#5  0x00007f8395a37374 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:284
#6  0x00007f8395a3778d in ~__pthread_cleanup_class (arg=0x27b69f0) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x27b69f0) at thread/qthread_unix.cpp:253
#8  0x00007f83957a79ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f839455b38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f8397563800 (LWP 1590)):
[KCrash Handler]
#5  0x00007f83944a8a85 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f83944ac520 in *__GI_abort () at abort.c:92
#7  0x00007f83944e23e7 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f83944ec406 in malloc_printerr (action=3, str=0x7f83945be670 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6264
#9  0x00007f83944f0749 in _int_malloc (av=0x7f83947f1e40, bytes=66) at malloc.c:4306
#10 0x00007f83944f13ce in *__GI___libc_malloc (bytes=66) at malloc.c:3660
#11 0x00007f8395a7a635 in QString (this=0x7fff04c6aca0, size=17) at tools/qstring.cpp:1027
#12 0x00007f8395b5e97a in QUtf8::convertToUnicode (chars=<value optimized out>, len=16, state=0x0) at codecs/qutfcodec.cpp:169
#13 0x00007f8395b5eb11 in QUtf8Codec::convertToUnicode (this=<value optimized out>, chars=0x636 <Address 0x636 out of bounds>, len=6, state=0x0) at codecs/qutfcodec.cpp:518
#14 0x00007f8395a7f6ae in QTextCodec::toUnicode (str=0x3a7f918 ".xsession-errors", size=16) at ../../include/QtCore/../../src/corelib/codecs/qtextcodec.h:119
#15 QString::fromLocal8Bit (str=0x3a7f918 ".xsession-errors", size=16) at tools/qstring.cpp:3811
#16 0x00007f8395ab5b55 in locale_decode (f=<value optimized out>) at io/qfile.cpp:76
#17 0x00007f8395ab59fa in QFile::decodeName (localFileName=...) at io/qfile.cpp:500
#18 0x00007f83965c462f in KDirWatchPrivate::inotifyEventReceived (this=0x150f450) at ../../kio/kio/kdirwatch.cpp:280
#19 0x00007f83965c6f04 in KDirWatchPrivate::qt_metacall (this=0x150f450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff04c6ce70) at ./kdirwatch_p.moc:83
#20 0x00007f8395b3edbf in QMetaObject::activate (sender=0x1507740, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#21 0x00007f8395b8abfe in QSocketNotifier::activated (this=0x636, _t1=11) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#22 0x00007f8395b45f33 in QSocketNotifier::event (this=0x1507740, e=0x7fff04c6d520) at kernel/qsocketnotifier.cpp:317
#23 0x00007f8394cc822c in QApplicationPrivate::notify_helper (this=0x142b2b0, receiver=0x1507740, e=0x7fff04c6d520) at kernel/qapplication.cpp:4300
#24 0x00007f8394cce6fb in QApplication::notify (this=0x1415360, receiver=0x1507740, e=0x7fff04c6d520) at kernel/qapplication.cpp:4183
#25 0x00007f83960731d6 in KApplication::notify (this=0x1415360, receiver=0x1507740, event=0x7fff04c6d520) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f8395b2bfdc in QCoreApplication::notifyInternal (this=0x1415360, receiver=0x1507740, event=0x7fff04c6d520) at kernel/qcoreapplication.cpp:704
#27 0x00007f8395b5583a in QCoreApplication::sendEvent (source=0x142e770) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 socketNotifierSourceDispatch (source=0x142e770) at kernel/qeventdispatcher_glib.cpp:110
#29 0x00007f8390d05df2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f8390d09c38 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f8390d09e1c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f8395b55483 in QEventDispatcherGlib::processEvents (this=0x13aa1c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f8394d7821e in QGuiEventDispatcherGlib::processEvents (this=0x636, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f8395b2a902 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f8395b2acdc in QEventLoop::exec (this=0x7fff04c6d780, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f8395b2ea1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x00007f83897530c2 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#38 0x0000000000406fe8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4d9 "0") at ../../kinit/kinit.cpp:717
#39 0x0000000000407ca0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#40 0x000000000040822f in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#41 0x0000000000408e42 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841

Possible duplicates by query: bug 228536, bug 221616, bug 221520, bug 221419, bug 221409.

Reported using DrKonqi
Comment 1 ilya 2010-02-28 09:30:55 UTC
Created attachment 41190 [details]
New crash information added by DrKonqi

I can see my widgets and windows in red and yellow colors
Comment 2 ilya 2010-02-28 13:14:43 UTC
Created attachment 41199 [details]
New crash information added by DrKonqi

When I try to upgrade mu system from widget, I have this report.
Comment 3 Beat Wolf 2010-03-01 12:14:59 UTC
*** Bug 228933 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-03-21 01:56:38 UTC
*** Bug 228750 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-03-21 01:58:03 UTC
- Do you use/have any memory-consuming process ?
- Do you have some file with a broken filename encoding ? (and that file could be being modified, moved, created or deleted when Plasma crashes) ?
Regards
Comment 6 Dario Andres 2010-03-21 01:59:48 UTC
- Or may be too much files are being created/modified at the time ?
Also, I don't know if it is OK that the Swap is not being used at all... may be your system is broken.

- Have you asked in some Ubuntu forum ?
Regards
Comment 7 ilya 2010-03-21 09:52:37 UTC
I'm know nothing now, I back to Carmic Coala few weeks ago..But I realy had a problems with RAM and swap.
Comment 8 Myriam Schweingruber 2012-05-28 22:26:38 UTC
Closing for lack of feedback.