bugGNU TeXmacs - Bugs: bug #58665, Texmacs freezes, crashes when...

 
 

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

bug #58665: Texmacs freezes, crashes when opening a new window while on Drawing mode

Submitter:  Pierre-Henri Jondot <phjondot>
Submitted:  Sun 28 Jun 2020 04:16:58 AM UTC
   
 
Category:  None Priority:  7 - High
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.13
Fixed Release:  None Fixed Release: 
Keywords: 

Jump to the original submission

Sun 22 Nov 2020 11:58:13 AM UTC, comment #6: 

Fixed again in revision 13197.

Joris van der Hoeven <vdhoeven>
Group administrator
Mon 26 Oct 2020 05:06:46 PM UTC, comment #5: 

For further testing, I built last version (revision 13019 just fetched from svn) under linux (a fresh install of linux mint in a vm)

The bug described here is still there. TeXmacs segfaults...

Pierre-Henri Jondot <phjondot>
Sun 25 Oct 2020 06:15:26 PM UTC, comment #4: 

The same applies to linux, with 1.99.13 release of TeXmacs at least.

Assuming TeXmacs is configured to open new documents in new windows, the bug is present and TeXmacs segfaults.

Steps to reproduce the bug :
- make sure TeXmacs open Documents in separate windows (Edit->Preferences->Buffer management)
- initiate a Drawing or edit an existing drawing (no need to draw anything actually. Being in drawing mode is enough)
- while in drawing mode, open another document, some help page, or whatever makes texmacs create a new buffer.

And that's it.

Now again, maybe 1.99.14 fixes it, but 1.99.13 is still the current version on the website so...

Pierre-Henri Jondot <phjondot>
Sat 24 Oct 2020 05:58:42 PM UTC, comment #3: 

It seems I can't reopen this bug, but nothing has changed for me.

It may well be upcoming version 1.99.14 fixes it, but for the time being, the current version has this bug. I can confirm it is in the windows version (tested on two pc running windows 10) and the macos (tested on 3 computers, running Mojave and Catalina)

I couldn't reproduce the bug under linux, but I think I now know why.

The bug only appears when opening a new window (a new document, some help page) while in drawing mode.

If texmacs is configured (Buffer management) so as multiple documents share one window, there is no segfaulting, but if texmacs is configured so as different documents open different windows (which is the default setting in windows and macos at least, and the setting I do prefer myself), then texmacs crashes.

If some binary for upcoming version 1.99.14 is available for testing, I'll gladly test it...

Pierre-Henri Jondot <phjondot>
Sat 24 Oct 2020 04:30:14 PM UTC, comment #2: 

I just tried (revision 13013, upcoming version 1.99.14) and could not reproduce the problem.

If you compiled TeXmacs yourself, maybe you did something strange.  Denis Raux or Massimiliano Gubinelli should be able to give instructions on how to compile a correct version under MacOS.

Please re-open the bug if the problem persists for you.

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 18 Jul 2020 12:54:21 PM UTC, comment #1: 

Just a follow-up... I tried building TeXmacs, which was a bit of a hassle (some recent changes in Qt I guess). No change but running TeXmacs (from TeXmacs.app/Contents/MacOS) gives a bit more info : TeXmacs segfaults and the backtrace is :
  1   TeXmacs                             0x000000010db6c08f : get_crash_report(char const*) + 415
  2   TeXmacs                             0x000000010d0ae333 : tm_throw(char const*) + 83
  3   TeXmacs                             0x000000010cdf2cb7 : clean_exit_on_segfault(int) + 23
  4   libsystem_platform.dylib            0x00007fff7acacb5d : _sigtramp() + 29
  5   TeXmacs                             0x000000010cdfb611 : void tm_delete<string_rep>(string_rep*) + 33
  6   TeXmacs                             0x000000010d63de14 : tmscm_is_path(scm_unused_struct*) + 52
  7   TeXmacs                             0x000000010d6858a5 : tmg_path_2tree(scm_unused_struct*) + 21
  8   libguile.17.dylib                   0x000000010fe54cda : deval() + 9156
  9   libguile.17.dylib                   0x000000010fe52bfb : deval() + 741
  10  libguile.17.dylib                   0x000000010fe52bfb : deval() + 741
  11  libguile.17.dylib                   0x000000010fe54500 : deval() + 7146
  12  libguile.17.dylib                   0x000000010fe53c1b : deval() + 4869
  13  libguile.17.dylib                   0x000000010fe53c1b : deval() + 4869
  14  libguile.17.dylib                   0x000000010fe53c1b : deval() + 4869
  15  libguile.17.dylib                   0x000000010fe53c1b : deval() + 4869
  16  libguile.17.dylib                   0x000000010fe510c0 : iqq() + 382
  17  libguile.17.dylib                   0x000000010fe5104f : iqq() + 269
  18  libguile.17.dylib                   0x000000010fe598ae : scm_dapply() + 1610
  19  libguile.17.dylib                   0x000000010fe54b6d : deval() + 8791
  20  libguile.17.dylib                   0x000000010fe52bfb : deval() + 741
  21  libguile.17.dylib                   0x000000010fe59740 : scm_dapply() + 1244
  22  TeXmacs                             0x000000010d6e8e9d : TeXmacs_call(arg_list*) + 77
  23  TeXmacs                             0x000000010d6e7b95 : TeXmacs_call_scm(arg_list*) + 21
  24  TeXmacs                             0x000000010d6e7b4a : call_scheme(scm_unused_struct*) + 58
  25  TeXmacs                             0x000000010d88af86 : call(char const*) + 70
  26  TeXmacs                             0x000000010d34b327 : edit_interface_rep::apply_changes() + 25815
  27  TeXmacs                             0x000000010db77fe9 : tm_server_rep::interpose_handler() + 281
  28  TeXmacs                             0x000000010db76716 : texmacs_interpose_handler() + 54
  29  TeXmacs                             0x000000010da0e1e6 : qt_gui_rep::update() + 854
  30  TeXmacs                             0x000000010cf6a7c9 : QTMGuiHelper::doUpdate() + 25
  31  TeXmacs                             0x000000010d8309b7 : QTMGuiHelper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 199
  32  QtCore                              0x000000010f97996c : QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 3868
  33  QtCore                              0x000000010f982bb2 : QTimer::timerEvent(QTimerEvent*) + 98
  34  QtCore                              0x000000010f9715d1 : QObject::event(QEvent*) + 113
  35  QtWidgets                           0x000000010eba5b0d : QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
  36  QtWidgets                           0x000000010eba6f45 : QApplication::notify(QObject*, QEvent*) + 581
  37  TeXmacs                             0x000000010d82ff05 : QTMApplication::notify(QObject*, QEvent*) + 37
  38  QtCore                              0x000000010f9475d4 : QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
  39  QtCore                              0x000000010f9aac62 : QTimerInfoList::activateTimers() + 930
  40  libqcocoa.dylib                     0x0000000112c1d572 : qt_plugin_instance() + 190194
  41  CoreFoundation                      0x00007fff4eac8adb : _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_() + 17
  42  CoreFoundation                      0x00007fff4eac8a81 : __CFRunLoopDoSource0() + 108
  43  CoreFoundation                      0x00007fff4eaac98b : __CFRunLoopDoSources0() + 195
  44  CoreFoundation                      0x00007fff4eaabf53 : __CFRunLoopRun() + 1196
  45  CoreFoundation                      0x00007fff4eaab855 : CFRunLoopRunSpecific() + 459
  46  HIToolbox                           0x00007fff4dcfc1ab : RunCurrentEventLoopInMode() + 292
  47  HIToolbox                           0x00007fff4dcfbee5 : ReceiveNextEventCommon() + 603
  48  HIToolbox                           0x00007fff4dcfbc76 : _BlockUntilNextEventMatchingListInModeWithFilter() + 64
  49  AppKit                              0x00007fff4c09477d : _DPSNextEvent() + 1135
  50  AppKit                              0x00007fff4c09346b -[NSApplication(NSEvent) : _nextEventMatchingEventMask:untilDate:inMode:dequeue:]() + 1361
  51  AppKit                              0x00007fff4c08d588 -[NSApplication : run]() + 699
  52  libqcocoa.dylib                     0x0000000112c1e33c : qt_plugin_instance() + 193724
  53  QtCore                              0x000000010f94375f : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
  54  QtCore                              0x000000010f947b62 : QCoreApplication::exec() + 130
  55  TeXmacs                             0x000000010da0de7b : qt_gui_rep::event_loop() + 43
  56  TeXmacs                             0x000000010da0e390 : gui_start_loop() + 16
  57  TeXmacs                             0x000000010cdf8c22 : TeXmacs_main(int, char**) + 19202
  58  TeXmacs                             0x000000010d6e77e3 : new_call_back(void*, int, char**) + 35
  59  libguile.17.dylib                   0x000000010fe6c861 : invoke_main_func() + 36
  60  libguile.17.dylib                   0x000000010fe47912 : c_body() + 15
  61  libguile.17.dylib                   0x000000010fea06cd : scm_c_catch() + 387
  62  libguile.17.dylib                   0x000000010fe47895 : scm_i_with_continuation_barrier() + 152
  63  libguile.17.dylib                   0x000000010fe478f8 : scm_c_with_continuation_barrier() + 55
  64  libguile.17.dylib                   0x000000010fe9eea3 : scm_i_with_guile_and_parent() + 41
  65  libguile.17.dylib                   0x000000010fe6c827 : scm_boot_guile() + 41
  66  TeXmacs                             0x000000010d6e77b9 : start_scheme(int, char**, void ()(int, char*)) + 73
  67  TeXmacs                             0x000000010cdfabbc : main() + 1468
  68  libdyld.dylib                       0x00007fff7aac13d5 : start() + 1
  69  ???                                 0x0000000000000002 : 0x0() + 2

Pierre-Henri Jondot <phjondot>
Sun 28 Jun 2020 04:16:58 AM UTC, original submission:  

On macos 10.14.6 (mojave), if I try to open any other document (even help files) when in drawing mode, TeXmacs freezes and needs a force quit... (Picture attached for the appearance of the new window.)

I try deleting .TeXmacs with no effect whatsoever.

On windows 10, about the same : when opening any other document while drawing, a blank window appears, with TeXmacs crashing a couple of seconds after.

I couldn't reproduce the bug on linux mint xfce, but the configuration of TeXmacs here seems to differ, as a new document isn't opened in a new window but "replaces" the current one.

P.S. : the bug was already there in 1.99.12, and before submitting this bug report, I upgraded to 1.99.13 where the bug is still present.

Pierre-Henri Jondot <phjondot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

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 phjondot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-22 vdhoeven Priority5 - Normal 7 - High
        StatusWorks For Me Fixed
    2020-10-24 vdhoeven StatusNone Works For Me
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
    2020-06-28 phjondot Attached File- Added Capture@d’écran@2020-06-28@à@06.08.17.png, #49382

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code