[issue35594] Python script generating Segmentation Fault

2018-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The script has 14 imports from 10 external packages, perhaps half of which include C code. In such cases, the crash is nearly always in the external package, and Daugeras has already identified a pandas routine. Daugeras, you can re-open if you gain

[issue35594] Python script generating Segmentation Fault

2018-12-28 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the report, but that example is so large and complicated that it's difficult for someone not familiar with it to understand what's going on. If you could simplify it down to the smallest example that duplicates the problem, then perhaps we could

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: File Attached. To replicate the bug, you have to create directories for files to load (CF config data at the start of the script). The bug happens after 100-200 files are downloaded. -- Added file:

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Ned Deily
Ned Deily added the comment: You can either paste or upload a file (click on the "Choose File" button above in the web page) with code or with crash info. For crash info, depending on the platform, there may be a Python traceback displayed in the shell session and there may be some sort of

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: @Ned: Of course I understand your feed-back. I can provide a script to reproduce the crash. How can I do this ? -- ___ Python tracker ___

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Ned Deily
Ned Deily added the comment: Sorry, but without either a full traceback or code that reproduces the problem, it is impossible for us to make an intelligent guess what problem you are seeing much less suggestion a solution. -- nosy: +ned.deily ___

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
New submission from Daugeras : Python script generates segmentation fault I cannot find the source of the problem. How is it to debug a segfault simply in Python ? Are there recommended coding practices to avoid Segmentation Faults ? I wrote a script (1600 lines) to systematically download