Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Segmentation fault due to missing menu #59

Closed
justinallenreeves opened this issue Jul 16, 2012 · 7 comments
Closed

Segmentation fault due to missing menu #59

justinallenreeves opened this issue Jul 16, 2012 · 7 comments

Comments

@justinallenreeves
Copy link

As I don't run and lack most of Gnome 3 on my system, my usage is probably off label. However I got it working easily and then not working after some effort.

$ gnome-pie
[MESSAGE] Welcome to Gnome-Pie 0.5.3!
[MESSAGE] Loading Pies from "/home/mute/.config/gnome-pie/pies.conf".
[WARNING] Failed to look up menu_file for "applications.menu"
[MESSAGE] Started happily...
Segmentation fault

I probably don't have whatever menu it's looking for if it's Gnome generated, but I'm not even certain if that's at fault or perhaps a library that got changed on Debian Wheezy in the last week.

@Schneegans
Copy link
Owner

So maybe the Main-Menu-Slice-Group is segfaulting if there is no gnome main menu installed... You can try to disable that group by commenting 4 lines (64, 65, 66 and 85) in the source file src/actionGroups/groupRegistry.vala and recompiling the code.

Or you check the configurations file "/home/mute/.config/gnome-pie/pies.conf" and remove any Pie from it which contains the Main-Menu-Slice-Group.

Did that do the trick?

@justinallenreeves
Copy link
Author

Thanks for the feedback. Tried the second, and unfortunately, it leads to similar results, minus the warning.

In otherwords, it still segfaults.

@balazs4
Copy link

balazs4 commented Aug 22, 2012

Hi,

I had the same issue today. I could not start gnome-pie (v0.5.3).

......
[MESSAGE] Started happily...
Segmentation fault

I'm using Arch Linux, so I thought some dependencies are wrong because of updates. I've downgraded all of depdencenies but it did not work.

I tried to reinstall the gnome-pie, but it did not help.

Then I removed the "gnome-pie.log" and "gnome-pie.stats" files from the config folder and it works again.

@ghedo
Copy link
Contributor

ghedo commented Sep 9, 2012

Something similar happened to a user of the Debian package v0.5.3 (see Debian bug #687078), not sure if it's the same problem though. The complete output is:

$ gnome-pie
[MESSAGE] Welcome to Gnome-Pie 0.5.3!
[MESSAGE] Loading Pies from "/home/psh/.config/gnome-pie/pies.conf".
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Zadané umístÄní není pÅipojeno
[WARNING] Icon "alacarte" not found! Using default icon...
[WARNING] Icon "stock_unknown" not found! Will be ugly...
[MESSAGE] Error loading image file: Failed to open file '': No such file or directory
[WARNING] Icon "gnome-session-halt" not found! Using default icon...
[WARNING] Icon "stock_unknown" not found! Will be ugly...
[MESSAGE] Error loading image file: Failed to open file '': No such file or directory
[MESSAGE] Started happily...
Segmentation fault

And starting with the -o option seems to solve this. Also, I cannot reproduce it.

@SynergyNinjas
Copy link

I had the same issue as @ghedo mentioned in Debian Testing. I followed the instructions that @balazs4 mentioned "...I removed the "gnome-pie.log" and "gnome-pie.stats" files from the config folder and it works again."

It still spits out the following errors -->
[WARNING] Icon "gnome-session-halt" not found! Using default icon...
[WARNING] Icon "stock_unknown" not found! Will be ugly...
[MESSAGE] Error loading image file: Failed to open file '': No such file or directory
Started happily...

@Schneegans
Copy link
Owner

Both problems discussed here have been fixed lately (issue #65 and issue #66). Therefore I'm closing this one!

@Elbullazul
Copy link

I have version 0.6.8 and still get this issue

Lubuntu 16.04

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants