Yes, that's my code: http://paste.ideaslabs.com/show/OPNHBY7xPG
this the backtrace: #0 0x00000001001701d3 in initialize_niurouting () #1 0x00000001001709d5 in sqlite3_extension_init () #2 0x00000001000499a3 in sqlite3_load_extension (db=0x100200090, zFile=0x10020f206 "/Volumes/Me/jorge.osorio/proj/niurouting/bin/niurouting.sqlext", zProc=0x1000a1480 "sqlite3_extension_init", pzErrMsg=0x7fff5fbfd778) at sqlite3.c:91718 #3 0x00000001000055db in do_meta_command (zLine=<value temporarily unavailable, due to optimizations>, p=0x7fff5fbfe2e0) at ./src/shell.c:1885 #4 0x00000001000040da in process_input (p=0x7fff5fbfe2e0, in=0x0) at ./src/shell.c:2481 #5 0x00000001000071c8 in main (argc=2, argv=<value temporarily unavailable, due to optimizations>) at ./src/shell.c:2972 (gdb) it's strange Stepan, thanks for you help.. 2012/2/3 Stephan Beal <[email protected]> > 2012/2/3 Jorge Eliécer Osorio Caro <[email protected]> > > > OK there is the trace: > > > > Program received signal EXC_BAD_ACCESS, Could not access memory. > > Reason: KERN_INVALID_ADDRESS at address: 0x00000000000003b8 > > 0x000000010017024b in initialize_niurouting () > > > > That's the reason for the crash but not the backtrace, so i can't say what > let up to the crash, but the "Reason" part is telling - the address 03b8 is > invalid. Are you sure you've properly initialized all of the > memory/variables in initialize_niurouting()? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

