Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Getting a segmentation fault
-
Just wondering if someone can point me the right direction. I am getting a segmentation fault occasionally with the following or similar stack trace.
Fatal Python error: Segmentation fault Current thread 0x00000001b43e1b40 (most recent call first): File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/weakref.py", line 341 in __init__ File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/weakref.py", line 169 in __setitem__ File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 528 in __new__ File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 775 in __call__ File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 729 in __call__ File "/private/var/mobile/Containers/Shared/AppGroup/FFE08DF5-27C2-4D8F-95D1-5CC3D4C18E54/Pythonista3/Documents/PyDoc/Utilities/UISearchBarWrapper.py", line 87 in __init__ File "/var/containers/Bundle/Application/8024D87A-9F71-447C-85F3-3D71022D2199/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 1088 in new_func File "/private/var/mobile/Containers/Shared/AppGroup/FFE08DF5-27C2-4D8F-95D1-5CC3D4C18E54/Pythonista3/Documents/PyDoc/Utilities/UISearchBarWrapper.py", line 104 in get_view File "/private/var/mobile/Containers/Shared/AppGroup/FFE08DF5-27C2-4D8F-95D1-5CC3D4C18E54/Pythonista3/Documents/PyDoc/Views/DocsetIndexView.py", line 66 in get_view File "/private/var/mobile/Containers/Shared/AppGroup/FFE08DF5-27C2-4D8F-95D1-5CC3D4C18E54/Pythonista3/Documents/PyDoc/PyDoc.py", line 89 in docset_type_selected_for_viewing File "/private/var/mobile/Containers/Shared/AppGroup/FFE08DF5-27C2-4D8F-95D1-5CC3D4C18E54/Pythonista3/Documents/PyDoc/Views/DocsetView.py", line 11 in tableview_did_select Thread 0x000000016e427000 (most recent call first):
I am not sure why this is occurring but I suspect it is to do with how I am implementing a uisearchbar and adding it to a tableview, (maybe an object I'm trying to access has been garbage collected)
If anyone would like to help and needs how to create this crash, I can write up the steps provided and point you in the direction to GitHub repo.