Ticket #785 (new defect)
Installation problems on Ubuntu 9.10 and then a Crash after manual install
| Reported by: | Tlousky | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | crash, wx, installtion | Cc: | robinsp@… |
Description
I use Ubuntu 9.10,
Output of this line:
perl -MWx -e'printf(qq(Wx Version=($Wx::VERSION) %s unicode=(%s)\n), Wx::wxVERSION_STRING(), Wx::wxUNICODE())'
Is:
Xlib: extension "RANDR" missing on display ":0.0".
Wx Version=(0.94) wxWidgets 2.8.10 unicode=(1)
I had a previous version of Padre working nicely for a while (not sure which version though).
I tried to install the newest version (0.51) lately, but I had problems installing from CPAN. Here's the test errors I got when tryin to install:
http://pastebin.com/d3cd2b66b
The repeating line is this:
Xlib: extension "RANDR" missing on display ":0.0".
It failed most of my Wx tests in the installation.
Eventually, with help from people on the #padre irc channel I manually downloaded the source and installed it.
It worked well when running using: ./dev.pl from the source folder.
But after the "make install", now every time I try to run padre, It crashes and leaves this output:
Xlib: extension "RANDR" missing on display ":0.0".
(padre:6110): Gtk-WARNING : gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem?
Segmentation fault
I tried to install the debian package with aptitude install padre, but that didn't help - same error.
I also downloaded the perl + padre from:
http://perlide.org/download/binary/perl-5.10.1-xl-0.01.tar.gz
And padre runs manually without crashing from:
perl/bin/padre.sh
Change History
comment:2 Changed 2 years ago by vrobin
I think I've found a hint for the "menu already attached to GtkMenuItem?".
I had a working Trunk version on Ubuntu 9.10, and after enabling the Debugger module, the fatal message appeared:
(padre:5628): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem Segmentation fault
If I delete the .padre directory, Padre runs again perfectly...

I also have had this problem, for me, the solution was to upgrade Wx cpan module.
As root, launch cpan tool, and upgrade any Wx module possible (don't forget export DISPLAY for Wx tests to complete):
After these commands, trunk 0.56 version starts without crashing.
But the official cpan installed Padre 0.56 still crash with message: