! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Segfault when checking the visibility of the root (NULL) directory
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-panel
Component:
Applications Menu

Comments

Description Matthew Turnbull 2010-03-22 03:08:36 CET
Created attachment 2901 
ensure directory isn't NULL when calling garcon_menu_directory_get_visible

Just updated to xfce4-panel-4.7.0/garcon-0.1.1 and I found that it would segfault when I tried to open the app menu.

After poking around with gdb, I found this happened when checking the visibility of the root menu.

I wrote a quick patch to make sure that garcon_menu_directory_get_visible isn't called with a NULL directory. Not sure if this is the correct solution, but it seems to work.
Comment 1 Nick Schermer editbugs 2010-03-22 17:15:31 CET
Fixed in rev 6268b05.

Bug #6336

Reported by:
Matthew Turnbull
Reported on: 2010-03-22
Last modified on: 2010-03-22

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information