6.0.0-beta1
7/6/25

[#10564] Using Code tags with large segments of code segfaults apache
Summary Using Code tags with large segments of code segfaults apache
Queue Wicked
Queue Version 1.0-ALPHA1
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester simon (at) simonandkate (dot) net
Created 09/28/2011 (5030 days ago)
Due
Updated 11/30/2011 (4967 days ago)
Assigned 10/03/2011 (5025 days ago)
Resolved 11/30/2011 (4967 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/30/2011 01:23:56 PM Jan Schneider State ⇒ No Feedback
 
10/27/2011 09:16:40 PM Jan Schneider Comment #6 Reply to this comment
Ping?
10/14/2011 09:45:42 AM Jan Schneider Comment #5 Reply to this comment
Can you test if replacing the $regex property in your pear's 
Text/Wiki/Parse/Mediawiki/Code.php with the following helps:
var $regex = ';<code(\s[^>]*)?>(?:<pre>)?\n?(.*?)(?:</pre>)?\n?</code>;msi';
10/14/2011 04:49:56 AM simon (at) simonandkate (dot) net Comment #4 Reply to this comment
MediaWiki engine.
10/03/2011 05:08:46 PM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
There isn't much we can do about segfaults. There was some problem 
with the original <code> parser that might have caused this, but it 
shouldn't happen with our improved parsing rule. Are you using the 
Default engine?
09/28/2011 02:23:24 PM simon (at) simonandkate (dot) net Comment #2 Reply to this comment
Sorry, it's late - that doesn't make much sense.

What I meant was that the imported pages have large chunks of code.
09/28/2011 02:21:53 PM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Using Code tags with large segments of code segfaults apache
Queue ⇒ Wicked
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I am importing pages into Wicked, and a couple of them have large (one 
of them is a dumped httpd.conf file of about 1100 lines). As soon as I 
enclose the content in <code> </code> tags and save, I get an instant 
Apache Segfault.

Saved Queries