Hi, ther's somthing wrong! I can't' understand it !! Last days I've installed blender-dbg and today I've download blender source Because gdb cannot find source, I've entry the follow commands: sudo mkdir -p /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0 sudo ln -s /home/umberto/Programming/src/blender/blender-2.56.1-beta-svn34076/ /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0/blender-2.56.1-beta-svn34076
Now if running gdb blender, I get: umberto@earth:~/Programming/src/blender$ gdb blender GNU gdb (GDB) 7.2-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 /usr/bin/blender...Reading symbols from /usr/lib/debug/usr/bin/blender...done. done. (gdb) run Starting program: /usr/bin/blender [Thread debugging using libthread_db enabled] Program received signal SIGILL, Illegal instruction. 0x08ac3acd in RNA_def_property_range (prop=0x92001c0, min=1, max=9) at /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0/blender-2.56.1-beta-svn34076/source/blender/makesrna/intern/rna_define.c:1135 1135 iprop->hardmin= (int)min; (gdb) Hmmm Illegal instuction is in line "iprop->hardmin= (int)min;" ??? I will see more clear!! This is the source code of RNA_def_property_range() void RNA_def_property_range(PropertyRNA *prop, double min, double max) { StructRNA *srna= DefRNA.laststruct; switch(prop->type) { case PROP_INT: { IntPropertyRNA *iprop= (IntPropertyRNA*)prop; iprop->hardmin= (int)min; iprop->hardmax= (int)max; iprop->softmin= MAX2((int)min, iprop->hardmin); iprop->softmax= MIN2((int)max, iprop->hardmax); break; } case PROP_FLOAT: { FloatPropertyRNA *fprop= (FloatPropertyRNA*)prop; fprop->hardmin= (float)min; fprop->hardmax= (float)max; fprop->softmin= MAX2((float)min, fprop->hardmin); fprop->softmax= MIN2((float)max, fprop->hardmax); break; } default: fprintf(stderr, "RNA_def_property_range: \"%s.%s\", invalid type for range.\n", srna->identifier, prop->identifier); DefRNA.error= 1; break; } } I will trace blender again: umberto@earth:~/Programming/src/blender$ gdb blender GNU gdb (GDB) 7.2-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 /usr/bin/blender...Reading symbols from /usr/lib/debug/usr/bin/blender...done. done. (gdb) break RNA_def_property_range Breakpoint 1 at 0x8ac3a6d: file /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0/blender-2.56.1-beta-svn34076/source/blender/makesrna/intern/rna_define.c, line 1129. (gdb) run Starting program: /usr/bin/blender [Thread debugging using libthread_db enabled] Breakpoint 1, RNA_def_property_range (prop=0x92001c0, min=1, max=9) at /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0/blender-2.56.1-beta-svn34076/source/blender/makesrna/intern/rna_define.c:1129 1129 { (gdb) step 1132 switch(prop->type) { (gdb) print prop->type $1 = PROP_INT (gdb) step 1130 StructRNA *srna= DefRNA.laststruct; (gdb) 1132 switch(prop->type) { (gdb) 1130 StructRNA *srna= DefRNA.laststruct; (gdb) 1132 switch(prop->type) { (gdb) 1135 iprop->hardmin= (int)min; (gdb) print iprop $2 = <value optimized out> (gdb) print *iprop value has been optimized out (gdb) print prop $3 = (PropertyRNA *) 0x92001c0 (gdb) print *prop $4 = {next = 0x0, prev = 0x9200120, magic = -1, identifier = 0x8bac657 "filemode", flag = 1539, name = 0x8bac657 "filemode", description = 0x8bae727 "", icon = 0, type = PROP_INT, subtype = PROP_NONE, getlength = 0, arraydimension = 0, arraylength = {0, 0, 0}, totarraylength = 0, update = 0, noteflag = 0, editable = 0, itemeditable = 0, rawoffset = 0, rawtype = PROP_RAW_UNSET, srna = 0x0} (gdb) step Program received signal SIGILL, Illegal instruction. 0x08ac3acd in RNA_def_property_range (prop=0x92001c0, min=1, max=9) at /build/buildd-blender_2.56.1-beta-svn34076-1-i386-oV02K0/blender-2.56.1-beta-svn34076/source/blender/makesrna/intern/rna_define.c:1135 1135 iprop->hardmin= (int)min; (gdb) Hmmm Isn't clear the little loop between lines 1130 and 1132 of file rna_define.c and the jump of line 1134. Look like disallineated source. Next days i'll recompile and retry. I'll be some luckely? -- System Information: Debian Release: wheezy/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages blender depends on: pn libc6 <none> (no description available) pn libfftw3-3 <none> (no description available) ii libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.6.0-2 GCC support library ii libgl1-mesa-glx [lib 7.10-4 A free implementation of the OpenG ii libglew1.5 1.5.8-3 The OpenGL Extension Wrangler - ru ii libglu1-mesa [libglu 7.10-4 The OpenGL utility library (GLU) ii libgomp1 4.6.0-2 GCC OpenMP (GOMP) support library pn libilmbase6 <none> (no description available) ii libjack0 [libjack-0. 1:0.120.1+svn4142-1 JACK Audio Connection Kit (librari pn libjpeg62 <none> (no description available) pn libopenal1 <none> (no description available) pn libopenexr6 <none> (no description available) pn libopenjpeg2 <none> (no description available) ii libpng12-0 1.2.44-2 PNG library - runtime ii libpython3.1 3.1.3-1 Shared Python runtime library (ver pn libsamplerate0 <none> (no description available) pn libsdl1.2debian <none> (no description available) ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3 ii libtiff4 3.9.4-9 Tag Image File Format (TIFF) libra ii libx11-6 2:1.4.2-1 X11 client-side library ii libxi6 2:1.4.2-1 X11 Input extension library ii python3.1 3.1.3-1 An interactive high-level object-o ii ttf-dejavu 2.33-1 Metapackage to pull in ttf-dejavu- pn zlib1g <none> (no description available) blender recommends no packages. Versions of packages blender suggests: ii yafray 0.0.9+dfsg-5 a modern, xml-speaking raytracing- -- no debconf information Regards -- Umberto Zappi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org