On 2 Oct 2017, at 5:33am, Kevin O'Gorman <kevinogorm...@gmail.com> wrote:

> What such things always say "segementation fault (core dumped)" and the
> name of the program.

Try standard investation for any Python program which gives a segmentation 
fault. Waht does faulthandler say ?

<https://pypi.python.org/pypi/faulthandler/3.0>

If that doesn’t help, use GDB:

prompt$ gdb python
… blah …
(gdb) r myprog.py
… blah …
… crash notice …
(gdb) bt

If your program crashes in shell but not in the debugger you have a 
memory-management problem unrelated to SQLite.

Additional questions if that doesn’t solve it for you:

What modules/packages are you importing ?  Are any of them not needed to get 
your code to the point where it triggers the crash ?  If so, try not loading 
them.

Can you demonstrate the problem with a tiny dataset rather than the long one 
which caused the problem ?  Does the dataset matter at all or is it just the 
number of operations that matters ?  Try generating random data and see if the 
crash is always on the same row 143473 or something.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to