You are not logged in.

#1 2008-03-30 23:16:47

mildred
Member
From: france
Registered: 2006-12-23
Posts: 40
Website

Zim desktop wiki (written in Perl) don't work anymore

Hi,

Recently I experience a problem with the Zim desktop wiki (package zim in AUR) that stopped working. In the console I can see that it segfault.

In fact it works only when the configuration is erased ... and the next time it breaks again. Very annoying. (Well, in fact if you know how zim works, when the repository list is empty, it works, when there is one item it breaks. I also noticed that the spell plugin doesn't work either. But I suppose that was because of some outdated perl-gtk2-spell module, built from AUR)
It seems a Perl issue (that's why I report it there) since a Perl script shouldn't (at least from my point of view) segfault.

The gdb backtrace is:

#0  0x080a4558 in Perl_av_clear ()
#1  0x080db9df in Perl_leave_scope ()
#2  0x080dba2c in Perl_pop_scope ()
#3  0x080e74c7 in Perl_pp_return ()
#4  0x080ae2eb in Perl_runops_standard ()
#5  0x080a8e05 in Perl_call_sv ()
#6  0x080991cc in Perl_magic_setpack ()
#7  0x0809c1b5 in Perl_mg_set ()
#8  0x080b5274 in Perl_pp_aassign ()
#9  0x080ae2eb in Perl_runops_standard ()
#10 0x080a99eb in perl_run ()
#11 0x08063dcd in main ()

My Perl package installed are as follow:

yaourt -Ss perl | grep installed
core/pcre 7.6-3 [installed]
core/perl 5.10.0-3 [installed]
extra/perl-extutils-pkgconfig 1.07-3 [installed]
extra/perl-libwww 5.808-2 [installed]
extra/gtk2-perl 1.162-1 [installed]
extra/perl-uri 1.35-3 [installed]
extra/cairo-perl 1.044-1 [installed]
extra/perl-html-tagset 3.10-3 [installed]
extra/perl-error 0.17011-1 [installed]
extra/glib-perl 1.162-1 [installed]
extra/perl-file-mimeinfo 0.14-3 [installed]
extra/perl-xml-simple 2.18-2 [installed]
extra/perl-html-parser 3.56-3 [installed]
extra/perl-file-desktopentry 0.04-2 [installed]
extra/perl-file-basedir 0.03-2 [installed]
extra/perlxml 2.36-1 [installed]
extra/perl-locale-gettext 1.05-3 [installed]
extra/perl-extutils-depends 0.205-3 [installed]
community/perl-crypt-ssleay 0.57-2 [installed]
community/perl-gtk2-trayicon 0.06-3 [installed]
aur/perl-gtk2-spell

If you have any idea, I would be glad to hear about it.

Thanks.

Mildred

Offline

#2 2008-03-31 01:25:51

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 792

Re: Zim desktop wiki (written in Perl) don't work anymore

Hi

Recently there has been a big perl uprade and perl packages are installed to somewhere different than they had been.  Have you tried re-compiling and re-installing zim?  You may need to upgrade perl any packages from AUR as well.

Offline

#3 2008-03-31 10:36:45

mildred
Member
From: france
Registered: 2006-12-23
Posts: 40
Website

Re: Zim desktop wiki (written in Perl) don't work anymore

Yes, I rebuilt my perl AUR packages ... but that didn't solved the problem. And I upgraded zim (that is in extra). I also tried to build it directly. No success.

Thanks for the hint though.

Offline

#4 2008-03-31 16:09:48

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 792

Re: Zim desktop wiki (written in Perl) don't work anymore

It's my understanding (and I can't find the link, sorry) that perl modules should now be located in
/usr/lib/perl5/core_perl
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl

So if the AUR packages are placing modules in the old location, they won't be found.  Same if Zim has hard-coded perl location.

Offline

Board footer

Powered by FluxBB