gw0kin / gnome2-globalmenu

Automatically exported from code.google.com/p/gnome2-globalmenu
GNU General Public License v2.0
0 stars 0 forks source link

Emacs segfaults when using globalmenu #563

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the globalmenu applet
2. Start Emacs (emacs -Q)
3. run the command menu-bar-mode until emacs crashes (takes 3 times on the 
4th press of alt-x it segfaults)
For people with no Emacs-experience to run the command menu-bar-mode press 
Alt+x then type "menu-bar-mode" and press enter.

What is the expected output?
A working Emacs ;-)

What do you see instead?
A crashing Emacs :-(

What version of the Global Menu are you using? On what operating system?
Linux Mint 8 (based on Ubuntu 9.10) with globalmenu 0.7.9 (installed via 
your ppa archive)

What version of Vala are you using? (if your Global Menu is built from git)

Please provide any additional information below.
I'm using the GNU Emacs 23.1.1 release as shipped from the Ubuntu repos.

HTH,

Geralt.

Original issue reported on code.google.com by usr.gen...@googlemail.com on 12 Jan 2010 at 10:30

GoogleCodeExporter commented 8 years ago
Same thing is happening with GNU/Emacs 23.1.91.1 and the git version of
gnome-globalmenu which I installed from the Arch User Repository (AUR).

Original comment by galli...@gmail.com on 25 Jan 2010 at 12:01

GoogleCodeExporter commented 8 years ago
Same story with my "emacs23 23.1+1-4ubuntu3.1" and "gnome-globalmenu
0.7.9-0ubuntu1~ppa1~karmic1" packages. The dmesg tells "[ 1731.735339] 
emacs[3880]:
segfault at 8 ip 00007f11a9db8120 sp 00007fff8cfd87b0 error 4 in
libglobalmenu-plugin.so[7f11a9da8000+16000]". Another way to reproduce the bug 
on my
laptop (HP Pavilion with AMD Turion 64 CPU) is to type "C-h C-a" to enter the 
"about"
buffer (or visit it with "Help" item from the menu), then click left mouse 
button. 

Original comment by mikhail...@gmail.com on 7 Feb 2010 at 11:21

GoogleCodeExporter commented 8 years ago
A "fix", install emacs-snapshot, then read; 
http://www.gnu.org/software/emacs/manual/html_node/emacs/Menu-Mouse-Clicks.html

in short; add (global-set-key [mouse-3] 'mouse-popup-menubar-stuff) to your 
.emacs 
file, then use the mouse to get the menu!

Original comment by isak.karlsson@gmail.com on 1 May 2010 at 11:12

GoogleCodeExporter commented 8 years ago
As a note. My "fix" above is dead. It wont work anymore.

Original comment by isak.karlsson@gmail.com on 8 Jul 2010 at 10:02

GoogleCodeExporter commented 8 years ago
What has changed?

Original comment by rainwood...@gmail.com on 9 Jul 2010 at 5:20

GoogleCodeExporter commented 8 years ago
The menu that pops up is not working, some things cant be select, used and 
finally:

(emacs-snapshot:11173): GlobalMenu:Plugin-CRITICAL **: serializer_to_string: 
assertion `menubar != NULL' failed
Fatal error (11)Segmentation fault

Original comment by isak.karlsson@gmail.com on 11 Jul 2010 at 3:49

GoogleCodeExporter commented 8 years ago
Emacs crashes if I simply click the mouse anywhere on the desktop. I use emacs 
without the menu-bar so I don't know if the menu-bar is at fault in my case. 
I'm using Ubuntu 10.04 with Emacs23 not the snapshot version

Original comment by joerya...@gmail.com on 2 Aug 2010 at 6:03

GoogleCodeExporter commented 8 years ago
Just to update my last post. I was running Gnu-Emacs 23.1 
and figured I would install emacs-snapshot on Lucid to see
if a later version would run any different and lo and behold
it no longer crashes for me when clicking on the desktop but 
I can now confirm usr.gentoo's initial bug report although I
believe I needed to alt-x a few more then four maybe five or
six times them crashed. As stated in an earlier post the initial
startup message is:

"(emacs-snapshot:11173): GlobalMenu:Plugin-CRITICAL **: serializer_to_string: 
assertion `menubar != NULL' failed"

Then the segfault shows in terminal after crash, if it was started in the
terminal obviously:

"Fatal error (11)Segmentation fault"

I'm somewhat of a noob so I'm not sure if the detail of my post
is already assumed.

Thanks
Joe Ryan  

Original comment by joerya...@gmail.com on 2 Aug 2010 at 6:50

GoogleCodeExporter commented 8 years ago
Would you like to compile a recent git version of globalmenu and see if it 
helps?

Original comment by rainwood...@gmail.com on 2 Aug 2010 at 3:14

GoogleCodeExporter commented 8 years ago
I'll give it shot.

Thanks
Joe Ryan

Original comment by joerya...@gmail.com on 2 Aug 2010 at 9:08

GoogleCodeExporter commented 8 years ago
I'll give it shot.

Thanks
Joe Ryan

Original comment by joerya...@gmail.com on 2 Aug 2010 at 9:09

GoogleCodeExporter commented 8 years ago
Any progress here? Since emacs is my one of the most often used apps this bug 
prevents me from using global menu :(

Original comment by wojni...@gmail.com on 18 Nov 2010 at 10:06

GoogleCodeExporter commented 8 years ago
Have you tried it with a clean .emacs.d?  I removed the (menu-bar-mode -1) in 
my init.el and that seeeeems to have resolved things.

Original comment by adam.ben...@gmail.com on 16 Feb 2011 at 7:57

GoogleCodeExporter commented 8 years ago
Adam, removing (menu-bar-mode -1) prevents emacs from crashing. However there 
are still some problems with the menu, esp. dynamically changing items (i.e. 
upon changing emacs modes). I can also spot some multiple entries i.e. Help in 
the menu. :(

Original comment by wojni...@gmail.com on 16 Feb 2011 at 10:04

GoogleCodeExporter commented 8 years ago
i had the same problem as above

Original comment by xcode...@gmail.com on 21 Feb 2012 at 2:57