Git development is crashing on exit

Bug #1372622 reported by Vadim Peretokin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mudlet
Fix Released
High
Ahmed Charles

Bug Description

Opening up Mudlet, not connecting to any profile, and closing it is crashing as of the 675e77205fb91a977bdee1e0ca8e3f6b606c2800 commit:

0 ~QExplicitlySharedDataPointer qshareddata.h 163 0x7ffff607294f
1 QNetworkConfiguration::~QNetworkConfiguration qnetworkconfiguration.cpp 312 0x7ffff607294f
2 QNetworkAccessManagerPrivate::~QNetworkAccessManagerPrivate qnetworkaccessmanager.cpp 1477 0x7ffff603be6e
3 QNetworkAccessManagerPrivate::~QNetworkAccessManagerPrivate qnetworkaccessmanager.cpp 1488 0x7ffff603bf59
4 cleanup qscopedpointer.h 62 0x7ffff5584666
5 ~QScopedPointer qscopedpointer.h 109 0x7ffff5584666
6 QObject::~QObject qobject.cpp 786 0x7ffff5584666
7 QNetworkAccessManager::~QNetworkAccessManager qnetworkaccessmanager.cpp 479 0x7ffff60377d8
8 QNetworkAccessManager::~QNetworkAccessManager qnetworkaccessmanager.cpp 493 0x7ffff6037829
9 QObjectPrivate::deleteChildren qobject.cpp 1841 0x7ffff557dc9c
10 QObject::~QObject qobject.cpp 934 0x7ffff5584632
11 cTelnet::~cTelnet ctelnet.cpp 149 0x43d4c0
12 Host::~Host Host.cpp 179 0x5525d3
13 Host::~Host Host.cpp 185 0x55260e
14 QtSharedPointer::CustomDeleter<Host, QtSharedPointer::NormalDeleter>::execute qsharedpointer_impl.h 196 0x561233
15 QtSharedPointer::ExternalRefCountWithCustomDeleter<Host, QtSharedPointer::NormalDeleter>::deleter qsharedpointer_impl.h 214 0x560cab
16 QtSharedPointer::ExternalRefCountData::destroy qsharedpointer_impl.h 158 0x55e829
17 QSharedPointer<Host>::deref qsharedpointer_impl.h 449 0x55ebd3
18 QSharedPointer<Host>::deref qsharedpointer_impl.h 444 0x55eb98
19 QSharedPointer<Host>::~QSharedPointer qsharedpointer_impl.h 312 0x55eb56
20 QMapNode<QString, QSharedPointer<Host> >::destroySubTree qmap.h 269 0x55eafa
21 QMapData<QString, QSharedPointer<Host> >::destroy qmap.h 236 0x55ea3a
22 QMap<QString, QSharedPointer<Host> >::~QMap qmap.h 344 0x55e93b
23 HostPool::~HostPool HostPool.h 35 0x55e892
24 HostManager::~HostManager HostManager.h 38 0x55ea8c
25 QScopedPointerDeleter<HostManager>::cleanup qscopedpointer.h 62 0x55eaac
26 QScopedPointer<HostManager, QScopedPointerDeleter<HostManager> >::~QScopedPointer qscopedpointer.h 109 0x55ec29
27 __run_exit_handlers exit.c 82 0x7ffff41da149
28 __GI_exit exit.c 104 0x7ffff41da195
29 __libc_start_main libc-start.c 321 0x7ffff41bfecc
30 _start 0x432db0

Revision history for this message
Stephen Lyons (slysven) wrote : Re: [Bug 1372622] [NEW] Git development is crashing on exit

Ah, for me too. In the cTelnet destructor, just after (not as a result
OF) it using some abnormal exit handling stuff I put in a while ago to
display previously un-displayed messages before an abnormal application
close. Seems to be something about deleting a scoped pointer, so I'm
wondering about some of the recent code to use more elegant pointer
mechanisms that have been put in; and there was I thinking *I'd*
clobbered something.

8-(

On 22/09/14 20:55, Vadim Peretokin wrote:
> Public bug reported:
>
> Opening up Mudlet, not connecting to any profile, and closing it is
> crashing as of the 675e77205fb91a977bdee1e0ca8e3f6b606c2800 commit:
>
> 0 ~QExplicitlySharedDataPointer qshareddata.h 163 0x7ffff607294f
> 1 QNetworkConfiguration::~QNetworkConfiguration qnetworkconfiguration.cpp 312 0x7ffff607294f
> 2 QNetworkAccessManagerPrivate::~QNetworkAccessManagerPrivate qnetworkaccessmanager.cpp 1477 0x7ffff603be6e
> 3 QNetworkAccessManagerPrivate::~QNetworkAccessManagerPrivate qnetworkaccessmanager.cpp 1488 0x7ffff603bf59
> 4 cleanup qscopedpointer.h 62 0x7ffff5584666
> 5 ~QScopedPointer qscopedpointer.h 109 0x7ffff5584666
> 6 QObject::~QObject qobject.cpp 786 0x7ffff5584666
> 7 QNetworkAccessManager::~QNetworkAccessManager qnetworkaccessmanager.cpp 479 0x7ffff60377d8
> 8 QNetworkAccessManager::~QNetworkAccessManager qnetworkaccessmanager.cpp 493 0x7ffff6037829
> 9 QObjectPrivate::deleteChildren qobject.cpp 1841 0x7ffff557dc9c
> 10 QObject::~QObject qobject.cpp 934 0x7ffff5584632
> 11 cTelnet::~cTelnet ctelnet.cpp 149 0x43d4c0
> 12 Host::~Host Host.cpp 179 0x5525d3
> 13 Host::~Host Host.cpp 185 0x55260e
> 14 QtSharedPointer::CustomDeleter<Host, QtSharedPointer::NormalDeleter>::execute qsharedpointer_impl.h 196 0x561233
> 15 QtSharedPointer::ExternalRefCountWithCustomDeleter<Host, QtSharedPointer::NormalDeleter>::deleter qsharedpointer_impl.h 214 0x560cab
> 16 QtSharedPointer::ExternalRefCountData::destroy qsharedpointer_impl.h 158 0x55e829
> 17 QSharedPointer<Host>::deref qsharedpointer_impl.h 449 0x55ebd3
> 18 QSharedPointer<Host>::deref qsharedpointer_impl.h 444 0x55eb98
> 19 QSharedPointer<Host>::~QSharedPointer qsharedpointer_impl.h 312 0x55eb56
> 20 QMapNode<QString, QSharedPointer<Host> >::destroySubTree qmap.h 269 0x55eafa
> 21 QMapData<QString, QSharedPointer<Host> >::destroy qmap.h 236 0x55ea3a
> 22 QMap<QString, QSharedPointer<Host> >::~QMap qmap.h 344 0x55e93b
> 23 HostPool::~HostPool HostPool.h 35 0x55e892
> 24 HostManager::~HostManager HostManager.h 38 0x55ea8c
> 25 QScopedPointerDeleter<HostManager>::cleanup qscopedpointer.h 62 0x55eaac
> 26 QScopedPointer<HostManager, QScopedPointerDeleter<HostManager> >::~QScopedPointer qscopedpointer.h 109 0x55ec29
> 27 __run_exit_handlers exit.c 82 0x7ffff41da149
> 28 __GI_exit exit.c 104 0x7ffff41da195
> 29 __libc_start_main libc-start.c 321 0x7ffff41bfecc
> 30 _start 0x432db0
>
> ** Affects: mudlet
> Importance: Undecided
> Status: New
>

Revision history for this message
Ahmed Charles (ahmedcharles) wrote :

I haven't been able to repro this. :(

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 1372622] Re: Git development is crashing on exit

Try getting a Ubuntu VM.

On Sat, Sep 27, 2014 at 6:11 AM, Ahmed Charles <email address hidden>
wrote:

> I haven't been able to repro this. :(
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1372622
>
> Title:
> Git development is crashing on exit
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mudlet/+bug/1372622/+subscriptions
>

Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Download full text (10.6 KiB)

Here is a full backtrace if it helps. Latest development on commit ba7f758e5f19ea7122654c69678524c6ebde3d41.

Thread 6 (Thread 0x7fffcf7fe700 (LWP 8562)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
No locals.
#1 0x00007ffff3882cf5 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff38171c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff381774b in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff3866966 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff3865f15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff4d8c182 in start_thread (arg=0x7fffcf7fe700) at pthread_create.c:312
        __res = <optimised out>
        pd = 0x7fffcf7fe700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736674653952, -8179593346241580382, 1, 0, 140736674654656, 140736674653952, 8179559262479921826, 8179617201473794722}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
        pagesize_m1 = <optimised out>
        sp = <optimised out>
        freesize = <optimised out>
        __PRETTY_FUNCTION__ = "start_thread"
#7 0x00007ffff4298fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 5 (Thread 0x7fffcffff700 (LWP 8561)):
#0 0x00007ffff428bc6d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007ffff3840fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff38410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ffff3841129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff3865f15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff4d8c182 in start_thread (arg=0x7fffcffff700) at pthread_create.c:312
        __res = <optimised out>
        pd = 0x7fffcffff700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736683046656, -8179593346241580382, 1, 0, 140736683047360, 140736683046656, 8179558161357681314, 8179617201473794722}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
        pagesize_m1 = <optimised out>
        sp = <optimised out>
        freesize = <optimised out>
        __PRETTY_FUNCTION__ = "start_thread"
#6 0x00007ffff4298fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 4 (Thread 0x7fffddb36700 (LWP 8560)):
#0 0x00007ffff428bc6d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007ffff3840fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ffff384130a in g_ma...

Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Changed in mudlet:
status: New → Confirmed
status: Confirmed → Fix Committed
importance: Undecided → High
assignee: nobody → Ahmed Charles (ahmedcharles)
Changed in mudlet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.