GNU TeXmacs - Bugs: bug #61884, Segmentation fault when closing...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61884: Segmentation fault when closing windows with unsaved documents
Submitter: | Jeroen Wouters <jeronim> | ||
Submitted: | Thu 20 Jan 2022 10:40:41 PM UTC | ||
Category: | Qt port | Priority: | 7 - High |
Item Group: | Error | Status: | Ready For Test |
Privacy: | Public | Assigned to: | mgubi |
Originator Name: | Open/Closed: | Open | |
Release: | None | Release: | 2.1.1 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Jump to the original submission
Sun 06 Aug 2023 03:39:10 PM UTC, comment #11: |
Joris van der Hoeven <vdhoeven>![]() |
Wed 04 Jan 2023 07:50:21 PM UTC, comment #10: I was experiencing the bug in linux because that's what I use >99% of time. I tested that the proposed fix does not cause any obvious problem in windows, but I can't test on MacOS.
|
Philippe Joyez <pjoyez>![]() |
Mon 02 Jan 2023 11:13:03 AM UTC, comment #9:
|
Massimiliano Gubinelli <mgubi>![]() ![]() |
Mon 02 Jan 2023 10:40:04 AM UTC, comment #8: In ~qt_window_widget_rep (), changing "qwid->deleteLater()" to "delete qwid" is an effective fix for this bug.
|
Philippe Joyez <pjoyez>![]() |
Sun 01 Jan 2023 07:08:24 PM UTC, comment #7: I now have several simple patterns that crash TeXmacs with certainty or very high probability, even with debug symbols and debug switches.
|
Philippe Joyez <pjoyez>![]() |
Thu 08 Dec 2022 10:36:54 AM UTC, comment #6: I confirm that for me too, when working with several windows and closing one of them, Texmacs crashes occasionally. Given this occurs when closing windows, it somewhat reminds me of bug #49655...
|
Philippe Joyez <pjoyez>![]() |
Mon 17 Oct 2022 09:23:41 AM UTC, comment #5: I just tried this with the Qt4 version from the website (from the rpm for Fedora) and the Qt5 AppImage version by Philippe. I can't reproduce it in either. It may be something about my particular version of Qt. |
Jeroen Wouters <jeronim>![]() |
Thu 19 May 2022 10:00:21 AM UTC, comment #4: I have obtained a more informative backtrace from gdb with full debug info (attached in txt and highlighted html format). |
Jeroen Wouters <jeronim>![]() |
Thu 27 Jan 2022 10:56:26 AM UTC, comment #3: I get the following on the terminal:
|
Jeroen Wouters <jeronim>![]() |
Thu 27 Jan 2022 06:32:49 AM UTC, comment #2: Do you have some crash logs to look at? |
Massimiliano Gubinelli <mgubi>![]() ![]() |
Fri 21 Jan 2022 10:08:15 AM UTC, comment #1: According to gdb the segmentation fault happens on line 57 of `QTMWindow.cpp` in side `void QTMWindow::moveEvent (QMoveEvent * event)`. This is with Qt 5.15.2.
|
Jeroen Wouters <jeronim>![]() |
Thu 20 Jan 2022 10:40:41 PM UTC, original submission:
With buffer management set to `Documents in separate windows`, I am seeing occasional segmentation faults when closing documents.
|
Jeroen Wouters <jeronim>![]() |
Depends on the following items: None found
Items that depend on this one: None found
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 |
---|---|---|---|---|---|
2023-08-07 | vdhoeven | Category | None | ![]() |
Qt port |
Priority | 5 - Normal | ![]() |
7 - High | ||
Status | None | ![]() |
Ready For Test | ||
Assigned to | None | ![]() |
mgubi | ||
2022-05-19 | jeronim | Attached File | - | ![]() |
Added texmacs-bt.txt, #53228 |
Attached File | - | ![]() |
Added texmacs-bt.html, #53229 |
I tested under MacOS. With Qt4, the new code systematically segfaults when loading a document that opens a warning window (e.g. some newer entries in the bibliography) and then closing.
With Qt5 this still occurs sporadically, but in a non-deterministic manner. With Qt5, I also get the following messages when closing Qt5 (after loading the document as above):
I #ifdeffed the Mac case.
Max: any idea why we have this problem under MacOS?