Bug 334884 - Crash when searching
Summary: Crash when searching
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-16 14:58 UTC by David Edmundson
Modified: 2016-03-09 16:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edmundson 2014-05-16 14:58:35 UTC
Crash is entirely within Qt, but it's still problematic.

rogram received signal SIGSEGV, Segmentation fault.
0x00007ffff785213c in QSGAtlasTexture::Atlas::uploadBgra (this=0x32178f0, 
    texture=0x4149ef0) at scenegraph/util/qsgatlastexture.cpp:296
296         dst[0] = src[0];
(gdb) bt
#0  0x00007ffff785213c in QSGAtlasTexture::Atlas::uploadBgra (this=0x32178f0, 
    texture=0x4149ef0) at scenegraph/util/qsgatlastexture.cpp:296
#1  0x00007ffff78527cc in QSGAtlasTexture::Atlas::bind (this=0x32178f0, 
    filtering=QSGTexture::Linear) at scenegraph/util/qsgatlastexture.cpp:388
#2  0x00007ffff7852cfa in QSGAtlasTexture::Texture::bind (this=0x4fc43f0)
    at scenegraph/util/qsgatlastexture.cpp:452
#3  0x00007ffff7857619 in QSGOpaqueTextureMaterialShader::updateState (
    this=0x32c3470, state=..., newEffect=0x4fc4760, oldEffect=0x0)
    at scenegraph/util/qsgtexturematerial.cpp:101
#4  0x00007ffff783455b in QSGBatchRenderer::Renderer::renderMergedBatch (
    this=0x4901810, batch=0x4fd1aa0)
    at scenegraph/coreapi/qsgbatchrenderer.cpp:2066
#5  0x00007ffff7835ab8 in QSGBatchRenderer::Renderer::renderBatches (
    this=0x4901810) at scenegraph/coreapi/qsgbatchrenderer.cpp:2259
#6  0x00007ffff7836f03 in QSGBatchRenderer::Renderer::render (this=0x4901810)
    at scenegraph/coreapi/qsgbatchrenderer.cpp:2431
#7  0x00007ffff784b106 in QSGRenderer::renderScene (this=0x4901810, 
    bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:259
#8  0x00007ffff784af18 in QSGRenderer::renderScene (this=0x4901810)
    at scenegraph/coreapi/qsgrenderer.cpp:218
#9  0x00007ffff7864749 in QSGRenderContext::renderNextFrame (this=0x8fe2b0, 
    renderer=0x4901810, fboId=0) at scenegraph/qsgcontext.cpp:356
#10 0x00007ffff78bc3d5 in QQuickWindowPrivate::renderSceneGraph (
    this=0x4428ac0, size=...) at items/qquickwindow.cpp:386
#11 0x00007ffff788a6c4 in QSGGuiThreadRenderLoop::renderWindow (this=0x8f6290, 
    window=0x4428790) at scenegraph/qsgrenderloop.cpp:370
#12 0x00007ffff788ad2e in QSGGuiThreadRenderLoop::event (this=0x8f6290, e=
    0x7fffffffd800) at scenegraph/qsgrenderloop.cpp:466
#13 0x00007ffff019acca in QApplicationPrivate::notify_helper (this=0x6ef430, 
    receiver=0x8f6290, e=0x7fffffffd800) at kernel/qapplication.cpp:3501
#14 0x00007ffff019845c in QApplication::notify (this=0x7fffffffdc50, 
    receiver=0x8f6290, e=0x7fffffffd800) at kernel/qapplication.cpp:2954
#15 0x00007fffef0e65b8 in QCoreApplication::notifyInternal (this=
    0x7fffffffdc50, receiver=0x8f6290, event=0x7fffffffd800)
    at kernel/qcoreapplication.cpp:935
#16 0x00007fffef0ea2a1 in QCoreApplication::sendEvent (receiver=0x8f6290, 
    event=0x7fffffffd800)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#17 0x00007fffef15c1aa in QTimerInfoList::activateTimers (this=0x72ad20)
---Type <return> to continue, or q <return> to quit---
    at kernel/qtimerinfo_unix.cpp:643
#18 0x00007fffef15d4be in timerSourceDispatch (source=0x72acc0)
    at kernel/qeventdispatcher_glib.cpp:185
#19 0x00007fffe9dc2b84 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#20 0x00007fffe9dc2dc8 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007fffe9dc2e6c in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#22 0x00007fffef15de59 in QEventDispatcherGlib::processEvents (this=0x72d5d0, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:426
#23 0x00007fffe1c847cc in QPAEventDispatcherGlib::processEvents (this=
    0x72d5d0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123
#24 0x00007fffef0e326e in QEventLoop::processEvents (this=0x7fffffffdb10, 
    flags=...) at kernel/qeventloop.cpp:136
#25 0x00007fffef0e3551 in QEventLoop::exec (this=0x7fffffffdb10, flags=...)
    at kernel/qeventloop.cpp:212
#26 0x00007fffef0e6ca1 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1188
#27 0x00007fffef916664 in QGuiApplication::exec ()
    at kernel/qguiapplication.cpp:1436
#28 0x00007ffff0197c89 in QApplication::exec () at kernel/qapplication.cpp:2746
#29 0x0000000000458ef0 in main (argc=1, argv=0x7fffffffe058)
Comment 1 Sebastian Kügler 2014-05-17 00:16:24 UTC
Can you reliably reproduce it, how?
Comment 2 Marco Martin 2014-06-03 11:27:34 UTC
can anybody still reproduce this bt with Qt 5.3 or later?
Comment 3 David Edmundson 2014-06-03 19:38:52 UTC
Update to Qt seems to have fixed it.
Comment 4 microcai 2015-03-15 10:33:38 UTC
I can clearly reproduce it, every time.
Comment 5 Sergey Koshman 2016-03-09 16:13:22 UTC
I had such issue
It was falling in qsgatlastexture.cpp on glTexSubImage2D(...)
In my case it was GL_UNPACK_ROW_LENGTH parameter set to value other than 0, from another part of application.
It worked ok when I put glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); to fix OpenGL API state after my other OpenGL code.