Shape Viewer

J'ai commence avec une petite application, le ShapeViewer...I know, in English ...I started with a small application, the Shape viewer.

I loaded a brep and got a nice wireframe. But if I hit the second icon on the right most icon stack, I get the error below. Other functionality seems to be disabled (i.e. rt-mouse pop up menu). What is the status of this software and is there a simple fix to my crash? The setup I have is:

Linux Kernel 2.2.9 Xfree 3.3.3.1 JDK 1.2.2 Mesa-dev 3.0-2 128 Meg PIII LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib

None of the new CASCADE software is installed yet so I believe CASROOT does not need to be set (I thought I would start simple)

Run.csh

Object is V3d_OrthographicView method unknown (eip = 46e6125a) SIGSEGV 11* segmentation violation

si_signo [11]: SIGSEGV 11* segmentation violation

si_errno [0]: Success

si_code [0]: SI_USER [pid: 0, uid: 0]

stackpointer=0x4496d5a8

Full thread dump Classic VM (1.2.2-RC2-K, green threads):

"TimerQueue" (TID:0x40ecdbd0, sys_thread_t:0x8748a80, state:CW) prio=6

at java.lang.Object.wait(Native Method)

at javax.swing.TimerQueue.run(TimerQueue.java:236)

at java.lang.Thread.run(Thread.java, Compiled Code)

"Screen Updater" (TID:0x40ecefe0, sys_thread_t:0x8685ef0, state:CW) prio=4

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java, Compiled Code)

at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java, Compiled Code)

at sun.awt.ScreenUpdater.run(ScreenUpdater.java:99)

"AWT-Motif" (TID:0x40ebb870, sys_thread_t:0x822f738, state:R) prio=5

at sun.awt.motif.MToolkit.run(Native Method)

at java.lang.Thread.run(Thread.java:479)

"SunToolkit.PostEventQueue-0" (TID:0x40ebbf00, sys_thread_t:0x8361248, state:CW) prio=5

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java, Compiled Code)

at sun.awt.PostEventQueue.run(SunToolkit.java:413)

"AWT-EventQueue-0" (TID:0x40ebbeb8, sys_thread_t:0x83598f0, state:R) prio=6

at Viewers.V3d_View.SetDegenerateModeOff(Native Method)

at Viewers.View3d.actionPerformed(View3d.java:432)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java, Compiled Code)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java, Compiled Code)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java, Compiled Code)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java, Compiled Code)

at javax.swing.AbstractButton.doClick(AbstractButton.java, Compiled Code)

at javax.swing.AbstractButton.doClick(AbstractButton.java:209) at jad.util.PopupButtons.mouseReleased(PopupButtons.java:137)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java, Compiled Code)

at java.awt.Component.processMouseEvent(Component.java, Compiled Code)

at java.awt.Component.processEvent(Component.java, Compiled Code)

at java.awt.Container.processEvent(Container.java, Compiled Code)

at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)

at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)

at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)

at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)

at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

"Finalizer" (TID:0x40ea4320, sys_thread_t:0x8108018, state:CW) prio=8

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)

at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)

"Reference Handler" (TID:0x40ea43b0, sys_thread_t:0x81032c8, state:CW) prio=10

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java, Compiled Code)

at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)

"Signal dispatcher" (TID:0x40ea43e0, sys_thread_t:0x8101410, state:CW) prio=5

"Thread-0" (TID:0x40ed4968, sys_thread_t:0x804c3e8, state:CW) prio=5 Monitor Cache Dump:

java.lang.ref.Reference$Lock@40EA43C0/40ED9848:

Waiting to be notified:

"Reference Handler" (0x81032c8)

java.lang.ref.ReferenceQueue$Lock@40EA4338/40ED9D18:

Waiting to be notified:

"Finalizer" (0x8108018)

sun.awt.ScreenUpdater@40ECEFE0/40F8FA90:

Waiting to be notified:

"Screen Updater" (0x8685ef0)

sun.awt.PostEventQueue@40EBBF00/40F298E0:

Waiting to be notified:

"SunToolkit.PostEventQueue-0" (0x8361248)

jcas.Locker@40ECEA58/40F8F638: owner "AWT-EventQueue-0" (0x83598f0) 1 entry

javax.swing.TimerQueue@40ECDC58/40FE08B8:

Waiting to be notified:

"TimerQueue" (0x8748a80) Registered Monitor Dump:

Invoker change lock:

utf8 hash table:

JNI pinning lock:

JNI global reference lock:

BinClass lock:

Class linking lock:

System class loader lock:

Code rewrite lock: ÈÈ Monitor cache lock: owner "AWT-EventQueue-0" (0x83598f0) 1 entry

Dynamic loading lock:

Monitor IO lock:

User signal monitor:

Waiting to be notified:

"Signal dispatcher" (0x8101410)

Child death monitor:

I/O monitor: owner "AWT-Motif" (0x822f738) 1 entry

Alarm monitor:

Waiting to be notified:

(0x8057850)

Thread queue lock: owner "AWT-EventQueue-0" (0x83598f0) 1 entry

Waiting to be notified:

"Thread-0" (0x804c3e8)

Monitor registry: owner "AWT-EventQueue-0" (0x83598f0) 1 entry

Daniel Brunier-Coulin's picture

The purpose of the second icon on the right most icon stack is to turn on the hidden line removal mode. Unfortunately, on Linux, visualizing a shape in hidden line removal mode crashes the Shape Viewer application (on Windows and Sun, it works).

We are currently working on this problem and will deliver you an update as soon as possible.

Daniel Brunier-Coulin's picture

I'm pleased to inform you that a new Linux version of the Shape Viewer application correcting the Hidden Line Removal bug has been published. You can now click on the second icon on the right most icon stack in order to turn the Hidden Line Removal mode on.

This correction, as well as other corrections in:

- Shell (creation of shapes by offsets),

- Fillets and Features modeling algorithms,

will be included in the next publication of Open CASCADE (v3.0 PR2 due January 31st).