Opened 5 years ago

Closed 2 years ago

#785 closed defect (not relevant)

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 (4)

comment:1 Changed 5 years ago by vrobin

  • Cc robinsp@… added
  • Version changed from 0.51 to trunk

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):

cpan> r /wx/
cpan> upgrade Wx
cpan> upgrade Wx::Perl::ProcessStream
cpan> Padre::Wx::RightClick

After these commands, trunk 0.56 version starts without crashing.

But the official cpan installed Padre 0.56 still crash with message:

/usr/local/bin/padre 

(padre:31356): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
Segmentation fault

comment:2 Changed 5 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...

comment:3 Changed 4 years ago by zenogantner

Tlousky, vrobin, do you still encounter the bug with current versions of Padre?

comment:4 Changed 2 years ago by bowtie

  • Resolution set to not relevant
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.