Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

This is an old problem that only triggers if all of the following happen at once:

  • The request is handled by a specific PM web server
  • A node on the page uses <spoiler> tags
  • Inside of the <spoiler> tags are <code> tags
  • The code is over 32kB or expands to over 32kB when expanded (maybe?) because...
  • The viewing user has a complex "Code Prefix" configured (or similar)
  • At least one other condition that I have not yet identified (perhaps related to how recently Apache has been restarted?)

And then what happens is that the Apache child dies due to "illegal instruction".

See also Re^5: "Invisible" nodes (details) (which includes an example thread that isn't currently failing for me even though I'm currently able to trigger the failure via other means).

Note that trying to combine all of those items together outside of Apache doesn't generate even a warning nor invalid results, even on the same version of Perl that Apache claims to have been linked against. Also note I've yet to figure out any way to get the failing case to tell me any hint about which of the many lines of code involved is where the failure happens (so I could just change it somewhat randomly so that it does the same things but just stops dumping core in that version of Apache).

In the mean time, I replaced a few uses of <spoiler> tags that weren't being used to hide spoilers with <readmore> tags so Cool Uses for Perl should load for everybody no matter which web server they hit (until the next person does that again).

Sorry for the inconvenience.

(Updated a few times in fairly minor ways after posting)

- tye        


In reply to Re: Broken link to "Cool Uses For Perl" ("fixed") by tye
in thread Broken link to "Cool Uses For Perl" by sg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found