Project

General

Profile

Actions

Bug #151

closed

qtcreator crashes

Added by Igor Pashev over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
2013-09-18
Due date:
% Done:

100%

Estimated time:

Description

qtcreator crashes:

pashev@bok:~$ gdb qtcreator
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying" 
and "show warranty" for details.
This GDB was configured as "x86_64-pc-solaris2.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qtcreator...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/qtcreator 
[New LWP 2]
[New LWP 3]

Program received signal SIGSEGV, Segmentation fault.
Ensure (n=258, start=4503598956273518, this=0xfffffd7fa26278c0)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/TCPageMap.h:251
251     ../3rdparty/javascriptcore/JavaScriptCore/wtf/TCPageMap.h: No such file or directory.
(gdb) bt
#0  Ensure (n=258, start=4503598956273518, this=0xfffffd7fa26278c0)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/TCPageMap.h:251
#1  QTWTF::TCMalloc_PageHeap::GrowHeap (this=this@entry=0xfffffd7fa26278c0, n=n@entry=1)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1975
#2  0xfffffd7fa2349da2 in New (n=1, this=0xfffffd7fa26278c0)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1590
#3  New (n=1, this=0xfffffd7fa26278c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2628
#4  Populate (this=0xfffffd7fa2613a80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2665
#5  QTWTF::TCMalloc_Central_FreeList::FetchFromSpansSafe (this=this@entry=0xfffffd7fa2613a80)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2631
#6  0xfffffd7fa2349e3c in QTWTF::TCMalloc_Central_FreeList::RemoveRange (this=0xfffffd7fa2613a80, 
    start=start@entry=0xfffffd7fffdfe0d0, end=end@entry=0xfffffd7fffdfe0d8, N=N@entry=0xfffffd7fffdfe0cc)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2605
#7  0xfffffd7fa234b9a0 in FetchFromCentralCache (allocationSize=8, cl=<optimized out>, this=<optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2775
#8  Allocate (this=<optimized out>, size=<optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2753
#9  do_malloc<true> (size=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:3486
#10 fastMalloc<true> (size=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:3690
#11 QTWTF::fastMalloc (size=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:3667
#12 0xfffffd7fa2350f3a in operator new (size=8) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:96
#13 QTWTF::initializeThreading () at ../3rdparty/javascriptcore/JavaScriptCore/wtf/qt/ThreadingQt.cpp:148
#14 0xfffffd7fa22dd7c9 in initializeThreadingOnce ()
    at ../3rdparty/javascriptcore/JavaScriptCore/runtime/InitializeThreading.cpp:50
#15 QTJSC::initializeThreading () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/InitializeThreading.cpp:66
#16 0xfffffd7fa237122c in QScriptEnginePrivate::QScriptEnginePrivate (this=0x880780) at api/qscriptengine.cpp:977
#17 0xfffffd7fa2372218 in QScriptEngine::QScriptEngine (this=0x880248) at api/qscriptengine.cpp:1964
#18 0xfffffd7f9bfbad6f in QDeclarativeScriptEngine::QDeclarativeScriptEngine (this=0x880248, priv=0x880140)
    at qml/qdeclarativeengine.cpp:385
#19 0xfffffd7f9bfc3ade in QDeclarativeEnginePrivate::QDeclarativeEnginePrivate (this=0x880140, e=0x85f350)
    at qml/qdeclarativeengine.cpp:356
#20 0xfffffd7f9bfc3dc2 in QDeclarativeEngine::QDeclarativeEngine (this=0x85f350, parent=0x0)
    at qml/qdeclarativeengine.cpp:642
#21 0xfffffd7f9beba44b in QDeclarativeViewPrivate::init (this=this@entry=0x865cc0) at util/qdeclarativeview.cpp:281
#22 0xfffffd7f9bebcb8e in QDeclarativeView::QDeclarativeView (this=0x867030, parent=0x8656e0)
    at util/qdeclarativeview.cpp:261
#23 0xfffffd7f9065a2e5 in ?? () from /usr/lib/x86_64-illumos/qtcreator/plugins/QtProject/libQmlDesigner.so
#24 0xfffffd7f9065c157 in ?? () from /usr/lib/x86_64-illumos/qtcreator/plugins/QtProject/libQmlDesigner.so
#25 0xfffffd7f905917b8 in QmlDesigner::ViewManager::ViewManager() ()
   from /usr/lib/x86_64-illumos/qtcreator/plugins/QtProject/libQmlDesigner.so
#26 0xfffffd7f9066724e in QmlDesigner::QmlDesignerPlugin::QmlDesignerPlugin() ()
   from /usr/lib/x86_64-illumos/qtcreator/plugins/QtProject/libQmlDesigner.so
#27 0xfffffd7f9066738d in qt_plugin_instance () from /usr/lib/x86_64-illumos/qtcreator/plugins/QtProject/libQmlDesigner.so
#28 0xfffffd7fa41562bb in QPluginLoader::instance (this=0xfffffd7fffdfebd0) at plugin/qpluginloader.cpp:204
#29 0xfffffd7fa5822809 in ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() ()
   from /usr/bin/../lib/x86_64-illumos/qtcreator/libExtensionSystem.so.1
#30 0xfffffd7fa58196ae in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () from /usr/bin/../lib/x86_64-illumos/qtcreator/libExtensionSystem.so.1


Files

dyson-solaris-use-system-malloc.patch (1.16 KB) dyson-solaris-use-system-malloc.patch Should use system malloc Igor Pashev, 2013-09-19 07:34 PM

Related issues 1 (0 open1 closed)

Blocked by Dyson - Bug #160: QScriptEngine fails to create function objectsClosed2013-10-27

Actions
Actions #1

Updated by Igor Pashev over 10 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Should use system malloc in Qt JS.

Now crashes when creating a project :-)

Actions #3

Updated by Igor Pashev over 10 years ago

webkit part of the patch is probably unneeded.

Actions #4

Updated by Igor Pashev over 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Fixed by #160.

Actions #5

Updated by Igor Pashev over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF