Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: https request causes segmentation fault

by eisdrache (Novice)
on Oct 30, 2006 at 02:45 UTC ( #581173=note: print w/replies, xml ) Need Help??


in reply to Re: https request causes segmentation fault
in thread https request causes segmentation fault

I wish I could give more info but I am baffled at this problem, I have never experienced anything like it before. Anyway, thanks for your reply. I am unfamiliar with strace and ktrace, how exactly would I go about using one of those?
  • Comment on Re^2: https request causes segmentation fault

Replies are listed 'Best First'.
Re^3: https request causes segmentation fault
by Zaxo (Archbishop) on Oct 30, 2006 at 02:55 UTC

    The strace or ktrace utils are found on unix-like systems. The simplest usage is, e.g.,

    prompt> strace perl myscript.pl
    which will be followed by a huge dump of information.

    If you're on a winders system, perhaps someone who knows will suggest an equivalent diagnostic utility.

    After Compline,
    Zaxo

Re^3: https request causes segmentation fault
by madbombX (Hermit) on Oct 30, 2006 at 02:50 UTC
    Assuming that you are on a linux system, either do a man strace or check out the man page for strace. IIRC, ktrace is more of a *BSD thing. If you are using a BSD platform, then check out the ktrace man page. It all depends on what platform you are doing this all on.
Re^3: https request causes segmentation fault
by superfrink (Curate) on Oct 30, 2006 at 03:17 UTC
    These tools can print out information about system calls that the perl interpreter makes to your operating system to get things done. (eg: opening a file and any error that occurred) I don't normally use strace until I'm out of other ideas but it can be helpful.

    On Linux you can use strace, on Solaris truss, and on OpenBSD ktrace. Check out the man page or try googling for some examples.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://581173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-22 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?