QCAD 3.0 RC2 crashes on open - Linux

If you are having problems with QCAD version 3, post here. Please report bugs here.

Moderator: andrew

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Mon May 21, 2012 4:19 pm

Have the same behaviour within Ubuntu 12.04 and latest nvidia driver version 295.53. I also tried older nvidia drivers with no luck.
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby andrew » Mon May 21, 2012 5:22 pm

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?
User avatar
andrew
Site Admin
 
Posts: 4064
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Tue May 22, 2012 10:26 am

Same result. Thats on qcad-trial rc5.
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby andrew » Tue May 22, 2012 1:57 pm

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?
User avatar
andrew
Site Admin
 
Posts: 4064
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Wed May 30, 2012 8:58 am

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
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby andrew » Wed May 30, 2012 9:10 am

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.
User avatar
andrew
Site Admin
 
Posts: 4064
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Wed May 30, 2012 9:30 am

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
qcad-strace.txt
(12.91 KiB) Downloaded 293 times
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby andrew » Wed May 30, 2012 9:51 am

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.
User avatar
andrew
Site Admin
 
Posts: 4064
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Wed May 30, 2012 10:51 am

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.

Xorg.0.log
(21.98 KiB) Downloaded 279 times
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby andrew » Thu May 31, 2012 8:06 am

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!
User avatar
andrew
Site Admin
 
Posts: 4064
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby perello » Thu May 31, 2012 8:29 am

thanks andrew


seems smething is going on related to last kernel versions and Nvidia drivers.....lets see if I can sort it out
perello
Newbie Member
 
Posts: 6
Joined: Mon May 21, 2012 4:16 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby hydropote » Thu Sep 13, 2012 9:46 am

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>

Code: Select all
$ sudo cp *.so.4 /lib


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
hydropote
Registered Member
 
Posts: 1
Joined: Wed Sep 12, 2012 10:08 pm

Re: QCAD 3.0 RC2 crashes on open - Linux

Postby Clive » Sat Sep 15, 2012 3:20 pm

Thanks Fred
I`m sure a lot of people will appreciate this :wink:
User avatar
Clive
Moderator / Drawing Help
 
Posts: 1175
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Previous

Return to QCAD 3 Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 2 guests