Page 2 of 2
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Mon May 21, 2012 4:19 pm
by perello
Have the same behaviour within Ubuntu 12.04 and latest nvidia driver version 295.53. I also tried older nvidia drivers with no luck.
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Mon May 21, 2012 5:22 pm
by andrew
perello wrote:Have the same behaviour within Ubuntu 12.04 and latest nvidia driver version 295.53. I also tried older nvidia drivers with no luck.
Did you try this workaround?
Code: Select all
LD_LIBRARY_PATH=. ./qcad-bin -style plastique
Does this affect QCAD 3 RC2 or the latest QCAD 3 RC5?
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Tue May 22, 2012 10:26 am
by perello
Same result. Thats on qcad-trial rc5.
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Tue May 22, 2012 1:57 pm
by andrew
perello wrote:Same result. Thats on qcad-trial rc5.
Please elaborate. What is the exact output you get after starting QCAD?
If you are on a 64bit Linux, did you install package 'ia32-libs' which is required to run 32bit applications?
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Wed May 30, 2012 8:58 am
by perello
It's on 32 bit linux. Qcad opens the initial window to choose units of measure, just mouse clicking on it makes the program crash.
No error messages, I can do a strace if that helps out.
As a side note I have exactly the same behaviour using varicad, so I suspect it must be something with the graphics (opengl?).
cheers
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Wed May 30, 2012 9:10 am
by andrew
Is there any command line output at all?
You may also want to try running it with the script debugger enabled (recommended for debugging ONLY):
./qcad -enable-script-debugger
An strace might be helpful to get an idea of where things go wrong, thanks.
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Wed May 30, 2012 9:30 am
by perello
the output of
qcad -enable-script-debbuger > ~/qcad_errors.txt 2>&1
whole X windows crashes when the first window is opened
then
cat qcad_errors.txt
#38-Ubuntu SMP Tue May 1 16:21:07 UTC 2012 i686
Debug: Init script plugins...
Debug: RDocument::setCurrentBlock: removing block: 22
Debug: TIMER: 45936 ms - "loading and initializing plugins"
qcad-trial-bin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
I added the strace output, as an attachment,
cheers
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Wed May 30, 2012 9:51 am
by andrew
Thanks. Does your X11 log contain any additional info?
It's probably called:
/var/log/Xorg.0.log
or similar.
Are you trying to run QCAD as user 'root' or was that just for the strace?
Running GUI applications as root might not work as root might not have access to your X server.
If I remember correctly, you can give root access by running 'xhost +' prior to running QCAD.
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Wed May 30, 2012 10:51 am
by perello
was just for the strace, I run as user, tried different users on this computer.
no specific messages related to the crash on the X log file, but I include it because provides info related to the graphical device.
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Thu May 31, 2012 8:06 am
by andrew
I'm afraid, I have no further ideas. This is certainly different from the problem described in the beginning of this thread (64 bit Linux).
This seems to be the crucial bit I would try to google for: "Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0"
Please post back if you find a solution. Thanks!
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Thu May 31, 2012 8:29 am
by perello
thanks andrew
seems smething is going on related to last kernel versions and Nvidia drivers.....lets see if I can sort it out
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Thu Sep 13, 2012 9:46 am
by hydropote
Hello,
I'm answering on this talk a lil late. But I had the same problem and just found out how to solve it.
I copied all *.so.4 files into the /lib folder of my distro:
Code: Select all
$ cd <path to your installed Qcad folder>
I now launch Qcad 3.0 with the "qcad-bin" file with no problems at all...
I'm on Ubuntu-Studio 12.04.1 (64 bits)
regards,
Fred
Re: QCAD 3.0 RC2 crashes on open - Linux
Posted: Sat Sep 15, 2012 3:20 pm
by Clive
Thanks Fred
I`m sure a lot of people will appreciate this
![Wink :wink:](./images/smilies/icon_wink.gif)