This is the mail archive of the
cygwin
mailing list for the Cygwin project.
changes in 32-bit Cygwin OpenGL causing crashes?
- From: <lloyd dot wood at yahoo dot co dot uk>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 24 May 2016 00:38:21 +0000 (UTC)
- Subject: changes in 32-bit Cygwin OpenGL causing crashes?
- Authentication-results: sourceware.org; auth=none
- References: <2026486348 dot 2432030 dot 1464050301698 dot JavaMail dot yahoo dot ref at mail dot yahoo dot com>
- Reply-to: <lloyd dot wood at yahoo dot co dot uk>
Have there been any changes to OpenGL libraries in 32-bit cygwin in the last six months?
The opengl application I use (geomview 1.9.5) is now crashing on an uptodate Cygwin where it worked previously. (Can't compare with previous Cygwin install - had to replace drive)
It runs without texturemapping when opengl is not used (geomview -noopengl -run savi), suggesting problem is with opengl.
Building with -g and using gdb to backtrace shows nothing helpful, suggesting problem
is with opengl libraries?
To duplicate crashing:
http://www.geomview.org/download
cd geomview-1.9.5
./configure --enable-d1debug (to build with -g throughout)
make (ignore any pdf build errors after binary is built; that's just TeX for you. lots of
gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -g -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.c
etc.
)
cd ..
http://savi.sf.net/
cd savi1.4.9
make ARCH=cygwin
../geomview-1.9.5/geomview -gdb -run ./savi
thanks
Lloyd Wood
http://savi.sf.net/
~/savi/savi-dev
$ ../geomview-1.9.5/geomview -gdb
GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/ellowoo/savi/geomview-1.9.5/src/bin/geomview/x11/gvx...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/ellowoo/savi/geomview-1.9.5/src/bin/geomview/x11/gvx
[New Thread 13512.0x2384]
[New Thread 13512.0x365c]
[New Thread 13512.0x2538]
[New Thread 13512.0x300c]
[New Thread 13512.0x31f8]
ui_install_mode: name=[r] Rotate, proc=43cb32
ui_install_mode: name=[z] Cam Zoom, proc=43cbb9
ui_install_mode: name=[t] Translate, proc=43cb4d
ui_install_mode: name=[f] Cam Fly, proc=43cb83
ui_install_mode: name=[o] Cam Orbit, proc=43cb9e
ui_install_mode: name=[s] Geom Scale, proc=43cbd4
gv_event_mode: estate.motionproc <- 43cb32
minterp_switch: event(dev=504, val= 0, x= 0, y= 0, t=0)
interp_switch: ctls->buttons = leftmouse
mousedisp: dx <- 0.000000, dy <- 0.000000, dt <- 0
minterp_switch: mousedisp returned : dx = 0.000000, dy = 0.000000, dt = 0
XtAddEventHandler(... panel_input [0] ...)
XtAddEventHandler(... cam_expose ...)
XtAddEventHandler(... panel_input [1] ...)
XtAddEventHandler(... cam_mouse ...)
XtAddEventHandler(... cam_mousecross ...)
XtAddEventHandler(... cam_mousecross ...)
panel_input: case MapNotify
SaVi: selected platform-specific binary ./bin/SaVi-cygwin.bin
SaVi: defaulting to J2 orbital model.
SaVi: compiled without zlib compression.minterp_switch: event(dev=505, val= 0, x= 0, y= 0, t=0)
interp_switch: ctls->buttons = leftmouse
mousedisp: dx <- 0.000000, dy <- 0.000000, dt <- 0
minterp_switch: mousedisp returned : dx = 0.000000, dy = 0.000000, dt = 0
gv_event_mode: estate.motionproc <- 43cb9e
minterp_switch: event(dev=504, val= 0, x= 0, y= 0, t=0)
interp_switch: ctls->buttons = leftmouse
mousedisp: dx <- 0.000000, dy <- 0.000000, dt <- 0
minterp_switch: mousedisp returned : dx = 0.000000, dy = 0.000000, dt = 0
1 [main] gvx 13512 cygwin_exception::open_stackdumpfile: Dumping stack trace to gvx.exe.stackdump
[Thread 13512.0x365c exited with code 35584]
[Thread 13512.0x300c exited with code 35584]
[Thread 13512.0x2538 exited with code 35584]
[Inferior 1 (process 13512) exited with code 0105400]
(gdb) bt
No stack.
(gdb)
SaVi: thankyou for using SaVi.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple