Package: gem Version: 1:0.90.0.1-1 Severity: normal Pd get segfault when i send 'destroy' message to a gemwin, usin the patch attached.
-- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable'), (200, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Versions of packages gem depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libdv4 1.0.0-1 software library for DV format dig ii libfreetype6 2.2.1-5+etch1 FreeType 2 font engine, shared lib ii libgcc1 1:4.1.1-21 GCC support library ii libgl1-mesa-glx [libgl1] 6.5.1-0.6 A free implementation of the OpenG ii libglu1-mesa [libglu1] 6.5.1-0.6 The OpenGL utility library (GLU) ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libmpeg3-1 1.5.4-5 MPEG streams decoding library ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libquicktime0 2:0.9.7-1 library for reading and writing Qu ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxxf86vm1 1:1.0.1-2 X11 XFree86 video mode extension l ii puredata [pd] 0.39.2-4 realtime computer music and graphi ii ttf-bitstream-vera 1.10-7 The Bitstream Vera family of free ii zlib1g 1:1.2.3-13 compression library - runtime gem recommends no packages. -- no debconf information
#N canvas 296 186 899 398 10; #X obj 8 6 cnv 15 870 30 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 46 cnv 15 430 15 empty empty empty 20 12 0 14 -179884 -66577 0; #X obj 8 347 cnv 15 870 30 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 668 349 Copyright Ben Bogart 2005 \; (See COPYING.TXT for details) ; #N canvas 0 22 490 340 META 0; #X text 12 5 CATEGORY: tutorial; #X text 12 15 KEYWORDS: Gem gemwin; #X restore 16 353 pd META; #X obj 108 313 gemwin; #X obj 124 196 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 134 219 create; #X msg 143 241 destroy; #X msg 150 264 dimen 400 400; #X text 13 46 What is Gem?; #X text 12 71 Gem is the openGL (graphics) library for PD. Gem allows you to work with live video \, video files and still images all in a real-time 3D environment.; #X text 13 115 This section deals with the particular objects related to the Gem visual library. Gem uses the usual PD "control" objects \, as well as a set of Gem-specific objects. First I'm going to introduce the most important Gem object \, the "gemwin".; #X text 12 20 DESCRIPTION: Introduction to the gemwin object; #X text 144 197 Rendering on: "1" \, off: "0"; #X text 192 218 Open render window; #X text 211 240 Close render window; #X text 251 287 Window background; #X text 251 264 Window size; #X text 458 45 The "gemwin" object handles many different messages. We're only going to discuss six of them for now. "gemwin" is the object that controls the gem render window. It handles messages to: open the window "create" \, close the window "destroy" \, start rendering "1" \, stop rendering "0" \, set the window size "dimen" and to set the window background colour "color" (Note the American spelling of "colour") ; #X text 458 147 Just like objects have arguments some messages also have arguments. The "dimen" message expects two arguments for the horizontal and vertical size of the window. "color" expects three arguments - the amount of red \, green and blue in the background color. Note that the RGB values accepted in Gem go from 0-minimum to 1-maximum. You have to set the properties of the window before you open it with the exception of "color" that can be changed after the window has been created. The gemwin to the left creates a red window.; #X text 459 282 For more info see: gemwin-help.pd; #X text 12 8 1 Introduction to Gem (Graphics Environment for Multimedia) ; #X msg 161 287 color 1 1 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 5 0; #X connect 9 0 5 0; #X connect 23 0 5 0;