Open jweezy24 opened 2 weeks ago
@BabyFnord, don't you also get the segmenation 11 error on your Mac? IIRC we get this, after we sign the x86_64 package, maybe that's our solution?
Yes @gernophil, exactly Segmentation fault: 11
, albeit with noScribe Editor. Tho I dunno whether @jweezy24 refers to the Editor or its counterpart here. This is what I get:
standard 10:08:49.790788 +0200 Python Current system appearance, (HLTB: 1), (SLS: 0)
standard 10:08:49.792104 +0200 Python Post-registration system appearance: (HLTB: 1)
standard 10:08:49.851590 +0200 launchservicesd CHECKIN:0x0-0x9c09c 1501 org.python.python
standard 10:08:49.854245 +0200 distnoted register name: com.apple.sharedfilelist.change object: com.apple.LSSharedFileList.ApplicationRecentDocuments/org.python.python token: f4326 pid: 320
standard 10:08:49.861356 +0200 loginwindow -[PersistentAppsSupport applicationReady:] | App: Python, ready, updating active tracking timer
standard 10:08:49.861452 +0200 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : Python
standard 10:08:49.882717 +0200 distnoted register name: com.apple.xctest.FakeForceTouchDevice object: org.python.python token: f4289 pid: 1501
standard 10:08:50.089709 +0200 Python NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x7fb424b02a20
(
"<NSAquaAppearance: 0x7fb424b01bb0>",
"<NSSystemAppearance: 0x7fb424b02210>"
)>
standard 10:08:50.133332 +0200 distnoted register name: com.apple.nsquiet_safe_quit_give_reason object: org.python.python token: f42cf pid: 1501
standard 10:08:50.307988 +0200 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:Python, _appTrackingState = 2
standard 10:08:50.308044 +0200 loginwindow -[PersistentAppsSupport applicationQuit:] | App: Python, quit, updating active tracking timer
standard 10:08:53.615035 +0200 ReportCrash Saved crash report for Python[1501] version 3.10.14 (3.10.14) to Python_2024-06-21-100853_BigMac.crash
See Python_2024-06-21-100853_BigMac.txt for a detailed crash log, if that helps. Would be terrific to solve Segmentation fault: 11
!
possible solution: https://github.com/kaixxx/noScribe/pull/75
Thanks @jweezy24, looking forward to a commit @kaixxx @gernophil 😃
Hello,
On my Linux machine I kept encountering this error.
I am on python 3.12. Everything else works perfectly fine.
After some debugging, I found that the error was from these lines.
It turns out that the TK state was switching too quickly so it caused a segfault within the
self.log
function. I remedied the problem by changing the log function to the code below.The
disable_log_textbox
function ensures that the state changes do not conflict. Since adding this code I have had no issues with the program. I am not familiar with TK so I do not know if this is the best solution. Also, I do not know if this is only a problem on Linux as no other issues seem to be similar.