GNU TeXmacs - Bugs: bug #58124, Self inclusion of a document...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58124: Self inclusion of a document should result in an error not a segmentation fault
Submitter: | Skalman <skalman> | ||
Submitted: | Mon 06 Apr 2020 12:18:30 PM UTC | ||
Category: | Editor | Priority: | 5 - Normal |
Item Group: | Error | Status: | Fixed |
Privacy: | Public | Assigned to: | vdhoeven |
Originator Name: | Open/Closed: | Closed | |
Release: | None | Release: | |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Sat 24 Oct 2020 10:40:22 PM UTC, comment #1: |
Joris van der Hoeven <vdhoeven> |
Mon 06 Apr 2020 12:18:30 PM UTC, original submission:
I assume that when you (by mistake) insert .tm file in itself as an inclusion an infinite recursive results in segmentation fault. It should instead detect the self-inclusion, warn the user that they are doing something crazy and perhapse ignore the self-inclusion all together (or refuse to load the file clearly citing the reason).
|
Skalman <skalman> |
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-10-24 | vdhoeven | Status | None | Fixed | |
Assigned to | None | vdhoeven | |||
Open/Closed | Open | Closed | |||
2020-10-23 | vdhoeven | Item Group | None | Error | |
2020-04-06 | skalman | Attached File | - | Added c06-consensus.tm, #48772 |
Powered by Savane 3.13-758e.
Corresponding source code
I fixed this bug in revision 13017.
However, I do not prevent cyclic includes.
This would be harder to implement.
We'll do that if someone hits this bug again...