Bug 270946 - Crash when I stop gdb for application crashed
Summary: Crash when I stop gdb for application crashed
Status: RESOLVED DUPLICATE of bug 258345
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 14:03 UTC by BRULE Herman
Modified: 2011-04-28 21:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2011-04-14 14:03:15 UTC
Application: kwin (4.6.2 (4.6.2))
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.32-gentoo-r26-amber2 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Hello, I develop application into Qt creator, the application have crashed into unusual place, I have stop gdb after some other action (4h after the crash and after have open kvirc), and kwin have crashed

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7a27afa7a0 (LWP 6878))]

Thread 3 (Thread 0x7f7a10616700 (LWP 6895)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f7a273014f8 in _L_lock_9650 () from /lib/libc.so.6
#2  0x00007f7a272ff8e1 in __libc_free (mem=0x7f7a275dde60) at malloc.c:3737
#3  0x00007f7a1cb788bb in ?? () from //usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.260.19.36
#4  0x00007f7a22744e1c in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#5  ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#6  QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:964
#7  0x00007f7a2275a1d7 in QEventDispatcherUNIX::~QEventDispatcherUNIX (this=0x7f7a275dde60, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:627
#8  0x00007f7a22627734 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:356
#9  0x00007f7a22628012 in ~__pthread_cleanup_class (arg=0x7f7a22a67f60) at /usr/include/pthread.h:535
#10 QThreadPrivate::start (arg=0x7f7a22a67f60) at thread/qthread_unix.cpp:325
#11 0x00007f7a24a00ae3 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#12 0x00007f7a223938c4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#13 0x00007f7a273597dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f7a0d58f700 (LWP 6921)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7a260d2704 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7a26409180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f7a260d2749 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f7a26417254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f7a24a00ae3 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#4  0x00007f7a223938c4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f7a273597dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7a27afa7a0 (LWP 6878)):
[KCrash Handler]
#6  0x00007f7a272fc308 in _int_free (av=0x7f7a275dde60, p=0xdc56760) at malloc.c:4957
#7  0x00007f7a272ff8ec in __libc_free (mem=<value optimized out>) at malloc.c:3739
#8  0x00007f7a1cb788bb in ?? () from //usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.260.19.36
#9  0x00007f7a22744e1c in cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#10 ~QScopedPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#11 QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:964
#12 0x00007f7a2763950c in KWin::ClientGroup::~ClientGroup (this=0xd1c3bb0, __in_chrg=<value optimized out>) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/clientgroup.cpp:48
#13 0x00007f7a276397b8 in KWin::ClientGroup::remove (this=0xd1c3bb0, c=0x64114a0, newGeom=..., toNullGroup=true) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/clientgroup.cpp:164
#14 0x00007f7a27635a8c in KWin::Client::releaseWindow (this=0x64114a0, on_shutdown=false) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/client.cpp:262
#15 0x00007f7a2766577b in KWin::Client::windowEvent (this=0x64114a0, e=0x7fffeb1a3510) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/events.cpp:655
#16 0x00007f7a27665ba7 in KWin::Workspace::workspaceEvent (this=0x1ce6880, e=0x7fffeb1a3510) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/events.cpp:309
#17 0x00007f7a27644099 in KWin::Application::x11EventFilter (this=0x7fffeb1a3780, e=0x7fffeb1a3510) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/main.cpp:367
#18 0x00007f7a2342f78e in qt_x11EventFilter (ev=0x7fffeb1a3510) at kernel/qapplication_x11.cpp:435
#19 0x00007f7a234406d1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffeb1a3510) at kernel/qapplication_x11.cpp:3299
#20 0x00007f7a2346dc16 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132
#21 0x00007f7a227274f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00007f7a227278d5 in QEventLoop::exec (this=0x7fffeb1a3690, flags=) at kernel/qeventloop.cpp:201
#23 0x00007f7a2272a15b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#24 0x00007f7a27645591 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/portage/portage/kde-base/kwin-4.6.2/work/kwin-4.6.2/kwin/main.cpp:542
#25 0x00007f7a272a6bbd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffeb1a3d78) at libc-start.c:226
#26 0x0000000000400789 in _start () at ../sysdeps/x86_64/elf/start.S:113

Possible duplicates by query: bug 268968, bug 259266, bug 258345, bug 257160, bug 243262.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-04-19 23:21:45 UTC
libnvidia-tls.so.260.19.36 not thread-safe? We received several bug reports about crashes in that library in combination with multiple threads. If this is reproducible, please try downgrading to a previous NVIDIA binary driver version (or upgrading, if there is a version that fixes it).
Comment 2 Martin Flöser 2011-04-28 21:16:17 UTC

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