Tracking down a seg fault

Discussion in 'Ruby' started by Nigel Gilbert, Jul 5, 2003.

  1. I am getting

    webcount.rb:818: [BUG] Segmentation fault
    ruby 1.6.8 (2002-12-24) [powerpc-darwin6.6]
    Abort

    from my program. It happens after running the program for some tens of
    minutes, and the location identified varies apparently randomly. (The
    program essentially downloads web pages in order to measure their size
    in terms of pages, links, images etc. for some work I am doing on
    devising new indicators of the 'digital economy').

    I need advice on the best strategy to use to identify what is going
    wrong. The program uses threads (obtained through the Resource Pooling
    code to be found at
    http://www.rubygarden.org/ruby?ObjectPoolingAndThreading), and
    net/http, both of which could, I suppose, complicate matters, and the
    program is about 900 lines of code, so a strategy is rather important!

    Your advice would be much appreciated.

    Nigel
    Nigel Gilbert, Jul 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vinod

    Suprising seg fault!!!

    Vinod, Sep 27, 2003, in forum: C++
    Replies:
    3
    Views:
    460
    Ron Natalie
    Sep 27, 2003
  2. Corrine
    Replies:
    1
    Views:
    415
    Gianni Mariani
    Nov 27, 2003
  3. Manuel Maria Diaz Gomez

    fstream::open & seg fault

    Manuel Maria Diaz Gomez, Jul 20, 2004, in forum: C++
    Replies:
    3
    Views:
    1,174
    John Harrison
    Jul 20, 2004
  4. goktan
    Replies:
    4
    Views:
    2,014
    Howard
    Aug 2, 2004
  5. Matthias Kaeppler

    seg-fault on vector-auto-reserve

    Matthias Kaeppler, Feb 27, 2005, in forum: C++
    Replies:
    2
    Views:
    460
    Victor Bazarov
    Feb 27, 2005
Loading...

Share This Page