[issue39672] Segmentation fault on shutdown with shelve & c pickle

2020-06-29 Thread zd nex
zd nex added the comment: Hello, ok but it seems to me that this segfault happens always (it is not random)? So I guess that there should be way how fix C pickle, no? Or something else should be done with __del__ method of shelve. Because in Python2 this was normally working. It seems

[issue39672] Segmentation fault on shutdown with shelve & c pickle

2020-03-24 Thread zd nex
Change by zd nex : -- title: SIGSEGV crash on shutdown with shelve & c pickle -> Segmentation fault on shutdown with shelve & c pickle ___ Python tracker <https://bugs.python.

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-03-23 Thread zd nex
zd nex added the comment: So I want to properly debug this? How I can debug that call dump() for pickle? It does not seem to be possible. I guess I need to make some custom build? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-03-20 Thread zd nex
zd nex added the comment: Hello, so I was trying to figure out where actually is problem is. As I do not think it is in shelve itself. So I have made different method for __setitem__ on shelve and I have found that it is actually in pickle.dump > Here is code which I have used

[issue39956] Numeric Literals vs string "1_1" on input int() or float() or literal_eval

2020-03-13 Thread zd nex
New submission from zd nex : So currently if python code contains 1_1 it is handled as number 11. When user uses int("1_1") it also creates 11 and when ast.literal_eval is used it is also created instead of string. How can user get SyntaxError input on int or literal_eval with

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-27 Thread zd nex
zd nex added the comment: Hi, i was looking on failing tests on attached pull request and it seems to me that it intentionally should create new entry for saving. Maybe that save should actually happen, but it should be fixed in different way? From my small tests I was thinking

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-25 Thread zd nex
zd nex added the comment: So I was trying it again in Python 3.6.9 and 3.8.1 directly in REPL. And it behaves same. I have tried it on two different linux boxes (both 64bit) where I have diffrent versions. In both of them it crashes in same way .. destroy _ast and then it crashes

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-24 Thread zd nex
zd nex added the comment: Okay I have managed to crash it when exit() was called and also I am attaching output with -v python3.8 -X faulthandler ce_test_2.py start end --Return-- > /home/fractal/workspace/test_py_crash/ce_test_2.py(19)()->None -> breakpoint() (Pdb) exit() Traceb

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-24 Thread zd nex
zd nex added the comment: Okay I have tried to run it with breakpoint() but it does not crash on 3.8 -- ___ Python tracker <https://bugs.python.org/issue39

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-24 Thread zd nex
zd nex added the comment: Ok I will try pdb -- ___ Python tracker <https://bugs.python.org/issue39672> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-24 Thread zd nex
zd nex added the comment: Hello, well and in 3.8 it does not crash for you? Is there some devel build of 3.9 for ubuntu which I can try? I have tested it on 3.7,3.8 and 3.6 and it crashed always when close was not present or when list was called in another function

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-23 Thread zd nex
Change by zd nex : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue39672> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-18 Thread zd nex
zd nex added the comment: So I was trying to figure out what is crash it self and it looks to me that it is related to import. Do you know how I can properly debug this crash? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39672] SIGSEGV crash on shutdown with shelve & c pickle

2020-02-18 Thread zd nex
New submission from zd nex : Hello, so I was transferring some our old code from Python2.7 to new and find that new version seems to crash quite a lot. After some finding (good thing faulthandler) I think I tracked it down to to Shelve.__del__ method > going to C Pickle module (not pyt