[code][textadept] Newer releases for Mac crash after call to reset()

From: triplejam <triplejam.att.protonmail.com>
Date: Wed, 23 Jan 2019 15:23:39 +0000

Textadept 10.0 alpha 3 is the newest version I can get to run on Mac without problems. The beta release and onwards crash for me after calling to reset(). Might have something to do with the libraries for Mac being updated? Here is a backtrace with a build I cross compiled

Architecture set to: x86_64h-apple-macosx.
(lldb) c
Process 57214 resuming
(lldb) Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Process 57214 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x00007fff59a27a1d libobjc.A.dylib`objc_msgSend + 29
libobjc.A.dylib`objc_msgSend:
-> 0x7fff59a27a1d <+29>: andl 0x18(%r10), %r11d
    0x7fff59a27a21 <+33>: shlq $0x4, %r11
    0x7fff59a27a25 <+37>: addq 0x10(%r10), %r11
    0x7fff59a27a29 <+41>: cmpq (%r11), %rsi
Target 0: (textadept) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x00007fff59a27a1d libobjc.A.dylib`objc_msgSend + 29
    frame #1: 0x00007fff2ae2cf01 AppKit`-[NSMenu _recursivelyNoteChangedIsInMainMenu:] + 132
    frame #2: 0x00007fff2ae29d3a AppKit`-[NSMenu _setMenuName:] + 938
    frame #3: 0x00000001007a42c4 libgtkmacintegration.2.dylib`gtkosx_application_set_menu_bar + 852
    frame #4: 0x00000001001253b9 textadept`lui__newindex + 902
    frame #5: 0x0000000100133f3b textadept`luaD_precall + 370
    frame #6: 0x00000001001342b3 textadept`luaD_call + 95
    frame #7: 0x0000000100143d4b textadept`luaT_callTM + 280
    frame #8: 0x0000000100145387 textadept`luaV_finishset + 438
    frame #9: 0x00000001001475ea textadept`luaV_execute + 2500
    frame #10: 0x00000001001342c3 textadept`luaD_call + 111
    frame #11: 0x0000000100134321 textadept`luaD_callnoyield + 66
    frame #12: 0x000000010012ddde textadept`f_call + 53
    frame #13: 0x0000000100133316 textadept`luaD_rawrunprotected + 145
    frame #14: 0x0000000100134ad5 textadept`luaD_pcall + 122
    frame #15: 0x000000010012deab textadept`lua_pcallk + 202
    frame #16: 0x000000010014e282 textadept`luaB_pcall + 118
    frame #17: 0x0000000100133f3b textadept`luaD_precall + 370
    frame #18: 0x00000001001499cb textadept`luaV_execute + 11685
    frame #19: 0x00000001001342c3 textadept`luaD_call + 111
    frame #20: 0x0000000100134321 textadept`luaD_callnoyield + 66
    frame #21: 0x000000010012ddde textadept`f_call + 53
    frame #22: 0x0000000100133316 textadept`luaD_rawrunprotected + 145
    frame #23: 0x0000000100134ad5 textadept`luaD_pcall + 122
    frame #24: 0x000000010012deab textadept`lua_pcallk + 202
    frame #25: 0x0000000100123026 textadept`lL_event + 935
    frame #26: 0x0000000100127476 textadept`lreset + 368
    frame #27: 0x0000000100133f3b textadept`luaD_precall + 370
    frame #28: 0x00000001001499cb textadept`luaV_execute + 11685
    frame #29: 0x00000001001342c3 textadept`luaD_call + 111
    frame #30: 0x0000000100134321 textadept`luaD_callnoyield + 66
    frame #31: 0x000000010012ddde textadept`f_call + 53
    frame #32: 0x0000000100133316 textadept`luaD_rawrunprotected + 145
    frame #33: 0x0000000100134ad5 textadept`luaD_pcall + 122
    frame #34: 0x000000010012deab textadept`lua_pcallk + 202
    frame #35: 0x000000010014e32f textadept`luaB_xpcall + 146
    frame #36: 0x0000000100133f3b textadept`luaD_precall + 370
    frame #37: 0x00000001001499cb textadept`luaV_execute + 11685
    frame #38: 0x00000001001342c3 textadept`luaD_call + 111
    frame #39: 0x0000000100134321 textadept`luaD_callnoyield + 66
    frame #40: 0x000000010012ddde textadept`f_call + 53
    frame #41: 0x0000000100133316 textadept`luaD_rawrunprotected + 145
    frame #42: 0x0000000100134ad5 textadept`luaD_pcall + 122
    frame #43: 0x000000010012deab textadept`lua_pcallk + 202
    frame #44: 0x000000010014e282 textadept`luaB_pcall + 118
    frame #45: 0x0000000100133f3b textadept`luaD_precall + 370
    frame #46: 0x00000001001499cb textadept`luaV_execute + 11685
    frame #47: 0x00000001001342c3 textadept`luaD_call + 111
    frame #48: 0x0000000100134321 textadept`luaD_callnoyield + 66
    frame #49: 0x000000010012ddde textadept`f_call + 53
    frame #50: 0x0000000100133316 textadept`luaD_rawrunprotected + 145
    frame #51: 0x0000000100134ad5 textadept`luaD_pcall + 122
    frame #52: 0x000000010012deab textadept`lua_pcallk + 202
    frame #53: 0x0000000100123026 textadept`lL_event + 935
    frame #54: 0x000000010012940a textadept`s_keypress + 150
    frame #55: 0x000000010092a6de libgtk-quartz-2.0.0.dylib`_gtk_marshal_BOOLEAN__BOXED + 334
    frame #56: 0x00000001014b81ca libgobject-2.0.0.dylib`g_closure_invoke + 522
    frame #57: 0x00000001014dcd0d libgobject-2.0.0.dylib`signal_emit_unlocked_R + 1693
    frame #58: 0x00000001014dec97 libgobject-2.0.0.dylib`g_signal_emit_valist + 6311
    frame #59: 0x00000001014df594 libgobject-2.0.0.dylib`g_signal_emit + 356
    frame #60: 0x0000000100b29a8e libgtk-quartz-2.0.0.dylib`gtk_widget_event_internal + 718
    frame #61: 0x0000000100b297b4 libgtk-quartz-2.0.0.dylib`gtk_widget_event + 340
    frame #62: 0x0000000100b446a9 libgtk-quartz-2.0.0.dylib`gtk_window_propagate_key_event + 409
    frame #63: 0x0000000100b4db9b libgtk-quartz-2.0.0.dylib`gtk_window_key_press_event + 107
    frame #64: 0x000000010092a6de libgtk-quartz-2.0.0.dylib`_gtk_marshal_BOOLEAN__BOXED + 334
    frame #65: 0x00000001014b8cd8 libgobject-2.0.0.dylib`g_type_class_meta_marshal + 120
    frame #66: 0x00000001014b81ca libgobject-2.0.0.dylib`g_closure_invoke + 522
    frame #67: 0x00000001014dcedb libgobject-2.0.0.dylib`signal_emit_unlocked_R + 2155
    frame #68: 0x00000001014dec97 libgobject-2.0.0.dylib`g_signal_emit_valist + 6311
    frame #69: 0x00000001014df594 libgobject-2.0.0.dylib`g_signal_emit + 356
    frame #70: 0x0000000100b29a8e libgtk-quartz-2.0.0.dylib`gtk_widget_event_internal + 718
    frame #71: 0x0000000100b297b4 libgtk-quartz-2.0.0.dylib`gtk_widget_event + 340
    frame #72: 0x0000000100925fe5 libgtk-quartz-2.0.0.dylib`gtk_propagate_event + 693
    frame #73: 0x0000000100925768 libgtk-quartz-2.0.0.dylib`gtk_main_do_event + 1320
    frame #74: 0x0000000100e6fe64 libgdk-quartz-2.0.0.dylib`gdk_event_dispatch + 148
    frame #75: 0x000000010156cc54 libglib-2.0.0.dylib`g_main_dispatch + 452
    frame #76: 0x000000010156ca73 libglib-2.0.0.dylib`g_main_context_dispatch + 51
    frame #77: 0x000000010156d050 libglib-2.0.0.dylib`g_main_context_iterate + 480
    frame #78: 0x000000010156d562 libglib-2.0.0.dylib`g_main_loop_run + 578
    frame #79: 0x0000000100924d42 libgtk-quartz-2.0.0.dylib`gtk_main + 258
    frame #80: 0x000000010012b5e4 textadept`main + 959
    frame #81: 0x00000001000010d4 textadept`start + 52
(lldb)

Thanks,
James

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 23 Jan 2019 - 10:23:39 EST

This archive was generated by hypermail 2.2.0 : Thu 24 Jan 2019 - 06:44:10 EST