Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Tracking down a seg fault

Reply
Thread Tools

Tracking down a seg fault

 
 
Nigel Gilbert
Guest
Posts: n/a
 
      07-05-2003
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?Objec...ngAndThreading), 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
seg-fault on vector-auto-reserve Matthias Kaeppler C++ 2 02-27-2005 10:01 PM
seg fault on different linux boxes with C++. goktan C++ 4 08-02-2004 03:25 PM
fstream::open & seg fault Manuel Maria Diaz Gomez C++ 3 07-20-2004 06:18 PM
seg fault because stdexcept.cc not found? Corrine C++ 1 11-27-2003 06:15 AM
Suprising seg fault!!! Vinod C++ 3 09-27-2003 02:43 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57