jssmith / ssqlite

Serverless SQLite Experiments
6 stars 3 forks source link

segfault on PyErr_SetString #39

Closed Chenlibo closed 5 years ago

Chenlibo commented 5 years ago

add sfs_test.py to test read mode flag, currently has an issue on setting exception in pysfs.c

Chenlibo commented 5 years ago

so I have moved all the logic, but now there is a segfault when nfs4_pread gets call in read when I try to open an existing file. I trace this issue back to nfs4_open in open where f doesn't get populated correctly. Is there an good way to debug it? My guess is client may not be initialized correctly