recursion bug with global glossary #1

Closed
opened 2022-06-27 13:12:29 +00:00 by bdarcus · 4 comments
bdarcus commented 2022-06-27 13:12:29 +00:00 (Migrated from github.com)

I ran into this again, and unfortunately, lost the backtrace the one time I could get one, and can't re-generate it. I will update this post when and if I can get more info.


What I do remember of the backtrace:

Org-glossary gets pretty far in the process (I believe of parsing the file), and IIRC the last function before it freezes was org-strip-quotes.

And the error is a "max depth exceeded" one; which I guess signals an infinite recursion bug.

This happened when I was just doing a generic latex export; e.g I can't export unless I comment out org-glossary-global-terms.

I ran into this again, and unfortunately, lost the backtrace the one time I could get one, and can't re-generate it. I will update this post when and if I can get more info. ------------ What I do remember of the backtrace: Org-glossary gets pretty far in the process (I believe of parsing the file), and IIRC the last function before it freezes was `org-strip-quotes`. And the error is a "max depth exceeded" one; which I guess signals an infinite recursion bug. This happened when I was just doing a generic latex export; e.g I can't export unless I comment out `org-glossary-global-terms`.
tecosaur commented 2022-06-27 17:31:10 +00:00 (Migrated from github.com)

I added protection for #+include recursion, and definitions from being an instance of the term, so offhand I'm not sure what this could be. I think I'll need at least a backtrace, possibly a working example, to figure this out.

I added protection for `#+include` recursion, and definitions from being an instance of the term, so offhand I'm not sure what this could be. I think I'll need at least a backtrace, possibly a working example, to figure this out.
bdarcus commented 2022-06-28 17:50:19 +00:00 (Migrated from github.com)

When I get a chance, I'll try to reproduce it up with emacs -Q, and update this.

When I get a chance, I'll try to reproduce it up with emacs -Q, and update this.
bdarcus commented 2022-07-07 20:49:08 +00:00 (Migrated from github.com)

I updated just now, and now can't reproduce this error, so will close this!

I updated just now, and now can't reproduce this error, so will close this!
tecosaur commented 2022-07-08 02:21:57 +00:00 (Migrated from github.com)

Great! I'm happy to hear that 🙂

Great! I'm happy to hear that :slightly_smiling_face:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tec/org-glossary#1
No description provided.