Project

General

Profile

Bug #1477

QuasselClient crashes sometimes when disconnecting from a network

Added by wink about 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Quassel Client
Target version:
Start date:
02/16/2018
Due date:
% Done:

0%

Estimated time:
Version:
0.12.4
OS:
Any

Description

How to reproduce:

Create new network, connect, disconnect for a few times.
Either it helps or it is needed that you not only have the "All Chats" Chat List, but in my case I show 2, named "Channels" and "Queries" showing only those. Maybe "Hide inactive networks" also plays a part

Attached is a gdb backtrace when Quassel was built on Debian from master (Qt version doesn't seem to matter). The problem is also there in 0.12.4 on Windows. My core is 0.12.2.

History

#1 Updated by genius3000 almost 6 years ago

Quick note: I found that disconnecting the "last" network in a list to almost always cause this crash. digitalcircuit narrowed it down to the function/line where it happens, just a matter of getting it fixed yet.

#2 Updated by genius3000 over 5 years ago

  • Target version set to 0.13.0

Relevant chat from debugging:
[2018-06-20 06:11:55] <digitalcircuit> It crashes in void TreeModel::itemDataChanged(int column) { [...] emit dataChanged(leftIndex, rightIndex); }
[2018-06-20 06:12:00] <digitalcircuit> The very end where it emits the signal.
[2018-06-20 06:12:27] <digitalcircuit> I've browsed the debugging stack trace through files, tried checking validity, not sure what's going on...

I continued from digitalcircuit's findings a bit but never got far. Seems like the code finding the new index(es) doesn't handle when it's the last connected network, but I don't know the Qt window/widget stuff to understand it.

Also available in: Atom PDF