Qcad 3.0 Program fails to start

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

Moderator: andrew

Qcad 3.0 Program fails to start

Postby User One-One-Five » Mon Jan 23, 2012 8:55 pm

System: Linux Kubuntu 10.04 64bit

Start with Konsole:
Message:
Zeile 39: 3033 Speicherzugriffsfehler LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
User One-One-Five
Registered Member
 
Posts: 1
Joined: Mon Jan 23, 2012 8:15 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Fri Apr 06, 2012 4:41 pm

You might have to start QCAD with the command line switch -style plastique:

Code: Select all
./qcad -style plastique


The QCAD launch script should detect situations which require a different GUI style but it might not catch every such case.
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby Gans » Wed Aug 01, 2012 5:34 pm

Hello! I have a similar problem on Slackware x86-64.
After type ./qcad-trial I see:
./qcad-trial: line 36: ./qcad-trial-bin: No such file or directory
But the file there is. What can be a problem?
Gans
Registered Member
 
Posts: 1
Joined: Wed Aug 01, 2012 5:29 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Wed Aug 01, 2012 8:02 pm

Gans: To run QCAD on a 64bit Linux system, you will have to install some 32bit compatibility libraries.
Most Linux distributions have one single package called "ia32-libs" which can be installed to achieve that, but Slackware does not have that.

Here are some instructions for running 32bit applications on Slackware 64bit. It's not for the fainthearted but then again neither is Slackware ;)
http://slackware.com/~alien/multilib/
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby rha » Fri Aug 10, 2012 7:53 pm

Hi,

I have similar problem,

Ubuntu 11.04

# uname -a
Linux rha-HP-Compaq-8510p 2.6.38-15-generic #64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012 i686 i686 i386 GNU/Linux

usually I have to start QCad several times, :

Code: Select all
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  57 ms -  "loading plugins"
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18034 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  57 ms -  "loading plugins"
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18040 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  57 ms -  "loading plugins"
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18049 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  57 ms -  "loading plugins"
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18055 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18063 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  58 ms -  "loading plugins"
./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18072 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$ ./opt/qcad-3.0.0-trial-linux/qcad-trial
#64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012
i686
Debug:    TIMER:  56 ms -  "loading plugins"
Debug:    TIMER:  687 ms -  "initializing plugins"


=> qcad running

And sometimes when I close QCad i get:

Code: Select all
Debug:    autostart.js: main(): end.
*** glibc detected *** ./opt/qcad-3.0.0-trial-linux/qcad-trial-bin: corrupted double-linked list: 0x0aaddcf0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6cbe1)[0x223bbe1]
/lib/i386-linux-gnu/libc.so.6(+0x6d034)[0x223c034]
/lib/i386-linux-gnu/libc.so.6(+0x6e49a)[0x223d49a]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x224069d]
./opt/qcad-3.0.0-trial-linux/libQtCore.so.4(_Z5qFreePv+0x1d)[0x56cbcad]
./opt/qcad-3.0.0-trial-linux/libQtCore.so.4(_ZN7QString4freeEPNS_4DataE+0x1d)[0x571bb9d]
./opt/qcad-3.0.0-trial-linux/libQtGui.so.4(+0x251fdd)[0x2625fdd]
./opt/qcad-3.0.0-trial-linux/libQtCore.so.4(_ZN9QHashData11free_helperEPFvPNS_4NodeEE+0x4d)[0x56f172d]
./opt/qcad-3.0.0-trial-linux/libQtGui.so.4(+0x2511e5)[0x26251e5]
./opt/qcad-3.0.0-trial-linux/libQtGui.so.4(+0x251cda)[0x2625cda]
/lib/i386-linux-gnu/libc.so.6(+0x2fa6f)[0x21fea6f]
/lib/i386-linux-gnu/libc.so.6(+0x2facf)[0x21feacf]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xef)[0x21e5e3f]
./opt/qcad-3.0.0-trial-linux/qcad-trial-bin[0x8143461]
======= Memory map: ========
00110000-0051b000 r-xp 00000000 08:03 1732359    /home/rha/opt/qcad-3.0.0-trial-linux/libQtXmlPatterns.so.4
0051b000-0053b000 rw-p 0040b000 08:03 1732359    /home/rha/opt/qcad-3.0.0-trial-linux/libQtXmlPatterns.so.4
0053b000-0053c000 rw-p 00000000 00:00 0
0053c000-0057a000 r-xp 00000000 08:03 1730535    /home/rha/opt/qcad-3.0.0-trial-linux/libQtSql.so.4
0057a000-0057b000 rw-p 0003e000 08:03 1730535    /home/rha/opt/qcad-3.0.0-trial-linux/libQtSql.so.4
0057c000-005d3000 r-xp 00000000 08:03 1731432    /home/rha/opt/qcad-3.0.0-trial-linux/libQtSvg.so.4
005d3000-005d5000 rw-p 00056000 08:03 1731432    /home/rha/opt/qcad-3.0.0-trial-linux/libQtSvg.so.4
005d5000-006bf000 r-xp 00000000 08:03 1730532    /home/rha/opt/qcad-3.0.0-trial-linux/libQtOpenGL.so.4
006bf000-006c6000 rw-p 000e9000 08:03 1730532    /home/rha/opt/qcad-3.0.0-trial-linux/libQtOpenGL.so.4
006c6000-006db000 r-xp 00000000 08:01 1060888    /lib/i386-linux-gnu/libpthread-2.13.so
006db000-006dc000 r--p 00015000 08:01 1060888    /lib/i386-linux-gnu/libpthread-2.13.so
006dc000-006dd000 rw-p 00016000 08:01 1060888    /lib/i386-linux-gnu/libpthread-2.13.so
006dd000-006df000 rw-p 00000000 00:00 0
006df000-006e1000 r-xp 00000000 08:01 1048729    /lib/i386-linux-gnu/libdl-2.13.so
006e1000-006e2000 r--p 00001000 08:01 1048729    /lib/i386-linux-gnu/libdl-2.13.so
006e2000-006e3000 rw-p 00002000 08:01 1048729    /lib/i386-linux-gnu/libdl-2.13.so
006e6000-00702000 r-xp 00000000 08:01 1048580    /lib/i386-linux-gnu/ld-2.13.so
00702000-00703000 r--p 0001b000 08:01 1048580    /lib/i386-linux-gnu/ld-2.13.so
00703000-00704000 rw-p 0001c000 08:01 1048580    /lib/i386-linux-gnu/ld-2.13.so
00704000-0076f000 r-xp 00000000 08:01 135958     /usr/lib/libGLU.so.1.3.071000
0076f000-00770000 r--p 0006a000 08:01 135958     /usr/lib/libGLU.so.1.3.071000
00770000-00771000 rw-p 0006b000 08:01 135958     /usr/lib/libGLU.so.1.3.071000
00771000-0083a000 r-xp 00000000 08:01 143217     /usr/lib/fglrx/libGL.so.1.2
0083a000-00845000 rwxp 000c8000 08:01 143217     /usr/lib/fglrx/libGL.so.1.2
00845000-0085b000 rwxp 00000000 00:00 0
0085b000-0087f000 r-xp 00000000 08:01 1048730    /lib/i386-linux-gnu/libm-2.13.so
0087f000-00880000 r--p 00023000 08:01 1048730    /lib/i386-linux-gnu/libm-2.13.so
00880000-00881000 rw-p 00024000 08:01 1048730    /lib/i386-linux-gnu/libm-2.13.so
00881000-00889000 r-xp 00000000 08:01 137467     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
00889000-0088a000 r--p 00007000 08:01 137467     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
0088a000-0088b000 rw-p 00008000 08:01 137467     /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
0088b000-008b8000 r-xp 00000000 08:01 137501     /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
008b8000-008b9000 r--p 0002c000 08:01 137501     /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
008b9000-008ba000 rw-p 0002d000 08:01 137501     /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
008ba000-008c7000 r-xp 00000000 08:01 137455     /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008c7000-008c8000 r--p 0000c000 08:01 137455     /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008c8000-008c9000 rw-p 0000d000 08:01 137455     /usr/lib/i386-linux-gnu/libXext.so.6.4.0
008c9000-008cc000 r-xp 00000000 08:01 137526     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
008cc000-008cd000 r--p 00003000 08:01 137526     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
008cd000-008ce000 rw-p 00004000 08:01 137526     /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.2800.6
008ce000-008d1000 r-xp 00000000 08:01 1049490    /lib/i386-linux-gnu/libuuid.so.1.3.0
008d1000-008d2000 r--p 00002000 08:01 1049490    /lib/i386-linux-gnu/libuuid.so.1.3.0
008d2000-008d3000 rw-p 00003000 08:01 1049490    /lib/i386-linux-gnu/libuuid.so.1.3.0
008d3000-0098d000 r-xp 00000000 08:03 1730534    /home/rha/opt/qcad-3.0.0-trial-linux/libQtScriptTools.so.4
0098d000-00992000 rw-p 000ba000 08:03 1730534    /home/rha/opt/qcad-3.0.0-trial-linux/libQtScriptTools.so.4
00992000-00a13000 r-xp 00000000 08:03 1730529    /home/rha/opt/qcad-3.0.0-trial-linux/libQtHelp.so.4
00a13000-00a16000 rw-p 00081000 08:03 1730529    /home/rha/opt/qcad-3.0.0-trial-linux/libQtHelp.so.4
00a16000-00a30000 r-xp 00000000 08:01 1049437    /lib/i386-linux-gnu/libgcc_s.so.1
00a30000-00a31000 r--p 00019000 08:01 1049437    /lib/i386-linux-gnu/libgcc_s.so.1
00a31000-00a32000 rw-p 0001a000 08:01 1049437    /lib/i386-linux-gnu/libgcc_s.so.1
00a32000-00a39000 r-xp 00000000 08:01 1060890    /lib/i386-linux-gnu/librt-2.13.so
00a39000-00a3a000 r--p 00006000 08:01 1060890    /lib/i386-linux-gnu/librt-2.13.so
00a3a000-00a3b000 rw-p 00007000 08:01 1060890    /lib/i386-linux-gnu/librt-2.13.so
00a3b000-00a41000 r-xp 00000000 08:01 137439     /usr/lib/i386-linux-gnu/libSM.so.6.0.1
00a41000-00a42000 r--p 00005000 08:01 137439     /usr/lib/i386-linux-gnu/libSM.so.6.0.1
00a42000-00a43000 rw-p 00006000 08:01 137439     /usr/lib/i386-linux-gnu/libSM.so.6.0.1
00a43000-00a57000 r-xp 00000000 08:01 137437     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00a57000-00a58000 r--p 00013000 08:01 137437     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00a58000-00a59000 rw-p 00014000 08:01 137437     /usr/lib/i386-linux-gnu/libICE.so.6.3.0
00a59000-00a5b000 rw-p 00000000 00:00 0
00a5c000-00a9f000 r-xp 00000000 08:03 1732357    /home/rha/opt/qcad-3.0.0-trial-linux/libQtXml.so.4
00a9f000-00aa1000 rw-p 00042000 08:03 1732357    /home/rha/opt/qcad-3.0.0-trial-linux/libQtXml.so.4./opt/qcad-3.0.0-trial-linux/qcad-trial: line 36: 18080 Aborted                 LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~$
rha
Newbie Member
 
Posts: 5
Joined: Fri Aug 10, 2012 7:37 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Fri Aug 10, 2012 7:57 pm

rha: Please try the alternative package for Linux instead:
http://www.ribbonsoft.com/en/qcad-downloads-trial
-> Linux
-> Ubuntu 10.04; Debian 6; Fedora 14; XUbuntu 10.04; many others.
-> Linux Systems (Alternative)
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby rha » Sat Aug 11, 2012 11:59 am

FIrst start were ok, but QCad Crashed when i opened dxf file and tried to access Block menu. And second start after crash failed also..


Code: Select all
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$ ./qcad-trial
#65-Ubuntu SMP Thu Jul 26 20:16:13 UTC 2012
i686
Debug:    TIMER:  57 ms -  "loading plugins"
Debug:    TIMER:  699 ms -  "initializing plugins"
Debug:    RDwgImporter::importFile: force version to 2010
Warning:  RAction::terminate: view is not a QObject
Warning:  RAction::terminate: view is not a QObject
./qcad-trial: line 36: 12803 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$ ./qcad-trial
#65-Ubuntu SMP Thu Jul 26 20:16:13 UTC 2012
i686
Debug:    TIMER:  58 ms -  "loading plugins"
./qcad-trial: line 36: 12906 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$




And when i quit manually qcad, i get this same error:

Code: Select all
#65-Ubuntu SMP Thu Jul 26 20:16:13 UTC 2012
i686
Debug:    TIMER:  56 ms -  "loading plugins"
Debug:    TIMER:  694 ms -  "initializing plugins"
Warning:  QMainWindow::saveState(): 'objectName' not set for QDockWidget 0xb81cd10 'Trial;
Debug:    autostart.js: main(): end.
*** glibc detected *** ./qcad-trial-bin: corrupted double-linked list: 0x0b5ba610 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6cbe1)[0x6507be1]

...<cut>...

rha
Newbie Member
 
Posts: 5
Joined: Fri Aug 10, 2012 7:37 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Sat Aug 11, 2012 1:36 pm

Both packages (linux and linux-alt) work very stable here on a fresh Ubuntu 11.04 64bit, so there must be a difference in your configuration or installed packages.

Could you run this command (all on one line):
Code: Select all
LD_LIBRARY_PATH=. ldd qcad-trial-bin


And then post the output here?
This will tell me what libraries the QCAD binary is using on your system.

Here's the output on a fresh installation with the package ia32-libs installed additionally:
Code: Select all
   linux-gate.so.1 =>  (0xf77bd000)
   libQtWebKit.so.4 => ./libQtWebKit.so.4 (0xf6490000)
   libQtScriptTools.so.4 => ./libQtScriptTools.so.4 (0xf63da000)
   libQtScript.so.4 => ./libQtScript.so.4 (0xf6137000)
   libQtSvg.so.4 => ./libQtSvg.so.4 (0xf60e1000)
   libQtXmlPatterns.so.4 => ./libQtXmlPatterns.so.4 (0xf5cd4000)
   libQtOpenGL.so.4 => ./libQtOpenGL.so.4 (0xf5be1000)
   libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf5b57000)
   libGL.so.1 => /usr/lib32/mesa/libGL.so.1 (0xf5b01000)
   libQtDesigner.so.4 => ./libQtDesigner.so.4 (0xf5526000)
   libQtHelp.so.4 => ./libQtHelp.so.4 (0xf54a4000)
   libQtSql.so.4 => ./libQtSql.so.4 (0xf5463000)
   libQtXml.so.4 => ./libQtXml.so.4 (0xf541f000)
   libQtGui.so.4 => ./libQtGui.so.4 (0xf4959000)
   libQtNetwork.so.4 => ./libQtNetwork.so.4 (0xf4827000)
   libQtCore.so.4 => ./libQtCore.so.4 (0xf457a000)
   libpthread.so.0 => /lib32/libpthread.so.0 (0xf4560000)
   libm.so.6 => /lib32/libm.so.6 (0xf453a000)
   libc.so.6 => /lib32/libc.so.6 (0xf43dd000)
   /lib/ld-linux.so.2 (0xf77be000)
   libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf43d3000)
   libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf43a4000)
   libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf431d000)
   libXext.so.6 => /usr/lib32/libXext.so.6 (0xf430e000)
   libX11.so.6 => /usr/lib32/libX11.so.6 (0xf41f3000)
   libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf4108000)
   libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf40ec000)
   libdl.so.2 => /lib32/libdl.so.2 (0xf40e7000)
   libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf40e3000)
   libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf40dd000)
   libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf40d7000)
   libdrm.so.2 => /lib32/libdrm.so.2 (0xf40cd000)
   libQtCLucene.so.4 => ./libQtCLucene.so.4 (0xf3ff4000)
   libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf3fef000)
   librt.so.1 => /lib32/librt.so.1 (0xf3fe6000)
   libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf3f0f000)
   libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf3ec8000)
   libSM.so.6 => /usr/lib32/libSM.so.6 (0xf3ebf000)
   libICE.so.6 => /usr/lib32/libICE.so.6 (0xf3ea7000)
   libz.so.1 => /usr/lib32/libz.so.1 (0xf3e92000)
   libexpat.so.1 => /lib32/libexpat.so.1 (0xf3e68000)
   libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf3e4f000)
   libpcre.so.3 => /lib32/libpcre.so.3 (0xf3e0f000)
   libuuid.so.1 => /lib32/libuuid.so.1 (0xf3e0a000)
   libXau.so.6 => /usr/lib32/libXau.so.6 (0xf3e06000)
   libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf3e00000)


Thanks.
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby rha » Sat Aug 11, 2012 1:51 pm

Here we go:

Code: Select all
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$ LD_LIBRARY_PATH=. ldd qcad-trial-bin
   linux-gate.so.1 =>  (0x00d7b000)
   libQtWebKit.so.4 => ./libQtWebKit.so.4 (0x00d7c000)
   libQtScriptTools.so.4 => ./libQtScriptTools.so.4 (0x00110000)
   libQtScript.so.4 => ./libQtScript.so.4 (0x00983000)
   libQtSvg.so.4 => ./libQtSvg.so.4 (0x001cf000)
   libQtXmlPatterns.so.4 => ./libQtXmlPatterns.so.4 (0x00320000)
   libQtOpenGL.so.4 => ./libQtOpenGL.so.4 (0x00228000)
   libGLU.so.1 => /usr/lib/libGLU.so.1 (0x0074c000)
   libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0x007b9000)
   libQtDesigner.so.4 => ./libQtDesigner.so.4 (0x1f7d9000)
   libQtHelp.so.4 => ./libQtHelp.so.4 (0x008a3000)
   libQtSql.so.4 => ./libQtSql.so.4 (0x00927000)
   libQtXml.so.4 => ./libQtXml.so.4 (0x00c33000)
   libQtGui.so.4 => ./libQtGui.so.4 (0x12e92000)
   libQtNetwork.so.4 => ./libQtNetwork.so.4 (0x1b386000)
   libQtCore.so.4 => ./libQtCore.so.4 (0x1d7f3000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x00cd8000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x1d580000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00c78000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x121fc000)
   libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0x00966000)
   libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0x00c9e000)
   libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00cf1000)
   libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x00970000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x01fbd000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x020d8000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00319000)
   libQtCLucene.so.4 => ./libQtCLucene.so.4 (0x0a5da000)
   libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0x00ccd000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x163fc000)
   libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0x0460b000)
   libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x04c35000)
   libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x05623000)
   /lib/ld-linux.so.2 (0x00c15000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x020f4000)
   libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0x02109000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x16656000)
   libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0x0e31c000)
   libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x00cd2000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x0097f000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x1b532000)


Here is also enviromental:

Code: Select all
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$ env
SSH_AGENT_PID=1935
SAL_USE_VCLPLUGIN=gtk
TERM=xterm
SHELL=/bin/bash
XDG_MENU_PREFIX=lxde-
XDG_SESSION_COOKIE=7bb5ba5fa92aeadc054566950000000c-1344667275.52067-494996718
OLDPWD=/home/rha/Downloads
GNOME_KEYRING_CONTROL=/tmp/keyring-lnXHzh
GTK_MODULES=canberra-gtk-module
USER=rha
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
SSH_AUTH_SOCK=/tmp/ssh-Grkyaefa1900/agent.1900
USERNAME=rha
DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg
PATH=/home/rha/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
DESKTOP_SESSION=LXDE
PWD=/home/rha/Downloads/qcad-3.0.0-trial-linux-alt-x86
GDM_KEYBOARD_LAYOUT=fi
GNOME_KEYRING_PID=1881
LANG=en_US.UTF-8
GDM_LANG=en_US.utf8
MANDATORY_PATH=/usr/share/gconf/LXDE.mandatory.path
UBUNTU_MENUPROXY=libappmenu.so
GDMSESSION=LXDE
_LXSESSION_PID=1900
SHLVL=1
HOME=/home/rha
XDG_CONFIG_HOME=/home/rha/.config
LANGUAGE=en_US:en
LOGNAME=rha
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5HYAVfjYBG,guid=aef6625ef20b3577056e11d90000003a
LESSOPEN=| /usr/bin/lesspipe %s
WINDOWPATH=7
DISPLAY=:0
XDG_CURRENT_DESKTOP=LXDE
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/var/run/gdm/auth-for-rha-rKqpcF/database
_=/usr/bin/env
rha
Newbie Member
 
Posts: 5
Joined: Fri Aug 10, 2012 7:37 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Sat Aug 11, 2012 2:59 pm

This looks rather different than on my installation. Did you install the 32bit libraries through package "ia32-libs" or by other means?

Somewhat suspicious are these dependencies:
libGLU.so.1 => /usr/lib/libGLU.so.1
libGL.so.1 => /usr/lib/fglrx/libGL.so.1

This seems to use 64bit libraries as far as I can tell if your Linux is a 64bit Ubuntu. Should be something like:

libGLU.so.1 => /usr/lib32/libGLU.so.1
libGL.so.1 => /usr/lib32/mesa/libGL.so.1

Anyway: my recommendation is to install package "ia32-libs" and / or check if the libraries in /usr/lib are indeed 32bit or 64bit.
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby rha » Sat Aug 11, 2012 7:42 pm

System is currently 32 bit, so ia32-libs is not available.

I'm going to reinstall it as 64bit and i will try with that.
.
rha
Newbie Member
 
Posts: 5
Joined: Fri Aug 10, 2012 7:37 pm

Re: Qcad 3.0 Program fails to start

Postby andrew » Sat Aug 11, 2012 7:49 pm

32bit should be just fine and actually in most cases less troublesome than 64bit.
I somehow assumed you're on a 64bit system. Will check later with Ubuntu 11.04 32bit.
User avatar
andrew
Site Admin
 
Posts: 2556
Joined: Fri Mar 30, 2007 6:07 am

Re: Qcad 3.0 Program fails to start

Postby rha » Sat Aug 11, 2012 10:22 pm

My system is now fresh 11.04 / 64 bit and qcad-3.0.0-trial-linux-x86 seems to be working..

alt package crashes every time at startup

Code: Select all
rha@rha-HP-Compaq-8510p:~/Downloads/qcad-3.0.0-trial-linux-alt-x86$ ./qcad-trial
#42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
x86_64
./qcad-trial: line 36: 21947 Segmentation fault      LD_LIBRARY_PATH="$DIR" "$binary" $OPT1 $OPT2 "$@"



There is one difference in ldd output:

Code: Select all
   libGL.so.1 => /usr/lib32/fglrx/libGL.so.1 (0xf5b11000)


That file is part of fglrx package: packages.ubuntu.com/natty/fglrx
rha
Newbie Member
 
Posts: 5
Joined: Fri Aug 10, 2012 7:37 pm


Return to QCAD 3 Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron