Hi !
I want to introduce myself. My name is Jean-Francois Gallant and I'm the coder
of the addon " Molecular ". I'm not a experienced coder and I learn python by
myself. I rewrote my script with cython for the beta release one month ago. Now
I need to debug it because I get some crash. I try to use GDB that come with
minGW32 ( I use it too for compiling my 32bit version of my addon with cython )
but apparently I need than Blender and it's embedded python interpreter
compiled in debug mode ( with debug symbols ). Because I don't have it , I got
this kind of information ( see "<<<" mark ) from gdb when it's crash :
#######D:\MinGW\bin>gdb D:\stuff\blender-2.66a-windows32\blender.exeGNU gdb
(GDB) 7.5Copyright (C) 2012 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-mingw32".For bug reporting instructions, please
see:<http://www.gnu.org/software/gdb/bugs/>...Reading symbols from
D:\stuff\blender-2.66a-windows32\blender.exe...(no debugging symbols
found)...done. <<<(gdb) runStarting program:
D:\stuff\blender-2.66a-windows32\blender.exe[New Thread 7764.0x17c8][New Thread
7764.0x6c4][New Thread 7764.0x39e8][New Thread 7764.0x3210][New Thread
7764.0x2200][New Thread 7764.0x42c0][New Thread 7764.0x274c][New Thread
7764.0x27ec][New Thread 7764.0x1d54]Read new prefs:
C:\Users\jfgallant\AppData\Roaming\Blender Foundation\Blender\2.66\
config\userpref.blend[New Thread 7764.0x39d0][New Thread 7764.0x42c4][New
Thread 7764.0x2338][New Thread 7764.0x3330][New Thread 7764.0xfe4][New Thread
7764.0x2684][New Thread 7764.0x1ae8][New Thread 7764.0x3964][New Thread
7764.0x1844][New Thread 7764.0x3fc8][New Thread 7764.0x308c][New Thread
7764.0x4250][New Thread 7764.0x3620][New Thread 7764.0x1e50][New Thread
7764.0x9b4][New Thread 7764.0x2484][New Thread 7764.0x2780][New Thread
7764.0x610][New Thread 7764.0x36e8][New Thread 7764.0x3650]found bundled
python: D:\stuff\blender-2.66a-windows32\2.66\pythonread blend:
C:\Users\jfgallant\Downloads\mol.test2.blendMolecular Sim
start-------------------------------------------------- PackData take 0.0sec
Number of cpu's used: 8[New Thread 7764.0x2bbc][New Thread 7764.0x24e4][New
Thread 7764.0x4210][New Thread 7764.0x1a94][New Thread 7764.0x31a0][New Thread
7764.0x3294][New Thread 7764.0x359c]
Program received signal SIGSEGV, Segmentation fault. <<<0x6b302146 in ?? ()
from
D:\stuff\blender-2.66a-windows32\2.66\scripts\addons\molecular\cmolcore.pyd
<<<(gdb)##########
It's possible to get a compiled version of Blender win32 (and it's embedded
python) in debug mode ? ( I tried to do it myself but without success ).
Thanks to everyone !
JF
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers