bugGNU TeXmacs - Bugs: bug #59657, Crash: Use Input Method in the new...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59657: Crash: Use Input Method in the new Live Document dialogue

Submitted by:  Darcy Shen <sadhen>
Submitted on:  Fri 11 Dec 2020 01:09:02 PM UTC  
 
Category:  User Interface Priority:  5 - Normal
Item Group:  Error Status:  Need Info
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Open
Release:  1.99.17 Release:  None
Fixed Release:  None Fixed Release: 
Keywords: 

Tue 02 Mar 2021 02:02:33 PM UTC, comment #1: 

Hi Darcy, the crash report is useful, but please also provide a short description of how the bug can be reproduced.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Fri 11 Dec 2020 01:09:02 PM UTC, original submission:  

TeXmacs] With linked TrueType support
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 1.99.17
  Built by         : magix
  Building date    : Wed Dec  9 15:54:28 CET 2020
  Operating system : darwin16.7.0
  Vendor           : apple
  Processor        : @CONFIG_HOST_CPU@
  Crash date       : Fri Dec 11 21:07:16 CST 2020

Editor status:
  Root path          : [ 6 ]
  Current path       : [ 6, 0, 0 ]
  Shifted path       : [ 6, 0, 0 ]
  Physical selection : [ 6, 0, 0 ] -- [ 6, 0, 0 ]

Backtrace of C++ stack:
  1   TeXmacs                             0x0000000108c4b298 : get_crash_report(char const*) + 312
  2   TeXmacs                             0x000000010823e4b0 : tm_throw(char const*) + 112
  3   libsystem_platform.dylib            0x00007fff6d2455fd : _sigtramp() + 29
  4   ???                                 0x0000000000000000 : 0x0() + 0
  5   TeXmacs                             0x00000001081689c0 : QTMLineEdit::inputMethodEvent(QInputMethodEvent*) + 160
  6   TeXmacs                             0x0000000108ec9f3d : QWidget::event(QEvent*) + 701
  7   TeXmacs                             0x00000001092b0212 : QLineEdit::event(QEvent*) + 530
  8   TeXmacs                             0x0000000109283b5d : QComboBox::inputMethodEvent(QInputMethodEvent*) + 29
  9   TeXmacs                             0x0000000108ec9f3d : QWidget::event(QEvent*) + 701
  10  TeXmacs                             0x0000000109283079 : QComboBox::event(QEvent*) + 265
  11  TeXmacs                             0x0000000108e7e7cb : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
  12  TeXmacs                             0x0000000108e7f933 : QApplication::notify(QObject*, QEvent*) + 323
  13  TeXmacs                             0x000000010898310f : QTMApplication::notify(QObject*, QEvent*) + 15
  14  TeXmacs                             0x00000001095b1aa1 : QCoreApplication::notifyInternal(QObject*, QEvent*) + 113
  15  TeXmacs                             0x0000000108e2f89c -[QCocoaView : insertText:]() + 396
  16  AppKit                              0x00007fff3063322b -[NSTextInputContext(NSInputContext_WithCompletion) : insertText:replacementRange:completionHandler:]() + 293
  17  AppKit                              0x00007fff30d902a2 __55-[NSTextInputContext : handleTSMEvent:completionHandler:]_block_invoke_2.328() + 102
  18  AppKit                              0x00007fff306330fb -[NSTextInputContext : do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:]() + 105
  19  AppKit                              0x00007fff30632fc2 -[NSTextInputContext : tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:]() + 310
  20  AppKit                              0x00007fff30d8fba4 __55-[NSTextInputContext : handleTSMEvent:completionHandler:]_block_invoke.282() + 3027
  21  AppKit                              0x00007fff30632c0c __55-[NSTextInputContext : handleTSMEvent:completionHandler:]_block_invoke_2() + 74
  22  AppKit                              0x00007fff30632b8f -[NSTextInputContext : tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:]() + 87
  23  AppKit                              0x00007fff30632197 -[NSTextInputContext : handleTSMEvent:completionHandler:]() + 1794
  24  AppKit                              0x00007fff30631a25 : _NSTSMEventHandler() + 299
  25  HIToolbox                           0x00007fff31d798ff : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1254
  26  HIToolbox                           0x00007fff31d78d8d : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 329
  27  HIToolbox                           0x00007fff31d78c3d : SendEventToEventTargetWithOptions() + 45
  28  HIToolbox                           0x00007fff31dd592b : SendTSMEvent_WithCompletionHandler() + 381
  29  HIToolbox                           0x00007fff31f81143 : __SendTextInputEvent_WithCompletionHandler_block_invoke() + 489
  30  HIToolbox                           0x00007fff31f7f92c : SendTextInputEvent_WithCompletionHandler() + 1126
  31  HIToolbox                           0x00007fff31fe05f4 -[IMKInputSession : _postEvent:completionHandler:]() + 156
  32  HIToolbox                           0x00007fff31ff280b -[IMKInputSession : insertText:replacementRange:completionHandler:]() + 296
  33  HIToolbox                           0x00007fff31ff30ec -[IMKInputSession : insertText:replacementRange:validFlags:completionHandler:]() + 96
  34  HIToolbox                           0x00007fff31fe14c8 __71-[IMKInputSession : imkxpc_insertText:replacementRange:validFlags:reply:]_block_invoke() + 567
  35  CoreFoundation                      0x00007fff331759ec : _CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK_() + 12
  36  CoreFoundation                      0x00007fff33175934 : __CFRunLoopDoBlocks() + 379
  37  CoreFoundation                      0x00007fff33174e2d : __CFRunLoopRun() + 2450
  38  CoreFoundation                      0x00007fff33173e3e : CFRunLoopRunSpecific() + 462
  39  HIToolbox                           0x00007fff31de7232 -[IMKInputSessionXPCInvocation : invocationAwaitXPCReply]() + 470
  40  HIToolbox                           0x00007fff31fd2ced __49-[IMKInputSession : handleEvent:completionHandler:]_block_invoke_2.433() + 1552
  41  HIToolbox                           0x00007fff31fd2206 __49-[IMKInputSession : handleEvent:completionHandler:]_block_invoke_2.403() + 442
  42  HIToolbox                           0x00007fff31fc0f80 -[IMKClient : switchedInputMode:completionHandler:]() + 398
  43  HIToolbox                           0x00007fff31fd124d -[IMKInputSession : tryHandleEventSwitchedInputMode:eventWasHandled:continuationHandler:]() + 109
  44  HIToolbox                           0x00007fff31fd2012 __49-[IMKInputSession : handleEvent:completionHandler:]_block_invoke.402() + 203
  45  HIToolbox                           0x00007fff31fd1e5a __49-[IMKInputSession : handleEvent:completionHandler:]_block_invoke() + 264
  46  HIToolbox                           0x00007fff31fdd279 -[IMKInputSession : _eventIsOn:completionHandler:]() + 2008
  47  HIToolbox                           0x00007fff31fd1707 -[IMKInputSession : handleEvent:completionHandler:]() + 794
  48  HIToolbox                           0x00007fff31f8e310 : IMKInputSessionProcessEventRefWithCompletionHandler() + 114
  49  HIToolbox                           0x00007fff31f8da52 : InputMethodInstanceProcessEventRef_WithCompletionHandler() + 122
  50  HIToolbox                           0x00007fff31f7ee15 : __TSMEventToInputMethod_WithCompletionHandler_block_invoke() + 117
  51  HIToolbox                           0x00007fff31f7ebe4 : TSMEventToInputMethod_WithCompletionHandler() + 147
  52  HIToolbox                           0x00007fff31f7eb31 : TSMEventToKeyboardInputMethod_WithCompletionHandler() + 120
  53  HIToolbox                           0x00007fff31dd4e99 : TSMKeyEvent_WithCompletionHandler() + 599
  54  HIToolbox                           0x00007fff31dd4c27 : __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4() + 250
  55  HIToolbox                           0x00007fff31dd4aa6 : __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3() + 257
  56  HIToolbox                           0x00007fff31dd4872 : __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2() + 282
  57  HIToolbox                           0x00007fff31dd4625 : __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke() + 274
  58  HIToolbox                           0x00007fff31dc315d : TSMProcessRawKeyEventWithOptionsAndCompletionHandler() + 3403
  59  AppKit                              0x00007fff30d93c71 __84-[NSTextInputContext : _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.808() + 110
  60  AppKit                              0x00007fff30d939c3 __204-[NSTextInputContext : tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.765() + 120
  61  AppKit                              0x00007fff306304df -[NSTextInputContext : tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]() + 245
  62  AppKit                              0x00007fff3062fec5 -[NSTextInputContext : _handleEvent:options:allowingSyntheticEvent:completionHandler:]() + 1434
  63  AppKit                              0x00007fff3062f8ee -[NSTextInputContext : _handleEvent:allowingSyntheticEvent:]() + 105
  64  AppKit                              0x00007fff3062f7e3 -[NSView : interpretKeyEvents:]() + 209
  65  TeXmacs                             0x0000000108e2f41f -[QCocoaView : keyDown:]() + 207
  66  AppKit                              0x00007fff3058cd5d -[NSWindow(NSEventRouting) : _reallySendEvent:isDelayedEvent:]() + 6512
  67  AppKit                              0x00007fff3058b1c9 -[NSWindow(NSEventRouting) : sendEvent:]() + 349
  68  TeXmacs                             0x0000000108e2b221 -[QCocoaPanel : sendEvent:]() + 113
  69  AppKit                              0x00007fff30589efe -[NSApplication(NSEvent) : sendEvent:]() + 2826
  70  TeXmacs                             0x0000000108e36f01 -[QNSApplication : sendEvent:]() + 97
  71  AppKit                              0x00007fff306e6f3b -[NSApplication : _doModalLoop:peek:]() + 388
  72  AppKit                              0x00007fff3087940c __33-[NSApplication : runModalSession:]_block_invoke_2() + 69
  73  AppKit                              0x00007fff308793b4 __33-[NSApplication : runModalSession:]_block_invoke() + 78
  74  AppKit                              0x00007fff306e54c4 : _NSTryRunModal() + 100
  75  AppKit                              0x00007fff308792af -[NSApplication : runModalSession:]() + 128
  76  TeXmacs                             0x0000000108e3fcea : QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1402
  77  TeXmacs                             0x00000001095aeaee : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 478
  78  TeXmacs                             0x000000010933c5a4 : QDialog::exec() + 244
  79  TeXmacs                             0x0000000108b13191 : qt_inputs_list_widget_rep::perform_dialog() + 1569
  80  TeXmacs                             0x0000000108b12922 : qt_inputs_list_widget_rep::send(slot, blackbox) + 770
  81  TeXmacs                             0x0000000108b11181 : qt_field_widget_rep::send(slot, blackbox) + 753
  82  TeXmacs                             0x00000001084d7370 : void send<bool>(widget, slot, bool) + 96
  83  TeXmacs                             0x0000000108c51a75 : tm_frame_rep::interactive(object, tree) + 3221
  84  TeXmacs                             0x00000001088187aa : tmg_tm_interactive(scm_unused_struct*, scm_unused_struct*) + 122
  85  TeXmacs                             0x00000001096b5eb6 : deval() + 10038
  86  TeXmacs                             0x00000001096bb279 : scm_dapply() + 1241
  87  TeXmacs                             0x000000010970463a : scm_c_with_throw_handler() + 202
  88  TeXmacs                             0x0000000109704487 : scm_c_catch() + 391
  89  TeXmacs                             0x0000000109704568 : scm_internal_catch() + 24
  90  TeXmacs                             0x000000010885a778 : call_scheme(scm_unused_struct*) + 72
  91  TeXmacs                             0x00000001089d3cd6 : call(object) + 38
  92  TeXmacs                             0x00000001089d49ec : protected_call(object) + 92
  93  TeXmacs                             0x00000001087b88f6 : tmg_protected_call(scm_unused_struct*) + 70
  94  TeXmacs                             0x00000001096b5eef : deval() + 10095
  95  TeXmacs                             0x00000001096bb279 : scm_dapply() + 1241
  96  TeXmacs                             0x000000010970463a : scm_c_with_throw_handler() + 202
  97  TeXmacs                             0x0000000109704487 : scm_c_catch() + 391
  98  TeXmacs                             0x0000000109704568 : scm_internal_catch() + 24
  99  TeXmacs                             0x000000010885a778 : call_scheme(scm_unused_struct*) + 72
  100 TeXmacs                             0x00000001089d3cd6 : call(object) + 38
  101 TeXmacs                             0x0000000108b1e22c : command_queue::exec_pending() + 444
  102 TeXmacs                             0x0000000108b1d074 : qt_gui_rep::process_queued_events(int) + 820
  103 TeXmacs                             0x0000000108b1ca8d : qt_gui_rep::update() + 653
  104 TeXmacs                             0x0000000108162233 : QTMGuiHelper::doUpdate() + 19
  105 TeXmacs                             0x00000001095c909a : QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2074
  106 TeXmacs                             0x00000001095c4586 : QObject::event(QEvent*) + 102
  107 TeXmacs                             0x0000000108e7e7cb : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
  108 TeXmacs                             0x0000000108e7f933 : QApplication::notify(QObject*, QEvent*) + 323
  109 TeXmacs                             0x000000010898310f : QTMApplication::notify(QObject*, QEvent*) + 15
  110 TeXmacs                             0x00000001095b1aa1 : QCoreApplication::notifyInternal(QObject*, QEvent*) + 113
  111 TeXmacs                             0x0000000108e3e637 : QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer*, void*) + 199
  112 CoreFoundation                      0x00007fff331907f9 : _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION_() + 20
  113 CoreFoundation                      0x00007fff3319035f : __CFRunLoopDoTimer() + 859
  114 CoreFoundation                      0x00007fff3318fe47 : __CFRunLoopDoTimers() + 322
  115 CoreFoundation                      0x00007fff33174bea : __CFRunLoopRun() + 1871
  116 CoreFoundation                      0x00007fff33173e3e : CFRunLoopRunSpecific() + 462
  117 HIToolbox                           0x00007fff31da0abd : RunCurrentEventLoopInMode() + 292
  118 HIToolbox                           0x00007fff31da07d5 : ReceiveNextEventCommon() + 584
  119 HIToolbox                           0x00007fff31da0579 : _BlockUntilNextEventMatchingListInModeWithFilter() + 64
  120 AppKit                              0x00007fff303e6039 : _DPSNextEvent() + 883
  121 AppKit                              0x00007fff303e4880 -[NSApplication(NSEvent) : _nextEventMatchingEventMask:untilDate:inMode:dequeue:]() + 1352
  122 AppKit                              0x00007fff303d658e -[NSApplication : run]() + 658
  123 TeXmacs                             0x0000000108e4005f : QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2287
  124 TeXmacs                             0x00000001095aeaee : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 478
  125 TeXmacs                             0x00000001095b20e1 : QCoreApplication::exec() + 193
  126 TeXmacs                             0x00000001080c8d8f : TeXmacs_main(int, char**) + 11775
  127 TeXmacs                             0x00000001096cf634 : invoke_main_func() + 36

-------------------------------------------------
libc++abi.dylib: terminating with uncaught exception of type string
[1]    88855 abort      /Applications/TeXmacs.app/Contents/MacOS/TeXmacs

Darcy Shen <sadhen>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by sadhen (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-02 vdhoeven StatusNone => Need Info
        Assigned toNone => vdhoeven

    Back to the top


    Powered by Savane 3.5