Package: geomview
Version: 1.9.4-1
Severity: normal
Hi!
I noticed a problem with the PostScript snapshot saving option.
The option seems to work in some cases, but causes geomview to
segfault in other cases.
First test:
* start geomview with the following command:
$ geomview tref.off
* select Save [>] from the File menu
* in the Save dialog window, select "PostScript snapshot" and enter
"test_ok.eps" as Selection
* click on the OK button
* select Exit [Q] from the File menu
* check the resulting Encapsulated PostScript file
$ ls --size --si test_ok.eps
33k test_ok.eps
$ gv test_ok.eps
OK, it seems to work perfectly.
Let's proceed with the second test:
* prepare the following command file:
$ cat minimalist.gcl
(new-geometry "[g1]"
{
appearance { +edge -face }
LIST
{
MESH 2 3
1.1 1.1 0.0
2.2 1.1 0.0
1.1 2.8 0.0
2.3 2.9 0.0
1.1 3.4 0.0
2.3 3.5 0.0
}
{
MESH 2 3
3.1 1.1 0.0
4.2 1.1 0.0
3.1 2.8 0.0
4.3 2.9 0.0
3.1 3.4 0.0
4.3 3.5 0.0
}
}
)
(bbox-draw "[g1]" off)
(name-object "[g1]" "minimalist")
(backcolor "Camera" 1.0 1.0 1.0)
(ui-target "World")
(event-mode "[t] Translate")
* start geomview with the following command:
$ geomview minimalist.gcl
* select Save [>] from the File menu
* in the Save dialog window, select "PostScript snapshot" and enter
"test_fail.eps" as Selection
* click on the OK button
* the output on the terminal is:
Geomview(8397): internal error: "Segmentation violation"; dump core now
(y/n) [n] ?
* hit [Enter] on the keyboard and watch geomview exit
* check the resulting Encapsulated PostScript file
$ ls --size --si test_fail.eps
0 test_fail.eps
Nothing was produced!
What's wrong?
I experienced this problem on different boxes, with different video
cards. On all of them many GL applications work:
$ glxinfo | grep rendering
direct rendering: Yes
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages geomview depends on:
ii lesstif2 1:0.95.0-2.3 OSF/Motif 2.1 implementation relea
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-1 GCC support library
ii libgeomview-1.9.4 1.9.4-1 geomview library runtime
ii libgl1-mesa-glx [libgl 7.5.1-1 A free implementation of the OpenG
ii libglu1-mesa [libglu1] 7.5.1-1 The OpenGL utility library (GLU)
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxt6 1:1.0.6-1 X11 toolkit intrinsics library
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages geomview recommends:
pn xpdf <none> (no description available)
geomview suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]