Ticket #3223 (closed defect: fixed)
GLib-CRITICAL **: g_queue_is_empty: assertion `queue != NULL' failed
Reported by: | angel_il | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.13 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
message "GLib-CRITICAL : g_queue_is_empty: assertion `queue != NULL' failed"
after mouse click in empty 'listbox'.
steps to reproduce:
1) menu Command\Directory hotlist (C-\)
2) listbox must be is empty
3) Rigt click in any place
trace
#0 listbox_event (event=0xbfffec60, data=0x8210058) at listbox.c:481 #1 0x08065e97 in dlg_mouse_event (event=0xbfffec60, h=0x820fec0) at dialog.c:398 #2 dlg_process_event (h=0x820fec0, key=-2, event=0xbfffec60) at dialog.c:1233 #3 0x080662cc in frontend_dlg_run (h=0x820fec0) at dialog.c:569 #4 dlg_run (h=0x820fec0) at dialog.c:1266 #5 0x0807a502 in hotlist_show (list_type=LIST_HOTLIST) at hotlist.c:1612 #6 0x0806079a in hotlist_cmd () at cmd.c:1214 #7 0x0808b87b in midnight_execute_cmd (sender=0x81f8328, command=58) at midnight.c:1294 #8 0x080bf2b2 in send_message (data=0x0, parm=<optimized out>, msg=MSG_ACTION, sender=0x81f8328, w=<optimized out>) at ../../lib/widget/widget-common.h:167 #9 menubar_execute (menubar=0x81f8328) at menu.c:341 #10 0x080bfe6b in menubar_event (data=0x81f8328, event=0xbfffee80) at menu.c:753 #11 menubar_event (event=0xbfffee80, data=0x81f8328) at menu.c:628 #12 0x08065e97 in dlg_mouse_event (event=0xbfffee80, h=0x81f7888) at dialog.c:398 #13 dlg_process_event (h=0x81f7888, key=-2, event=0xbfffee80) at dialog.c:1233 #14 0x080662cc in frontend_dlg_run (h=0x81f7888) at dialog.c:569 #15 dlg_run (h=0x81f7888) at dialog.c:1266 #16 0x0808d601 in create_panels_and_run_mc () at midnight.c:960 #17 do_nc () at midnight.c:1772 #18 0x0805384c in main (argc=1, argv=0xbffff0a4) at main.c:420 (gdb) print l $1 = (WListbox *) 0x8210058 (gdb) print l->list $2 = (GQueue *) '''0x0'''
need check that l->list != NULL
in listbox.c line 481
481 if (g_queue_is_empty (l->list))
Change History
comment:1 follow-up: ↓ 2 Changed 10 years ago by angel_il
- Branch state changed from no branch to on review
comment:3 Changed 10 years ago by andrew_b
- Blocked By 3189 added
- Branch state changed from on review to no branch
Note: See
TracTickets for help on using
tickets.
branch: 3223_g_queue_fix
please review