Package: libgtkglext1 Version: 1.2.0-1.1 Severity: normal
I am trying to get an application working but it segfaults every time at the call to gdk_gl_get_proc_address. Shown below is a simplified program and an example session. --> get_proce_address.c <------------------------------------------------------- // libgtkglext1-dev #include <gdk/gdkglquery.h> int main() { GdkGLProc proc = NULL; proc = gdk_gl_get_proc_address("glPolygonOffset"); } -------------------------------------------------------------------------------- --> example session <----------------------------------------------------------- j...@bishop get_proc_address$ make gcc -g -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gl ib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -Wl,--export-dynamic -pthread -lgtkgl ext-x11-1.0 -lgtk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdkglex t-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgdk-x11-2.0 -lpangox-1.0 -lX11 -lgdk_pi xbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule- 2.0 -lgthread-2.0 -lrt -lglib-2.0 get_proc_address.c j...@bishop get_proc_address$ gdb a.out GNU gdb (GDB) 7.1-debian Copyright (C) 2010 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 "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/jeri/MegaTunix-work/MegaTunix-BUGS/20100721-3d_segfault/g et_proc_address/a.out...done. (gdb) run Starting program: /home/jeri/MegaTunix-work/MegaTunix-BUGS/20100721-3d_segfault/get_ proc_address/a.out [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0xb5a082d0 in ?? () (gdb) bt #0 0xb5a082d0 in ?? () #1 0xb7aee952 in gdk_gl_get_proc_address (proc_name=0x8048890 "glPolygonOffset") at gdkglquery-x11.c:408 #2 0x080487c1 in main () at get_proc_address.c:8 (gdb) quit -------------------------------------------------------------------------------- -- System Information: Debian Release: squeeze/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (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 libgtkglext1 depends on: ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.0-2 FreeType 2 font engine, shared lib ii libgl1-mesa-glx [libgl1] 7.7.1-4 A free implementation of the OpenG ii libglib2.0-0 2.24.1-1 The GLib library of C routines ii libglu1-mesa [libglu1] 7.7.1-4 The OpenGL utility library (GLU) ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio ii libsm6 2:1.1.1-1 X11 Session Management library ii libx11-6 2:1.3.3-3 X11 client-side library ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library libgtkglext1 recommends no packages. libgtkglext1 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org