discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenScad 2014.03 - Segmentation Fault

S
Spindoctor
Fri, Nov 27, 2015 6:31 PM

Hi!

I developed this model (https://github.com/speendo/tapeholder) in several
months ago in some older version of OpenSCAD.

Now I made a test print and wanted to make some corrections. My Debian
Stretch x64 system(s) updated OpenSCAD to version 2015.03. The new user
interface looks beatiful, but - while already a bit slow in previous
versions - the model is really not usable anymore in the new version of
OpenSCAD.

I read that the laggy model viewer is some kind of Qt 5 problem that comes
with complex models (well, I didn't find my model that complex, but my
computers have a different opinion, obviously) in version 2015.03 and cannot
be solved. Therefore I tried to downgrade to version 2014.03 by downloading
the binaries from http://www.openscad.org/downloads.html.

That worked on my netbook - the model is still laggy but it's possible to
work with it. On my desktop computer which has 2 monitors I didn't succeed.
When I try to run OpenSCAD from the console I get a "Speicherzugriffsfehler"
which translate from German as "Segmentation Fault" (at least I think so).

What can I do now? I would like to edit my model in a not too old version of
OpenSCAD. Version 2015.03 seems to be unusable and version 2014.03 does not
even start :-(

Can you help me to make one version work?

Thank you in advance!

Marcel

--
View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi! I developed this model (https://github.com/speendo/tapeholder) in several months ago in some older version of OpenSCAD. Now I made a test print and wanted to make some corrections. My Debian Stretch x64 system(s) updated OpenSCAD to version 2015.03. The new user interface looks beatiful, but - while already a bit slow in previous versions - the model is really not usable anymore in the new version of OpenSCAD. I read that the laggy model viewer is some kind of Qt 5 problem that comes with complex models (well, I didn't find my model *that* complex, but my computers have a different opinion, obviously) in version 2015.03 and cannot be solved. Therefore I tried to downgrade to version 2014.03 by downloading the binaries from http://www.openscad.org/downloads.html. That worked on my netbook - the model is still laggy but it's possible to work with it. On my desktop computer which has 2 monitors I didn't succeed. When I try to run OpenSCAD from the console I get a "Speicherzugriffsfehler" which translate from German as "Segmentation Fault" (at least I think so). What can I do now? I would like to edit my model in a not too old version of OpenSCAD. Version 2015.03 seems to be unusable and version 2014.03 does not even start :-( Can you help me to make one version work? Thank you in advance! Marcel -- View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JD
Jerry Davis
Fri, Nov 27, 2015 7:09 PM

I just downloaded and opened in it in openscad, with no problems at all

I am on osx, with openscad version 2015.11.15 (git a7ee1f2)

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

I
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous

If writing good code requires very little comments, then writing really
excellent code requires no comments at all!
- Ken Thompson

On Fri, Nov 27, 2015 at 11:31 AM, Spindoctor spindoc@roundtray.yeara.net
wrote:

Hi!

I developed this model (https://github.com/speendo/tapeholder) in several
months ago in some older version of OpenSCAD.

Now I made a test print and wanted to make some corrections. My Debian
Stretch x64 system(s) updated OpenSCAD to version 2015.03. The new user
interface looks beatiful, but - while already a bit slow in previous
versions - the model is really not usable anymore in the new version of
OpenSCAD.

I read that the laggy model viewer is some kind of Qt 5 problem that comes
with complex models (well, I didn't find my model that complex, but my
computers have a different opinion, obviously) in version 2015.03 and
cannot
be solved. Therefore I tried to downgrade to version 2014.03 by downloading
the binaries from http://www.openscad.org/downloads.html.

That worked on my netbook - the model is still laggy but it's possible to
work with it. On my desktop computer which has 2 monitors I didn't succeed.
When I try to run OpenSCAD from the console I get a
"Speicherzugriffsfehler"
which translate from German as "Segmentation Fault" (at least I think so).

What can I do now? I would like to edit my model in a not too old version
of
OpenSCAD. Version 2015.03 seems to be unusable and version 2014.03 does not
even start :-(

Can you help me to make one version work?

Thank you in advance!

Marcel

--
View this message in context:
http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I just downloaded and opened in it in openscad, with no problems at all I am on osx, with openscad version 2015.11.15 (git a7ee1f2) -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Arduino developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov *I* *f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. *- Anonymous *If writing good code requires very little comments, then writing really excellent code requires no comments at all!*- Ken Thompson On Fri, Nov 27, 2015 at 11:31 AM, Spindoctor <spindoc@roundtray.yeara.net> wrote: > Hi! > > I developed this model (https://github.com/speendo/tapeholder) in several > months ago in some older version of OpenSCAD. > > Now I made a test print and wanted to make some corrections. My Debian > Stretch x64 system(s) updated OpenSCAD to version 2015.03. The new user > interface looks beatiful, but - while already a bit slow in previous > versions - the model is really not usable anymore in the new version of > OpenSCAD. > > I read that the laggy model viewer is some kind of Qt 5 problem that comes > with complex models (well, I didn't find my model *that* complex, but my > computers have a different opinion, obviously) in version 2015.03 and > cannot > be solved. Therefore I tried to downgrade to version 2014.03 by downloading > the binaries from http://www.openscad.org/downloads.html. > > That worked on my netbook - the model is still laggy but it's possible to > work with it. On my desktop computer which has 2 monitors I didn't succeed. > When I try to run OpenSCAD from the console I get a > "Speicherzugriffsfehler" > which translate from German as "Segmentation Fault" (at least I think so). > > What can I do now? I would like to edit my model in a not too old version > of > OpenSCAD. Version 2015.03 seems to be unusable and version 2014.03 does not > even start :-( > > Can you help me to make one version work? > > Thank you in advance! > > Marcel > > > > -- > View this message in context: > http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
TP
Torsten Paul
Fri, Nov 27, 2015 8:25 PM

Maybe try the snapshot builds that are still built against Qt4.

The package is called openscad-nightly so it can be installed in parallel
to the normal repository version.

The Debian8 version works on Debian/testing too (that's how I use it).
Unfortunately OBS will not support Stretch until it's officially released.

See http://www.openscad.org/downloads.html#snapshots

ciao,
Torsten.

Maybe try the snapshot builds that are still built against Qt4. The package is called openscad-nightly so it can be installed in parallel to the normal repository version. The Debian8 version works on Debian/testing too (that's how I use it). Unfortunately OBS will not support Stretch until it's officially released. See http://www.openscad.org/downloads.html#snapshots ciao, Torsten.
MK
Marius Kintel
Sat, Nov 28, 2015 2:50 AM

The laggy UI behaviour appears to be a problem when using some version of the X11 port of Qt5.
Do we know what the cause of this problem is? Can it be solved by upgrading Qt or are we doing something fishy in the UI code of OpenSCAD itself?
As this question pops up with increasing frequency, it sounds like a good candidate for the FAQ: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ

-Marius

The laggy UI behaviour appears to be a problem when using some version of the X11 port of Qt5. Do we know what the cause of this problem is? Can it be solved by upgrading Qt or are we doing something fishy in the UI code of OpenSCAD itself? As this question pops up with increasing frequency, it sounds like a good candidate for the FAQ: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/FAQ -Marius
S
Spindoctor
Sat, Nov 28, 2015 6:55 PM

Thank you for your answers!

So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the
development snapshots. I didn't succeed because of a missing dependency:

$ sudo aptitude install openscad-nightly
The following NEW packages will be installed:
libboost-filesystem1.55.0{a} libboost-program-options1.55.0{a}
libboost-regex1.55.0{a}
libboost-system1.55.0{a} libboost-thread1.55.0{a} libglew1.10{a}
openscad-nightly{b}
0 packages upgraded, 7 newly installed, 0 to remove and 45 not upgraded.
Need to get 4363 kB of archives. After unpacking 14.8 MB will be used.
The following packages have unmet dependencies:
openscad-nightly : Depends: libcgal10 which is a virtual package.
Depends: libqscintilla2-11 which is a virtual package.
The following actions will resolve these dependencies:

 Keep the following packages at their current version:
  1. openscad-nightly [Not Installed]                   
    

Accept this solution? [Y/n/q/?] n

*** No more solutions available ***

Is there a possibility to solve that issue or do I have any other choices?

--
View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800p14805.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thank you for your answers! So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the development snapshots. I didn't succeed because of a missing dependency: $ sudo aptitude install openscad-nightly The following NEW packages will be installed: libboost-filesystem1.55.0{a} libboost-program-options1.55.0{a} libboost-regex1.55.0{a} libboost-system1.55.0{a} libboost-thread1.55.0{a} libglew1.10{a} openscad-nightly{b} 0 packages upgraded, 7 newly installed, 0 to remove and 45 not upgraded. Need to get 4363 kB of archives. After unpacking 14.8 MB will be used. The following packages have unmet dependencies: openscad-nightly : Depends: libcgal10 which is a virtual package. Depends: libqscintilla2-11 which is a virtual package. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) openscad-nightly [Not Installed] Accept this solution? [Y/n/q/?] n *** No more solutions available *** Is there a possibility to solve that issue or do I have any other choices? -- View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800p14805.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sat, Nov 28, 2015 7:27 PM

On 11/28/2015 07:55 PM, Spindoctor wrote:

So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the
development snapshots. I didn't succeed because of a missing dependency:

Hmm, looks like it still works for me as it did install those dependencies
before and they are still there.

Unfortunately it seems Ubuntu decided to package opencsg with a different
package name in 15.10, so that does not work either :-(.

That should still leave 2 options:

  • install those missing dependencies from stable
  • build from source following the instructions on github

ciao,
Torsten.

On 11/28/2015 07:55 PM, Spindoctor wrote: > So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the > development snapshots. I didn't succeed because of a missing dependency: > Hmm, looks like it still works for me as it did install those dependencies before and they are still there. Unfortunately it seems Ubuntu decided to package opencsg with a different package name in 15.10, so that does not work either :-(. That should still leave 2 options: * install those missing dependencies from stable * build from source following the instructions on github ciao, Torsten.
JD
Jerry Davis
Sat, Nov 28, 2015 10:17 PM

are there packages named qscintilla and cgal that need to be installed?

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

I
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous

If writing good code requires very little comments, then writing really
excellent code requires no comments at all!
- Ken Thompson

On Sat, Nov 28, 2015 at 12:27 PM, Torsten Paul Torsten.Paul@gmx.de wrote:

On 11/28/2015 07:55 PM, Spindoctor wrote:

So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the
development snapshots. I didn't succeed because of a missing dependency:

Hmm, looks like it still works for me as it did install those dependencies
before and they are still there.

Unfortunately it seems Ubuntu decided to package opencsg with a different
package name in 15.10, so that does not work either :-(.

That should still leave 2 options:

  • install those missing dependencies from stable
  • build from source following the instructions on github

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

are there packages named qscintilla and cgal that need to be installed? -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Arduino developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov *I* *f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. *- Anonymous *If writing good code requires very little comments, then writing really excellent code requires no comments at all!*- Ken Thompson On Sat, Nov 28, 2015 at 12:27 PM, Torsten Paul <Torsten.Paul@gmx.de> wrote: > On 11/28/2015 07:55 PM, Spindoctor wrote: > > So I tried to install OpenSCAD 2015.11 on Debian Stretch x64 from the > > development snapshots. I didn't succeed because of a missing dependency: > > > Hmm, looks like it still works for me as it did install those dependencies > before and they are still there. > > Unfortunately it seems Ubuntu decided to package opencsg with a different > package name in 15.10, so that does not work either :-(. > > That should still leave 2 options: > > * install those missing dependencies from stable > * build from source following the instructions on github > > ciao, > Torsten. > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
S
Spindoctor
Sun, Nov 29, 2015 10:09 AM
Yes! cgal: libcgal11v5 (https://packages.debian.org/stretch/libcgal11v5) or others (https://packages.debian.org/search?suite=stretch&keywords=cgal) qscintilla: libqscintilla2-12v5 (https://packages.debian.org/stretch/libqscintilla2-12v5) or others (https://packages.debian.org/search?suite=stretchkeywords=qscintilla) Can I use those packages? -- View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800p14810.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Spindoctor
Sun, Nov 29, 2015 11:03 AM

... i just tried to replace the dependencies with the newer versions in the
debian package but that didn't do the trick ;-)

$ openscad-nightly
openscad-nightly: error while loading shared libraries: libCGAL.so.10:
cannot open shared object file: No such file or directory

--
View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800p14811.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

... i just tried to replace the dependencies with the newer versions in the debian package but that didn't do the trick ;-) $ openscad-nightly openscad-nightly: error while loading shared libraries: libCGAL.so.10: cannot open shared object file: No such file or directory -- View this message in context: http://forum.openscad.org/OpenScad-2014-03-Segmentation-Fault-tp14800p14811.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Nov 29, 2015 2:41 PM

On 11/29/2015 12:03 PM, Spindoctor wrote:

... i just tried to replace the dependencies with the newer versions in the
debian package but that didn't do the trick ;-)

How did you do that?

What I meant is basically what's described there (but with different
values):
http://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing

I'm running with

testing = 750
stable = 400
unstable = 50

which gives testing the priority but allows to resolve packages from
stable too.

In addition that gives the possibility to specifically override the
selection for some packages, e.g. I tried compiling against an older
version of libglew-dev which is at version 1.13 in testing by:

sudo apt install libglew-dev/stable

which downgrades to 1.10 from stable. This can be reverted by simply
running the install without the "/stable" again to select the
version from testing.

ciao,
Torsten.

On 11/29/2015 12:03 PM, Spindoctor wrote: > ... i just tried to replace the dependencies with the newer versions in the > debian package but that didn't do the trick ;-) > How did you do that? What I meant is basically what's described there (but with different values): http://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing I'm running with testing = 750 stable = 400 unstable = 50 which gives testing the priority but allows to resolve packages from stable too. In addition that gives the possibility to specifically override the selection for some packages, e.g. I tried compiling against an older version of libglew-dev which is at version 1.13 in testing by: sudo apt install libglew-dev/stable which downgrades to 1.10 from stable. This can be reverted by simply running the install without the "/stable" again to select the version from testing. ciao, Torsten.