Unterminated PHP comment induces crash

Bug #869207 reported by Duncan Gillis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
New
Medium
Unassigned

Bug Description

I'm using nxhtml-2.08-100425 and Emacs23 on Ubunti 11.04.

If I omit a newline at the end of a PHP file immediately following the closing tag "?>", then upon opening a multiline comment with "/*", Emacs becomes unresponsive.

Backtrace displays "Internal error in rng-validate-mode triggered at buffer position 13. Args out of range: 6, 17".

Thanks.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks Duncan,

Can you please try the latest beta from the nXhtml repository and tell me if you still see the problem there?

Changed in nxhtml:
importance: Undecided → Medium
Revision history for this message
Duncan Gillis (duncanmgillis) wrote :

There's still some grumbling, but at least Emacs is staying stable.

When I repeat what I did before, upon typing the opening comment there appears a "mumao-fontify-region: Args out of range: 70, 81" message which disappears upon typing the closing comment tag.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks Duncan, I have not got time to look into this now, but I would appreciate a reproducible example so I (or someone else) can look into it later when I have time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.