Subsurface-mobile status update

Dirk Hohndel dirk at hohndel.org
Mon Aug 15 07:39:55 PDT 2016


> On Aug 15, 2016, at 7:10 AM, Marco Martin <notmart at gmail.com> wrote:
> 
> On Monday 15 August 2016, Dirk Hohndel wrote:
>> Do you have any idea, though, while this is crashing for me on iOS?
>> The crash is always in some Qt internal - and it's always that some
>> internal Qt managed pointer is set to 0x1 which then of course gives a bad
>> access when dereferencing it.
> 
> on ios i can only shoot in the dark, but yeah, if you can generate good 
> backtraces those are always a nice thing to have :)

* thread #1: tid = 0x2ef6ba, 0x009b520c Subsurface-mobile`int QAtomicOps<int>::load<int>(std::__1::atomic<int> const&) [inlined] std::__1::__atomic_base<int, false>::load(this=0x00000001, __m=memory_order_relaxed) const + 20 at atomic:845, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1)
    frame #0: 0x009b520c Subsurface-mobile`int QAtomicOps<int>::load<int>(std::__1::atomic<int> const&) [inlined] std::__1::__atomic_base<int, false>::load(this=0x00000001, __m=memory_order_relaxed) const + 20 at atomic:845
    frame #1: 0x009b51f8 Subsurface-mobile`int QAtomicOps<int>::load<int>(_q_value=0x00000001) + 16 at qatomic_cxx11.h:96
    frame #2: 0x0082e62e Subsurface-mobile`QBasicAtomicInteger<int>::load(this=0x00000001) const + 14 at qbasicatomic.h:116
    frame #3: 0x00111be8 Subsurface-mobile`QtPrivate::RefCount::ref(this=0x00000001) + 16 at qrefcount.h:49
    frame #4: 0x00aa8d7e Subsurface-mobile`QList<QString>::QList(this=0x032fd62c, l=0x01841ab8) + 30 at qlist.h:799
    frame #5: 0x009e5aba Subsurface-mobile`QStringList::QStringList(this=0x032fd62c, (null)=0x01841ab8) + 26 at qstringlist.h:93
    frame #6: 0x009e5a94 Subsurface-mobile`QStringList::QStringList(this=0x032fd62c, (null)=0x01841ab8) + 20 at qstringlist.h:93
    frame #7: 0x009e5a5c Subsurface-mobile`QForeachContainer<QStringList>::QForeachContainer(this=0x032fd62c, t=0x01841ab8) + 20 at qglobal.h:923
    frame #8: 0x009a2dc4 Subsurface-mobile`QForeachContainer<QStringList>::QForeachContainer(this=0x032fd62c, t=0x01841ab8) + 20 at qglobal.h:923
  * frame #9: 0x001354fa Subsurface-mobile`KirigamiPlugin::componentPath(this=0x01841aac, fileName=0x032fd9f8) const + 210 at kirigamiplugin.cpp:37
    frame #10: 0x001359ec Subsurface-mobile`KirigamiPlugin::registerTypes(this=0x01841aac, uri="org.kde.kirigami") + 580 at kirigamiplugin.cpp:73
    frame #11: 0x000682ea Subsurface-mobile`KirigamiPlugin::registerTypes() + 22 at kirigamiplugin.h:52
    frame #12: 0x00066f04 Subsurface-mobile`run_ui() + 168 at subsurface-mobile-helper.cpp:40

Line numbers in kirigamiplugin.cpp are slightly off since I have a few lines of debug output in there; frame #9 is
	 foreach (const QString &style, m_stylesFallbackChain) {
frame #10 is
	qmlRegisterSingletonType(componentPath(QStringLiteral("Theme.qml")), uri, 1, 0, "Theme");

/D


More information about the subsurface mailing list