[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697495: libqt4-script: segfault in multiple programs



Package: libqt4-script
Version: 4:4.8.2+dfsg-2
Severity: normal

After upgrading my system, plasma-desktop and kwrite segfault on startup.  Both faults occur in exactly the same place in libqt4-script, so I am assigning here.
Downgrading back to 4:4.8.2+dfsg-2 fixes.

I believe the problem is the huge (2GB) allocation done at this point.  This fails on my system, even with 3G swap available, as I have memory overcommit disabled.
Is there any way to change this amount or (better) force dynamic allocation?

Attached backtrace from plasma-desktop.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libqt4-script depends on:
ii  libc6              2.13-37
ii  libgcc1            1:4.7.2-4
ii  libqt4-dbus        4:4.8.2+dfsg-8
ii  libqtcore4         4:4.8.2+dfsg-8
ii  libstdc++6         4.7.2-4
ii  multiarch-support  2.13-37

libqt4-script recommends no packages.

libqt4-script suggests no packages.

-- no debconf information
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f943b271780 (LWP 7881))]

Thread 2 (Thread 0x7f941f251700 (LWP 7882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9434d7ae77 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9435088640) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f9434d7aea9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f942f98ab50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f943ab7fa7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f943b271780 (LWP 7881)):
[KCrash Handler]
#6  0x00007f9434c97c5e in FixedVMPoolAllocator (totalHeapSize=2147483648, commonSize=<optimized out>, this=0x2613c60) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:310
#7  QTJSC::ExecutablePool::systemAlloc (size=16384) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp:443
#8  0x00007f9434d1c629 in ExecutablePool (n=<optimized out>, this=0x7f941e960960) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:258
#9  create (n=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:97
#10 ExecutableAllocator (this=0x7f941e95a9c8) at ../3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h:150
#11 QTJSC::JSGlobalData::JSGlobalData (this=0x7f941e959800, isShared=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:146
#12 0x00007f9434d1cdec in QTJSC::JSGlobalData::create () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:205
#13 0x00007f9434dbd380 in QScriptEnginePrivate::QScriptEnginePrivate (this=0x2614740) at api/qscriptengine.cpp:979
#14 0x00007f9434dbe2fe in QScriptEngine::QScriptEngine (this=0x7fff81442430, parent=0x0) at api/qscriptengine.cpp:1976
#15 0x00007f9439857d9a in WorkspaceScripting::ScriptEngine::ScriptEngine(Plasma::Corona*, QObject*) () from /usr/lib/libplasmagenericshell.so.4
#16 0x00007f943ae61abb in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#17 0x00007f943ae69173 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#18 0x00007f943ae69531 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#19 0x00007f943a6be6dc in Plasma::Corona::initializeLayout (this=0x25a5cc0, configName=...) at ../../plasma/corona.cpp:184
#20 0x00007f943ae89ea3 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#21 0x00007f943ae8a1ed in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#22 0x00007f943ae8b67a in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#23 0x00007f9437d21a2e in QObject::event (this=0x2483e10, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007f94370b8814 in QApplication::event (this=0x2483e10, e=0x25c1c30) at kernel/qapplication.cpp:2538
#25 0x00007f94370b670c in QApplicationPrivate::notify_helper (this=this@entry=0x2488850, receiver=receiver@entry=0x2483e10, e=e@entry=0x25c1c30) at kernel/qapplication.cpp:4556
#26 0x00007f94370bab8a in QApplication::notify (this=0x2483e10, receiver=0x2483e10, e=0x25c1c30) at kernel/qapplication.cpp:4417
#27 0x00007f9438a15886 in KApplication::notify (this=0x2483e10, receiver=0x2483e10, event=0x25c1c30) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f9437d0cb5e in QCoreApplication::notifyInternal (this=0x2483e10, receiver=receiver@entry=0x2483e10, event=event@entry=0x25c1c30) at kernel/qcoreapplication.cpp:915
#29 0x00007f9437d109e1 in sendEvent (event=0x25c1c30, receiver=0x2483e10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23fc1f0) at kernel/qcoreapplication.cpp:1539
#31 0x00007f9437d3b0e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0x2478fc0) at kernel/qeventdispatcher_glib.cpp:279
#33 0x00007f942ee7b355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f942ee7b688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f942ee7b744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9437d3b276 in QEventDispatcherGlib::processEvents (this=0x23fdad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f943715783e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f9437d0b8af in QEventLoop::processEvents (this=this@entry=0x7fff81443190, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f9437d0bb38 in QEventLoop::exec (this=0x7fff81443190, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f9437d10cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x00007f943ae724c5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#42 0x00007f943aac3ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff81443478) at libc-start.c:228
#43 0x0000000000400781 in _start ()

Reply to: