crash on finished downloads "remove"

Bug #272363 reported by rosc2112
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Fix Released
Critical
Unassigned

Bug Description

Crashes whenever I select "remove" on any files in the finished downloads list. Happens every time. Running v1.0.2 on slackware 12 pc linux.

Previous BTW was with debug=1, here's a new one:

(gdb) backtrace full
#0 0xb763cc87 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb763e4f8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb763630c in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x082824ea in TreeView::col (this=0xb1c03350, title=@0xb57ff2b8) at linux/treeview.cc:270
        __PRETTY_FUNCTION__ = "int TreeView::col(const std::string&)"
#4 0x081bd1f0 in TreeView::getValue<long long> (this=0xb1c03350, i=0xb57ff29c, column=@0xb57ff2b8, m=0x8a9b5a0)
    at linux/treeview.hh:77
        value = -5367831191245299148
        __PRETTY_FUNCTION__ = "T TreeView::getValue(GtkTreeIter*, const std::string&, GtkTreeModel*) [with T = long long int]"
#5 0x081cfb1e in FinishedTransfers::removeItem_gui (this=0xb1c03300, target=@0xb57ff310)
    at linux/finishedtransfers.cc:289
        iter = {stamp = 1641643076, user_data = 0xb1216a10, user_data2 = 0x0, user_data3 = 0x0}
        m = (GtkTreeModel *) 0x8a9b5a0
        valid = true
#6 0x081d668c in Func1<FinishedTransfers, std::string>::call (this=0x89b4010) at linux/func.hh:70
No locals.
#7 0x0828bb54 in WulforManager::processGuiQueue (this=0xb581aa70) at linux/wulformanager.cc:179
        func = (FuncBase *) 0x89b4010
#8 0x0828bc0f in WulforManager::threadFunc_gui (data=0xb581aa70) at linux/wulformanager.cc:146
        man = (WulforManager *) 0xb581aa70
#9 0xb78932eb in g_thread_create_proxy (data=0xb581a1f8) at gthread.c:635
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#10 0xb7f121b3 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0xb76e303e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)

Related branches

Revision history for this message
qwertitis (qwertitis-deactivatedaccount) wrote :

Actually, it prints the assertion error in stderr:
linuxdcpp: linux/treeview.cc:270: int TreeView::col(const std::string&): Assertion "columns.find(title) != columns.end() || hiddenColumns.find(title) != hiddenColumns.end()" failed.

Revision history for this message
qwertitis (qwertitis-deactivatedaccount) wrote :

I confirm this on latest bzr. Seems to be a typo, looking for non-existing hidden column "Size order" instead of the correct one, "Size Order".

Revision history for this message
rosc2112 (rosc2112) wrote :

Thanks for the quick fix :)

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

Thanks individ.

Changed in linuxdcpp:
importance: Undecided → Critical
status: New → Fix Committed
Changed in linuxdcpp:
assignee: nobody → individ
Changed in linuxdcpp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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