You are not logged in.

#1 2009-04-14 03:27:50

donpicoro
Member
Registered: 2009-04-10
Posts: 42

yet another xfig 3.2.5-1 problem[Solved].

I have a fresh archlinux installation (a week ago). Everything went fine so far... but I have a problem with xfig.
When I try to open a .fig file that I had in my previous bluewhite64 installation (a slackware 64-bits port) I get the following error:

xfig3.2.5: X error trapped - error message follows:
BadAlloc (insufficient resources for operation)
Request code: X_CreatePixmap
xfig: figure empty or not modified - exiting
Aborted

I looked all over the archlinux site (Wiki and forums) and found some old-post about the problems with some fonts with xfig3.2.5 and that the best solution was to downgrade the package to version 3.2.4-10 (http://www.archlinux.org/pipermail/arch … 07441.html). In that site even the patch to apply to the pkgbuild can be extraxted. Now the problem is to get the corresponding PKGBUILD to patch. Any ideas?

Another workaround is to use the awesome site http://arm.nrk.cc/ and install the oldest possible version 3.2.4-11 (one more than the needed one). I thought that would work like a charm. But the following error appear when trying to run xfig 3.2.4-11

xfig: error while loading shared libraries: libXaw3d.so.8: cannot open shared object file: No such file or directory

I checked the version and this is what I get:

ldd `which xfig`
...
libXaw3d.so.7 => /usr/lib/libXaw3d.so.7 (0x00007fdfb206a000)
...

I do not know what to do with this error. Any suggestions? Thanks in advance
[Edit:typo]

Last edited by donpicoro (2009-04-15 15:29:12)

Offline

#2 2009-04-14 06:44:43

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: yet another xfig 3.2.5-1 problem[Solved].

You can get the old PKGBUILD and build files from the old cvs repo:
http://repos.archlinux.org/viewvc.cgi/e … root=extra
and build it yourself. Using old packages won't work.

I don't know if it will fix your problem but post back with the result.

Offline

#3 2009-04-14 20:12:45

donpicoro
Member
Registered: 2009-04-10
Posts: 42

Re: yet another xfig 3.2.5-1 problem[Solved].

Thanks snowman for your reply. Here is what I did according to your instructions

Ok, I downloaded the files from the repo, build the package with "makepkg -s" removed the old xfig using "pacman -R xfig". Installed the new one with "pacman -U xfig-3.2.4-11-x86_64.pkg.tar.gz" and this is the error I got trying to open the same file for the original error:

 Warning: Actions not found: StartScroll
Warning: Actions not found: StartScroll
Warning: Actions not found: StartScroll
xfig3.2.4: X error trapped - error message follows:
BadAlloc (insufficient resources for operation)
Request code: X_CreatePixmap
xfig: figure empty or not modified - exiting
Aborted

Offline

#4 2009-04-15 02:02:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: yet another xfig 3.2.5-1 problem[Solved].

Open a bug report and add the .fig file that gives you this error as an attachment.

BTW, removing the old package wasn't neccessary. That would have been done automatically when you ran 'pacman -U'

Offline

#5 2009-04-15 15:28:43

donpicoro
Member
Registered: 2009-04-10
Posts: 42

Re: yet another xfig 3.2.5-1 problem[Solved].

Well. I guess machines have their days too.

Today when I was trying to reproduce the error in order to report correctly the bug, I reopened the file in question and I appeared to work like a charm. I tried to open the file menu and then the application ended suddenly and the console reported the following error.

Warning: Actions not found: StartScroll

xfig3.2.4: SIGSEGV signal trapped
xfig: figure empty or not modified - exiting

Since the figure now seemed to work I decide to give it a try again to the current xfig version just to see what happens... and guess what? I worked. Bot not like a charm.
I began to work on my project like usual with the file opened, I was able to export the file and everything looked fine. I rearrange the windows (I use awesome for mi WM) and the application ended with the following error.

xfig3.2.5: X error trapped - error message follows:
BadAlloc (insufficient resources for operation)
Request code: X_CreatePixmap
xfig: figure empty or not modified - exiting
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  70 (X_PolyFillRectangle)
  Resource id in failed request:  0x1801ea8
  Serial number of failed request:  36968
  Current serial number in output stream:  38962

I guess there is no reason now to post a bug since it is not reproducible now (even the last one about the WM).
Thanks a lot for your help!!!

smile

Offline

Board footer

Powered by FluxBB