Bug 320354 - OOM while moving/copying large number of files, plasma SNI related
Summary: OOM while moving/copying large number of files, plasma SNI related
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (show other bugs)
Version: 4.10.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-27 16:38 UTC by pedron.alexandre
Modified: 2018-12-01 03:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
thomas.luebking: r600g+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pedron.alexandre 2013-05-27 16:38:50 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.0-22-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
I was just copying a large number of files to an external hard drive to save them.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb11ef740 (LWP 2603))]

Thread 3 (Thread 0xae00cb40 (LWP 2609)):
#0  0xb77d2424 in __kernel_vsyscall ()
#1  0xb225984b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75a5d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb66c00ed in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb66c011f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2255d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb75983de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad1e2b40 (LWP 2610)):
#0  0xb600276a in QEventDispatcherUNIXPrivate::processThreadWakeUp (this=0xac800498, nsel=-1) at kernel/qeventdispatcher_unix.cpp:321
#1  0xb60043ce in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0xac800498, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:276
#2  0xb6004a13 in QEventDispatcherUNIX::processEvents (this=0xac800488, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#3  0xb5fce3ec in QEventLoop::processEvents (this=this@entry=0xad1e2228, flags=...) at kernel/qeventloop.cpp:149
#4  0xb5fce6e1 in QEventLoop::exec (this=this@entry=0xad1e2228, flags=...) at kernel/qeventloop.cpp:204
#5  0xb5eb9fec in QThread::exec (this=this@entry=0x8702138) at thread/qthread.cpp:542
#6  0xb5fadf2d in QInotifyFileSystemWatcherEngine::run (this=0x8702138) at io/qfilesystemwatcher_inotify.cpp:256
#7  0xb5ebcb18 in QThreadPrivate::start (arg=0x8702138) at thread/qthread_unix.cpp:338
#8  0xb2255d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb75983de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb11ef740 (LWP 2603)):
[KCrash Handler]
#7  0xa6d15371 in r600_context_bo_reloc (usage=RADEON_USAGE_READ, ring=0x88de590, ctx=0x88de448, rbo=<optimized out>) at r600_pipe.h:888
#8  r600_emit_constant_buffers (rctx=rctx@entry=0x88de448, state=state@entry=0x88de9f0, buffer_id_base=buffer_id_base@entry=160, reg_alu_constbuf_size=reg_alu_constbuf_size@entry=164224, reg_alu_const_cache=reg_alu_const_cache@entry=166272) at r600_state.c:2050
#9  0xa6d15559 in r600_emit_vs_constant_buffers (rctx=0x88de448, atom=0x88de9f0) at r600_state.c:2074
#10 0xa6d28bec in r600_emit_atom (atom=0x88de9f0, rctx=0x88de448) at r600_pipe.h:573
#11 r600_draw_vbo (ctx=0x88de448, dinfo=0xbfda76f0) at r600_state_common.c:1390
#12 0xa65e605a in u_vbuf_draw_vbo (mgr=0x8978f40, info=info@entry=0xbfda76f0) at util/u_vbuf.c:1143
#13 0xa65751aa in cso_draw_vbo (cso=0x8978788, info=info@entry=0xbfda76f0) at cso_cache/cso_context.c:1344
#14 0xa668f1ba in st_draw_vbo (ctx=0x8929f88, prims=0xbfda7770, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at ../../../../../src/mesa/state_tracker/st_draw.c:287
#15 0xa6a6d4f2 in vbo_draw_arrays (ctx=ctx@entry=0x8929f88, mode=mode@entry=4, start=start@entry=0, count=count@entry=6, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0) at ../../../../../src/mesa/vbo/vbo_exec_array.c:619
#16 0xa6a6d5dd in vbo_exec_DrawArrays (mode=4, start=0, count=6) at ../../../../../src/mesa/vbo/vbo_exec_array.c:649
#17 0xb64efc85 in KWin::GLVertexBufferPrivate::corePainting (this=0x896ea90, region=..., primitiveMode=4, hardwareClipping=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1254
#18 0xb64eff4d in KWin::GLVertexBuffer::render (this=this@entry=0x896b0f8, region=..., primitiveMode=primitiveMode@entry=4, hardwareClipping=hardwareClipping@entry=false) at ../../../kwin/libkwineffects/kwinglutils.cpp:1363
#19 0xb64f0002 in KWin::GLVertexBuffer::render (this=this@entry=0x896b0f8, primitiveMode=primitiveMode@entry=4) at ../../../kwin/libkwineffects/kwinglutils.cpp:1355
#20 0xa45b2772 in KWin::BlurEffect::drawRegion (this=this@entry=0x8adc6b8, region=...) at ../../../kwin/effects/blur/blur.cpp:254
#21 0xa45b3816 in KWin::BlurEffect::doCachedBlur (this=this@entry=0x8adc6b8, w=w@entry=0x8c8e128, region=..., opacity=1) at ../../../kwin/effects/blur/blur.cpp:669
#22 0xa45b4c1e in KWin::BlurEffect::drawWindow (this=0x8adc6b8, w=0x8c8e128, mask=10, region=..., data=...) at ../../../kwin/effects/blur/blur.cpp:411
#23 0xb77504a3 in KWin::EffectsHandlerImpl::drawWindow (this=0x8a98780, w=w@entry=0x8c8e128, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:315
#24 0xb772aff2 in KWin::Scene::finalPaintWindow (this=0x896eac8, w=w@entry=0x8c8e128, mask=mask@entry=10, region=..., data=...) at ../../kwin/scene.cpp:449
#25 0xb7750783 in KWin::EffectsHandlerImpl::paintWindow (this=0x8a98780, w=w@entry=0x8c8e128, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:281
#26 0xb69a4312 in KWin::Effect::paintWindow (this=0x8adc6b8, w=0x8c8e128, mask=10, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:504
#27 0xb7750723 in KWin::EffectsHandlerImpl::paintWindow (this=0x8a98780, w=0x8c8e128, mask=mask@entry=10, region=..., data=...) at ../../kwin/effects.cpp:278
#28 0xb772e130 in KWin::Scene::paintWindow (this=this@entry=0x896eac8, w=0x8ca89f0, mask=10, region=..., quads=...) at ../../kwin/scene.cpp:356
#29 0xb772d296 in KWin::Scene::paintSimpleScreen (this=this@entry=0x896eac8, orig_mask=orig_mask@entry=8, region=...) at ../../kwin/scene.cpp:342
#30 0xb772af33 in KWin::Scene::finalPaintScreen (this=0x896eac8, mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#31 0xb7750923 in KWin::EffectsHandlerImpl::paintScreen (this=0x8a98780, mask=mask@entry=8, region=..., data=...) at ../../kwin/effects.cpp:254
#32 0xb69a438a in KWin::Effect::paintScreen (this=0x8adc6b8, mask=8, region=..., data=...) at ../../../kwin/libkwineffects/kwineffects.cpp:489
#33 0xb77508cb in KWin::EffectsHandlerImpl::paintScreen (this=0x8a98780, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#34 0xb772c4ce in KWin::Scene::paintScreen (this=this@entry=0x896eac8, mask=mask@entry=0xbfda825c, region=region@entry=0xbfda82cc) at ../../kwin/scene.cpp:140
#35 0xb773b1cb in KWin::SceneOpenGL::paint (this=0x896eac8, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:308
#36 0xb7724d10 in KWin::Compositor::performCompositing (this=0x8696450) at ../../kwin/composite.cpp:610
#37 0xb5feb2d4 in QObject::event (this=0x8696450, e=0xbfda87f0) at kernel/qobject.cpp:1156
#38 0xb54bec7c in QApplicationPrivate::notify_helper (this=0x8554d40, receiver=0x8696450, e=0xbfda87f0) at kernel/qapplication.cpp:4567
#39 0xb54c1b94 in QApplication::notify (this=0xbfda87f0, receiver=0x8696450, e=0xbfda87f0) at kernel/qapplication.cpp:3949
#40 0xb7254d01 in KApplication::notify (this=this@entry=0xbfda8bb8, receiver=receiver@entry=0x8696450, event=event@entry=0xbfda87f0) at ../../kdeui/kernel/kapplication.cpp:311
#41 0xb76d1e0f in notify (e=0xbfda87f0, o=0x8696450, this=0xbfda8bb8) at ../../kwin/main.cpp:371
#42 KWin::Application::notify (this=0xbfda8bb8, o=0x8696450, e=0xbfda87f0) at ../../kwin/main.cpp:367
#43 0xb5fcf90e in QCoreApplication::notifyInternal (this=0xbfda8bb8, receiver=0x8696450, event=event@entry=0xbfda87f0) at kernel/qcoreapplication.cpp:946
#44 0xb60048c0 in sendEvent (event=0xbfda87f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QTimerInfoList::activateTimers (this=0x8555624) at kernel/qeventdispatcher_unix.cpp:622
#46 0xb6004945 in QEventDispatcherUNIX::activateTimers (this=0x8555624, this@entry=0x850beb8) at kernel/qeventdispatcher_unix.cpp:879
#47 0xb6004ab8 in QEventDispatcherUNIX::processEvents (this=this@entry=0x850beb8, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#48 0xb55765f3 in QEventDispatcherX11::processEvents (this=0x850beb8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#49 0xb5fce3ec in QEventLoop::processEvents (this=this@entry=0xbfda8a38, flags=...) at kernel/qeventloop.cpp:149
#50 0xb5fce6e1 in QEventLoop::exec (this=this@entry=0xbfda8a38, flags=...) at kernel/qeventloop.cpp:204
#51 0xb5fd43fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#52 0xb54bcfc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#53 0xb76d18c1 in kdemain (argc=3, argv=0xbfda8ca4) at ../../kwin/main.cpp:537
#54 0x0804855b in main (argc=3, argv=0xbfda8ca4) at kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2013-05-27 16:49:15 UTC
uh the back trace is a new one. Exciting. Somehow I think it's related to the 
copy operation. Did you notice a general slowdown of the complete UI?

> The crash can be reproduced every time.
Are you sure about that? Sounds like it was a one time crash.
Comment 2 Thomas Lübking 2013-05-27 16:57:17 UTC
OOM, related to latter bug #234463 claims?
In that case reproducibility is in the cards.

@pedron
does that also happen if quit plasma before copying?
("kquitapp plasma-desktop" - or just pkill it)
Comment 3 pedron.alexandre 2013-05-27 18:18:59 UTC
(In reply to comment #1)
> uh the back trace is a new one. Exciting. Somehow I think it's related to
> the 
> copy operation. Did you notice a general slowdown of the complete UI?
> 
> > The crash can be reproduced every time.
> Are you sure about that? Sounds like it was a one time crash.

Hello!

Yes I'm quite sure, every time I'm trying to copy a large number of files, it seems after some time, something goes wrong and the whole desktop is disconnecting, or just lets me the windows open, but nothing else...
The complete UI doesn't slow, at least it seems.

(In reply to comment #1)
>@pedron does that also happen if quit plasma before copying? ("kquitapp plasma-desktop" - >or just pkill it)

I will try this command, as it seems sometimes plasma ends itself.

Thank you both for your help, I'll keep posting evolutions here!
Comment 4 pedron.alexandre 2013-06-10 09:17:28 UTC
(In reply to comment #2)
> OOM, related to latter bug #234463 claims?
> In that case reproducibility is in the cards.
> 
> @pedron
> does that also happen if quit plasma before copying?
> ("kquitapp plasma-desktop" - or just pkill it)

Hello,

It seems it works doing that. I'll reboot my computer after to re-load plasma desktop.

Thanks !
Comment 5 Thomas Lübking 2013-07-17 12:38:45 UTC
It's not required to reboot or something, just running "plasma-desktop" (from krunner or konsole etc) will do.

*** This bug has been marked as a duplicate of bug 318131 ***
Comment 6 Thomas Lübking 2013-07-25 21:01:00 UTC
Rather bug #311799, since bug #318131 is claimed to have no relation to the plasma indicator.
Comment 7 Andrew Crouthamel 2018-11-01 13:41:45 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-16 11:32:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2018-12-01 03:46:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!