SWI-Prolog / packages-pldoc

The SWI-Prolog documentation system
6 stars 14 forks source link

Markup which infinite-loops the doc server #41

Open dtonhofer opened 3 years ago

dtonhofer commented 3 years ago

The markup

| =|*|= | only for non-leaf types: subtypes exist which are =|?|= and others which are =|!|=.  |

is deadly to the doc server:

The page is not displayed, and the CPU really gets a good workout.

Trying to stop SWIPL results in a segmentation fault or

?- ^D
% halt
% The following threads wouldn't die: ['httpd@4000_1']

I feel there is a runaway regex in there.

JanWielemaker commented 3 years ago

I feel there is a runaway regex in there.

Except there are no regexes :smile:

dtonhofer commented 3 years ago

My feeling betrayed me! But that's my Perl heart...