[#45938] How to make a virtual 2nd column!!! — Kurt Euler <keuler@...>
All-
[#45942] win32ole and excel — Martin Stannard <martin@...>
Hi,
[#45948] "gets" blocking process not thread (in Windows only) — Matt Pattison <mfp@...>
The problem with my program is that (in Windows) gets seems to block the entire
Hi,
On Fri, Aug 02, 2002 at 10:31:15AM +0900, nobu.nokada@softhome.net wrote:
Hi,
[#45998] vim indenteation for ruby — Daniel Bretoi <lists@...>
[#46004] Checking whether a process exists (unix) — Harry Ohlsen <harryo@...>
To check whether a process with a given ID is still running on unix, I would
[#46023] Style: where to require in libs? — <bbense+comp.lang.ruby.Aug.01.02@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#46030] IO.readlines is slow ? — "Shashank Date" <ADATE@...>
I really like the convenience of doing:
[#46048] RE: GetoptLong#to_hash — "Berger, Daniel" <djberge@...>
[#46072] How to Load Script from a C Extension? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#46091] JRuby changes breaking code? — adamon@... (Damon)
I am running the sample code straight out of Ruby Developer's Guide,
[#46105] Ruby on the Sharp Zaurus PDA — Ian Macdonald <ian@...>
Hi,
Hi,
On Sun 04 Aug 2002 at 06:26:20 +0900, Jerome Gotangco wrote:
[#46107] embed or swig? — ptkwt@...1.aracnet.com (Phil Tomson)
I'm working a C++ project for a contract I'm doing. Originally, the
"Massimiliano Mirra" <list@NOSPAMchromatic-harp.com> wrote in message
i was just reading over a little of the swig docs and HOLY CODING! from
I'm working on a wxWindows port for Ruby (called, predictably, wxRuby),
[#46125] Deprecation and Unicode — Danny van Bruggen <danny@...>
Hello all,
[#46128] Assoc Class (Hash Pairs) — Tom Sawyer <transami@...>
i've been thinking about posting this as an RCR.
> i've been thinking about posting this as an RCR.
----- Original Message -----
Hello --
On Sun, 2002-08-04 at 06:40, David Alan Black wrote:
Hi --
[#46132] mini-ANN: Magnetic Poetry via TkCanvas — Phlip <phlip_cpp@...>
Rubies:
[#46136] Should this work? — "Hal E. Fulton" <hal9000@...>
Should multiple assignment work for the
[#46151] String -> Integer anomoly? — "Gavin Sinclair" <gsinclair@...>
Why does "09".to_i return 9
[#46192] Detecting when an instance variable is created/set — Harry Ohlsen <harryo@...>
Imagine we have a class like ...
On Sun, 2002-08-04 at 06:03, Harry Ohlsen wrote:
> > Can I write a method (of class Object or Kernel, perhaps) that will be
On Sun, Aug 04, 2002 at 10:32:44PM +0900, Harry Ohlsen wrote:
> Would it be enough for you to catch creation of instance variables in
On Mon, Aug 05, 2002 at 04:59:40AM +0900, Harry Ohlsen wrote:
[#46264] Dynamic creation of classes and methods — Tomasz Wegrzanowski <taw@...>
I want to create classes and methods on fly.
>>>>> "T" == Tomasz Wegrzanowski <taw@users.sourceforge.net> writes:
On Mon, Aug 05, 2002 at 05:51:58PM +0900, ts wrote:
>>>>> "T" == Tomasz Wegrzanowski <taw@users.sourceforge.net> writes:
On Mon, Aug 05, 2002 at 07:37:50PM +0900, ts wrote:
[#46270] Regex question — "Gavin Sinclair" <gsinclair@...>
Folks,
Hello --
On Mon, Aug 05, 2002 at 11:37:12AM +0900, David Alan Black wrote:
> On Mon, Aug 05, 2002 at 11:37:12AM +0900, David Alan Black wrote:
[#46296] ruby-dev summary 17714-17874 — Takaaki Tateishi <ttate@...>
[#46326] RE: EW is unable to deliver — "Hammond, Tony (ELSLON)" <T.Hammond@...>
[#46337] Super-iterator? (long) — "Hal E. Fulton" <hal9000@...>
Here's an idea for you. I've worked on it a couple of days.
[#46341] More questions on automation from na誰ve Windows user. — Chris Gehlker <gehlker@...>
Hi all,
> I do have IE and it's supposedly scriptable. I just
[#46356] Coding challenge (on Ruby Garden) — David Alan Black <dblack@...>
Hello --
Hi --
On Mon, 2002-08-05 at 18:58, David Alan Black wrote:
David Alan Black <dblack@candle.superlink.net> wrote in message news:<Pine.LNX.4.30.0208052056270.15880-100000@candle.superlink.net>...
[#46357] Compiling Ruby to Native Code? — web2ed@... (Edward Wilson)
Having looked at OCaml, after following a post to this group, one
On Tue, Aug 06, 2002 at 10:19:54AM +0900, Edward Wilson wrote:
%% > Game over, if Java or Ruby provides native compilation; it won't make
"Rafael 'Dido' Sevilla" <dido@imperium.ph> wrote in message news:<20020807033226.GB1745@imperium.ph>...
On Thu, Aug 08, 2002 at 08:45:07AM +0900, Lothar Scholz wrote:
[#46393] Writing a method that's added to both Fixnum and Bignum — Harry Ohlsen <harryo@...>
A mate of mine just asked me an interesting question. He had written a method
[#46426] Is There an Inverse of 'rb_define_method'? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#46427] performance about "..." and '...' — tran55555@... (Email55555)
Hi,
[#46442] COM on Unix? — Chris Gehlker <gehlker@...>
As part of my crusade to make Ruby an automation language I read up a little
[#46443] Dup and Clone — "Justin Johnson" <justinj@...>
Could anyone kindly point out the difference between 'dup' and 'clone'?
[#46452] HT delete all files in a directory... — Kurt Euler <keuler@...>
Rubites:
[#46468] sort problem — Ian Macdonald <ian@...>
Hi,
[#46475] Named paramters again — "Justin Johnson" <justinj@...>
Hi --
[#46520] Something that corresponds to Perl's -T and -B tests? — Lloyd Zusman <ljz@...>
I've searched the Ruby documentation, and I can't find descriptions of
>>>>> "L" == Lloyd Zusman <ljz@asfast.com> writes:
ts <decoux@moulon.inra.fr> writes:
[#46523] XHTML output — Francois GORET <fgoret@...1.loxinfo.co.th>
Hi,
[#46532] Class hierarchy... for data — Tom Gilbert <tom@...>
Hey,
[#46539] A very small challenge — "Hal E. Fulton" <hal9000@...>
This is a very minor piece of code,
[#46550] GUI's and the Rouge, Part IV — Kero van Gelder <kero@...>
Funny, two savannah accounts for the same objective:
[#46558] Non trivial features changes in 1.7.2 via CVS — <bbense+comp.lang.ruby.Aug.07.02@...>
-----BEGIN PGP SIGNED MESSAGE-----
<bbense+comp.lang.ruby.Aug.07.02@telemark.stanford.edu> writes:
[#46565] Re: Unicode in Ruby now? — "Marcin 'Qrczak' Kowalczyk" <qrczak@...>
Wed, 7 Aug 2002 16:41:18 +0900, Curt Sampson <cjs@cynic.net> pisze:
On Thu, 8 Aug 2002, Marcin 'Qrczak' Kowalczyk wrote:
Curt Sampson <cjs@cynic.net> wrote in message news:<Pine.NEB.4.44.0208081139480.17422-100000@angelic.cynic.net>...
On Sat, 10 Aug 2002, Bret Jolly wrote:
[#46587] Bug in TkText — Albert Wagner <alwagner@...>
Ruby-1.6.7;Tcl/Tk-8.3.4
[#46615] The whole 'Spades' thing: GA and cardbots — "Hal E. Fulton" <hal9000@...>
OK, I have more useful things to be doing.
[#46646] RE: struct needs to be a constant? — "Berger, Daniel" <djberge@...>
>>>>> "B" == Berger, Daniel <djberge@qwest.com> writes:
Hi,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
Hi,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#46663] ruby sample code runtime problem — markgriffin@... (mark G)
Hello all,
[#46669] Testing for mod_ruby (was "how do i mock the presence / absence of a constant w/out getting warnings?") — patrick-may@... (Patrick May)
Currently, the only reliable way to test for the mod_ruby enviroment
[#46672] Variable validation — "Chris Morris" <chrismo@...>
I've got a class that has a number of instance variables, some of which must
[#46681] Dr. Dobbs Ruby Article — " JamesBritt" <james@...>
The September issue of Dr Dobbs has an article by Phil Tomson on distributed
> The September issue of Dr Dobbs has an article by Phil Tomson on
[#46696] Ruby in EETimes — ptkwt@...1.aracnet.com (Phil Tomson)
When it rains it pours, it seems:
[#46698] Ruby/LibGlade: multiple GladeXML objects — Tom Sawyer <transami@...>
hi,
[#46715] Getting the file name from a File::Stat object? — Lloyd Zusman <ljz@...>
Is there a way to get the file name from a File::Stat object?
At Fri, 9 Aug 2002 22:46:32 +0900,
[#46730] nil || // — Paul Brannan <pbrannan@...>
Why does this not work in Ruby 1.6:
[#46732] ambiguity between local variable assignment and writter method — Tom Sawyer <transami@...>
does anyone else find it annoying that local variable assignment is
Hi --
On Fri, 2002-08-09 at 22:50, dblack@candle.superlink.net wrote:
Hi --
> class A
Hi, Tom. I see a pattern to all of your expectations for Ruby. Are you a
On Sat, 2002-08-10 at 17:44, Albert Wagner wrote:
On Sunday 11 August 2002 02:07 pm, Tom Sawyer wrote:
On Sat, Aug 10, 2002 at 03:00:28AM +0900, Tom Sawyer wrote:
On Fri, 2002-08-09 at 12:05, Paul Brannan wrote:
Tom Sawyer <transami@transami.net> writes:
At Sat, 10 Aug 2002 03:44:45 +0900,
GOTO Kentaro <gotoken@notwork.org> writes:
On Fri, 2002-08-09 at 13:30, Dave Thomas wrote:
How about:
On Fri, 2002-08-09 at 15:19, Rich Kilmer wrote:
Tom Sawyer <transami@transami.net> writes:
[#46776] Unit testing is considered harmful — "MikkelFJ" <mikkelfj-anti-spam@...>
I'm sorry, I could help it. I just find this considered harmful thing
[#46780] The problem with using $1 in regexps — Philip Mak <pmak@...>
sub _num_quotes {
[#46827] Economics of E-books? ( was re: Dr. Dobbs Ruby Article) — " JamesBritt" <james@...>
Re: USD $5 for a single Dr. Dobbs article
[#46841] Ah, I'm finally back from Japan ... — Dossy <dossy@...>
Not like anyone cares (or noticed) but my two week stay in Japan
----- Original Message -----
[#46845] extend Html4? — Philip Mak <pmak@...>
Suppose I have this code:
Hello --
On Sun, Aug 11, 2002 at 09:16:01AM +0900, dblack@candle.superlink.net wrote:
[#46875] To be a Module, or not to be... — Holden Glova <dsafari@...>
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "H" == Holden Glova <dsafari@paradise.net.nz> writes:
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "H" == Holden Glova <dsafari@paradise.net.nz> writes:
On Sun, 2002-08-11 at 03:40, ts wrote:
>>>>> "T" == Tom Sawyer <transami@transami.net> writes:
[#46892] empty file returns nil not empty string? — Thomas Sdergaard <thomass@...>
Hello,
[#46902] "ri test" tells me to see page 430? — Philip Mak <pmak@...>
$ ri test
[#46906] subclassing and @@variable — Philip Mak <pmak@...>
I have the following test code:
Philip Mak wrote:
[#46911] Choosing ruby? — Rhymes <raims@...>
[#46957] Handling forms on database driven websites — Philip Mak <pmak@...>
Ever since I learned Perl, Ruby and MySQL, I've built several database
[#46965] replacing values in some files: line endings etc — Tobias Reif <tobiasreif@...>
Hi,
[#47000] Primary Key Hash help — "Chris Morris" <chrismo@...>
I have a huge data file with rows like this:
> I have a huge data file with rows like this:
[#47053] ruby-dev summary 17875-17964 — TAKAHASHI Masayoshi <maki@...>
There was a lot of discussions in ruby-dev this week.
[#47080] class === class often false? — "Bill Kelly" <billk@...>
Hi,
----- Original Message -----
[#47134] Data_Make_Struct Considered Dangerous? — William Djaja Tjokroaminata <billtj@...>
Hi,
ts <decoux@moulon.inra.fr> wrote:
Hi,
>>>>> "W" == William Djaja Tjokroaminata <billtj@z.glue.umd.edu> writes:
Two things:
[#47163] YAML.rb 0.38 -- Objects in plain text — why the lucky stiff <yaml4r@...>
Pleased to announce the latest YAML.rb product.
[#47199] Is this array operation correct? —
Hi,
[#47202] Minimum version of windows for ruby? — ian <spammapsglenizrainmapsspammaps@...>
Hi -
[#47212] Ruby Weekly News — Dave@...
----- Original Message -----
Please don't take this as a knock of the efforts required to produce the
----- Original Message -----
[#47218] Cannot input Thai character in TkEntry — "nongluk" <nonglukb@...>
Hi,
[#47228] Re: 1.7.2 v. the latest and 1.7.2 windows dist — Andrew Hunt <andy@...>
>> The front page of ruby-lang.org lists 1.7.2 as the current development
[#47240] RE: A few newbie questions... — "Bennett, Patrick" <Patrick.Bennett@...>
You're really going to like Ruby. :>
----- Original Message -----
[#47244] RE: How to use the safe_unlink method? — Kurt Euler <keuler@...>
Guy-
[#47270] Legendary Chaos Computer Club goes Ruby — "MikkelFJ" <mikkelfj-anti-spam@...>
The Chaos Computer Club that spawned legendary hackers in the 80'ties
[#47292] Thought question: Where does "new" come from? — "Hal E. Fulton" <hal9000@...>
I've been brooding again on the circularities
----- Original Message -----
Hi --
Hello --
Hi --
[#47306] adding method to existing class — Eugene Scripnik <Eugene.Scripnik@...>
I need to include some methods in class stored in some variable:
[#47344] eruby editor — "Kyle Wilson" <kyle.wilson@...>
Hello. I was wondering if anyone knows of a text editor which will
Here's what I have - 91 characters with everything you'd need for a Flash
[#47348] robust hardware to run ruby newtwork service — Tom Sawyer <transami@...>
i know this is bit off topic, but since you all are my "computer family"
[#47360] Is it possible?---ruby xxx.rb arg1 arg2... — "Chai, Xinwei" <ChaiXV@...>
Hellow guys:
[#47375] How do I find the URL of the .rhtml that's being served? — sera@... (Francis Hwang)
I have a utility class that's being used inside a bunch of different
[#47440] Help with a segv in mod_ruby — Dave Thomas <Dave@...>
> I'm getting a segv in mod_ruby:
[#47441] Narf cgi library alpha release — patrick-may@... (Patrick May)
Information: http://narf-lib.sourceforge.net/
[#47461] How do I dup file descriptors in ruby? (diverting STDERR) — "Richard A. Ryan" <ryan@...>
Hello,
[#47464] IDE vs. editor — Holden Glova <dsafari@...>
-----BEGIN PGP SIGNED MESSAGE-----
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Holden" == Holden Glova <dsafari@paradise.net.nz> writes:
On Sat, Aug 17, 2002 at 10:49:20AM +0900, Jim Weirich wrote:
On Sun, Aug 18, 2002 at 03:45:00AM +0900, Massimiliano Mirra wrote:
On Sun, Aug 18, 2002 at 03:57:22AM +0900, Alan Chen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
[#47504] FreeRide install problem — Armin Roehrl <armin@...>
Hi,
[#47545] How can I avoid "Insecure operation - stat (SecurityError) " — " JamesBritt" <james@...>
I'm trying to get some ruby code, running under mod_ruby, to retrieve the
[#47547] Re: What Ruby needs. — "Shashank Date" <ADATE@...>
I do not have any problem with item 1) on your wish list as long as I don't
[#47559] Ruby Bot — Giuseppe Bilotta <bilotta78@...>
Hello,
Well, with rbot 0.9.4 there was an error about SIGHUP not being a
[#47585] equivalent of python's __debug__ — David Garamond <davegaramond@...>
python can compile in two modes, normal and optimized. in optimized
[#47598] ruby-dev summary 17965-18021 — Minero Aoki <aamine@...>
Hi all,
[#47618] drb -- distrib'd ruby and marshalling, question about methods — john@... (John van V.)
Hello, I have been moving perl objects around for years and I was very
[#47640] Perl -> Ruby: assistance wanted (offlist) — "Hal E. Fulton" <hal9000@...>
Hello all...
[#47643] thread control — "Shashank Date" <ADATE@...>
I am trying to write a ruby script (Ruby 1.7.2 mswin32) which does the
[#47669] Data_Make_Struct and ALLOC Considered Harmful? — billtj@... (Bill Tj)
Hi,
[#47680] quines (again) — "Bill Kelly" <billk@...>
Hi,
[#47688] the power of ruby — AW <sturmpanzer@...>
Hi,
[#47695] What makes a "good" Ruby extension? — Tim Hunter <cyclists@...>
So I'm reading the "Comparing Gui Toolkits" wiki page
Tim Hunter wrote:
> I think this is a question that a lot of Ruby programmers struggle
[#47749] What New Language After Ruby? — William Djaja Tjokroaminata <billtj@...>
To Andrew Hunt and David Thomas:
Although activity seems to have died down, here are some links
Hi,
Hi,
Nat Pryce <nat.pryce@b13media.com> writes:
Thanks a lot, Marcin, for the valuable information. The description on
On Fri, 2002-08-23 at 15:18, William Djaja Tjokroaminata wrote:
Hi,
Hi,
[#47757] Puzzeled by Range object — Robert McGovern <duemoko@...>
I was just writing an example for the "power of ruby" thread, using ranges.
[#47767] RE: Some comments on the 167-1 installer — Andrew Hunt <andy@...>
>Rich says:
[#47802] ANN: scanf for Ruby — "Hal E. Fulton" <hal9000@...>
This is the product of the Austin Ruby Codefest 2002,
[#47817] A Repeat: New Language After Ruby? — William Djaja Tjokroaminata <billtj@...>
Hi,
Peter Hickman <peter@semantico.com> writes:
[#47826] RE: select on solaris — "Berger, Daniel" <djberge@...>
[#47842] Newbie question. How to install a new package? — Giuseppe Bilotta <bilotta78@...>
Well, I installed URI by simply popping it into the \lib\ directory,
[#47864] nohup -g and ruby-1.6.7 on Solaris9 — Hugh Sasse Staff Elec Eng <hgs@...>
Given the following:
[#47867] RE: Newbie question. How to install a new package? — CRIBBSJ <CRIBBSJ@...>
[#47888] RE: Newbie question. How to install a new package? — CRIBBSJ <CRIBBSJ@...>
> -----Original Message-----
[#47918] Win32 Scripting — Sean Middleditch <elanthis@...>
Hi,
----- Original Message -----
On Fri, Aug 23, 2002 at 02:36:48AM +0900, Sean Middleditch wrote:
[#47932] Can I write to DATA? — Jim Freeze <jfreeze@...>
Hi:
[#47945] Paul Graham essay on language popularity — HotFusionMan@... (Albert Davidson Chou)
I don't read the list/group anymore, so I'm not sure whether this
[#47958] Tk and Gtk — Robert Warning <cleeker@...>
Okay this isn't exactly a ruby question, but in the near future I want
Sean Middleditch wrote:
[#47995] converting rows into structs — Eugene Scripnik <Eugene.Scripnik@...>
I have a methods that converts all DB rows into structs using Struct
On 2002.08.23, Eugene Scripnik <Eugene.Scripnik@itgrp.net> wrote:
Friday, August 23, 2002, 2:19:53 PM, you wrote:
On 2002.08.23, Eugene Scripnik <Eugene.Scripnik@itgrp.net> wrote:
[#48001] new ruby from cvs — Eugene Scripnik <Eugene.Scripnik@...>
I installed new ruby 1.7.2 (2002-08-21) from cvs and get warning in
[#48013] Perl Exegesis 5 — "Mike Wilson" <wmwilson01@...>
You can find the Perl Exegesis 5 here:
In article <F249FbCUalRlUwViKaZ000117d8@hotmail.com>,
At 3:19 AM +0900 8/24/02, Phil Tomson wrote:
On Sat, Aug 24, 2002 at 03:37:04AM +0900, Dan Sugalski wrote:
[#48035] Why Ruby Uses Mark-and-Sweep GC? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#48062] Ruby and Judy — Joseph McDonald <joe@...>
Joseph McDonald wrote:
----- Original Message -----
[#48082] Distributed Object Container — junderdown@... (Jason Underdown)
Is anyone out there in the Ruby community working on an object
----- Original Message -----
> J2EE - more specifically, EJB - enables those nice things like pooling,
> > But how can you have Enterprise *Java(tm)* Beans without, well,
>
"Gavin Sinclair" <gsinclair@soyabean.com.au> wrote in message news:<000201c24d03$2caa8ad0$0c6332d2@nosedog>...
> Yes, you are right, J2EE is just a standard implemented by several app
> > Yes, you are right, J2EE is just a standard implemented by
[#48114] CompareByValue — Ryan King <rking@...>
I put a challenge up at:
On 2002.08.25, Ryan King <rking@panoptic.com> wrote:
On 2002.08.25, Dossy <dossy@panoptic.com> wrote:
On 2002.08.27, Ryan King <rking@panoptic.com> wrote:
On 2002.08.29, Dossy <dossy@panoptic.com> wrote:
[#48165] RDoc: .png files are empty — Joel VanderWerf <vjoel@...>
[#48168] warning modifying constant & 'global constant' — David Garamond <davegaramond@...>
1. if someone attempts to modify a constant, why does ruby choose to
[#48217] Getting list of classes in a module? — Philip Mak <pmak@...>
How do I get the list of all classes that are defined in a module
[#48219] Tk scrollbar with elided text — Albert Wagner <alwagner@...>
I am using a TkText as a base for an editor, with folding implemented by using
[#48223] Ruby Based App Server — junderdown@... (Jason Underdown)
I posted a similar question a few days ago, but didn't get any
> I've worked on web applications built on the J2EE platform as well as
[#48227] Bug report: $irbrc does not affect IRB — Brian Marick <marick@...>
In both the IRB from Ruby 1.6.4 and irb-0.9-02.07.03.tgz from RAA,
[#48233] Question about Ruby extension API — "Bennett, Patrick" <Patrick.Bennett@...>
I've looked all over but can't find the function call for doing a simple assignment (!)
[#48234] Hybrid hash and array? — Philip Mak <pmak@...>
When programming radio buttons on a website, I find myself using this
[#48264] Ruby developers: help push RPKG development and usage forward!! (it is like CPAN.pm, only Ruby) — itsnewsforme@... (M S)
A big complaint from people looking into Ruby is that they don't see
Intro: sorry for the long post, I wanted to speak, hope you won't mind
>>>>> "M" == M S <itsnewsforme@yahoo.ca> writes:
Actually, it would be nice to have them online, but not necessarily
On Tue, Aug 27, 2002 at 09:39:32PM +0900, Rich Kilmer wrote:
http://kt-www.jaist.ac.jp/~ttate/ruby/ruby-dl.html
On Tue, 2002-08-27 at 19:32, Rich Kilmer wrote:
You can just install it in another directory and then go to that
uh, sorry, how do i get 1.7.2? i tried anonymous cvs but it said NO. did
Nightly CVS snapshot:
just complied and drew up an error:
From Tom Sawyer <1030511597.793.982.camel@silver>
Hi,
thanks matz,
On Tue, Aug 27, 2002 at 06:47:30PM +0900, ts wrote:
[#48274] ANN: RJudy-0.1 - Judy Arrays for Ruby — Lyle Johnson <lyle@...>
All,
[#48320] compile time type checking — "Volkmann, Mark" <Mark.Volkmann@...>
I think the main reason that languages such as Ruby, Python, Perl and TCL
[#48333] Temporary VALUE Needs to Be Protected? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#48352] c-api: rb_str_new — Matthias Veit <matthias_veit@...>
[#48420] Is anybody working on a ruby compiler (rb->exe) — "Kontra, Gergely" <kgergely@...>
Hi!
[#48434] RE: Is anybody working on a ruby compiler (rb->exe) — christopher.j.meisenzahl@...
[#48446] How to read files in all subdirectories? — Kurt Euler <keuler@...>
Ruby experts:
[#48467] Novice needs help with FX Ruby — lucidlife@... (ck)
Hi,
ck wrote:
[#48468] Compile error — "C. David Wilde" <cdw@...>
Hello,
[#48477] Newbie converting brain from perl — William Pietri <william-news-383910@...>
[#48494] next statement — "David Douthitt" <DDouthitt@...>
I thought there was a way to use "next" (or similar) to escape an arbitrary number of loops. Akin to this:
[#48521] Ruby/DL with GTK gtk_signal_connect — Tom Sawyer <transami@...>
hi all, i'm working with Ruby/DL, binding to GTK. it is very cool. but i
[#48544] Best GC for Ruby? — "Justin Johnson" <justinj@...>
Hi,
[#48556] RE: Is anybody working on a ruby compiler (rb->exe) — christopher.j.meisenzahl@...
> > >Cool... but are there any english docs on exerb? How
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Aug 30, 2002 at 08:14:20AM +0900, michael libby wrote:
[#48558] gethostbyname() requires reverse lookup to work? — Paul Brannan <pbrannan@...>
We ran into a problem last night where we could ping a host, telnet to
[#48564] YAML.rb 0.40 -- Circular references, Emitter enhancements — yamlrb@...
Aha! A new YAML.rb is out at long last: >
[#48565] how to create a ruby object via the c-api? — Matthias Veit <matthias_veit@...>
[#48573] FXRuby Threading Problem Solved? — Lyle Johnson <lyle@...>
All,
[#48584] suggestions to the Ruby community — stibbs <stibbs@...>
Hi, first i would like to state that i absolutely love Ruby more than any
I've encountered the same complaints from my co-workers and
instead of everyone writing your own documentation, wouldnt a wiki
-----BEGIN PGP SIGNED MESSAGE-----
> >I was surprised just now to find that there is no absolute requirement
-----BEGIN PGP SIGNED MESSAGE-----
Hi
[#48633] Can We Pass Block from Function to Function? — William Djaja Tjokroaminata <billtj@...>
Hi,
[#48648] How to write scripts with plug-in support [long] — gabriele renzi <surrender_it@...>
Hi all,
[#48657] ICFP Programming Contest — Alan Chen <alan@...>
http://icfpcontest.cse.ogi.edu/task.html
On Sat, 31 Aug 2002, Alan Chen wrote:
[#48678] proper upgrade to 1.7.3 — Tom Sawyer <transami@...>
so i went ahead and started moving over to 1.7.
[#48703] RE: suggestions to the Ruby community — "Pe, Botp" <botp@...>
> From: JamesBritt [mailto:james@jamesbritt.com]
> James, you've said it all (kindly and clearly, too).
[#48705] Ruby aesthetics — vegai@...
Hello. I've been checking into python lately quite a lot, and I
My two reasons for disliking Python's aesthetics:
Yukihiro Matsumoto graced us by uttering:
>
On Wed, 2002-09-04 at 02:56, Gavin Sinclair wrote:
> On Wed, 2002-09-04 at 02:56, Gavin Sinclair wrote:
----- Original Message -----
I am really amazed if Ruby is really compared against Java, especially in
----- Original Message -----
On Thu, 5 Sep 2002, Hal E. Fulton wrote:
Hi,
On Thu, 5 Sep 2002, William Djaja Tjokroaminata wrote:
Paul Prescod wrote:
Hi,
On Thursday 05 September 2002 12:08 pm, Christian Szegedy wrote:
Hi,
On Fri, 6 Sep 2002, William Djaja Tjokroaminata wrote:
I think we have communicated very well; I agree with all you said. May I
On Fri, 6 Sep 2002, William Djaja Tjokroaminata wrote:
Hi Matz,
Hi,
On Sat, 7 Sep 2002, Yukihiro Matsumoto wrote:
Hello --
----- Original Message -----
----- Original Message -----
Gavin Sinclair (gsinclair@soyabean.com.au) wrote:
Hi,
----- Original Message -----
Re: Another Segmentation Fault problem
Matt sent me a stack trace here:
On Sun, 4 Aug 2002, Brett Williams wrote:
> Well... how about a stack trace for starters? It's really hard to help
> debug your program with no more information than this.
It's a bit long, but here it is. I've never done any real software
development on Linux, so I am a bit lost.
Thanks for the help.
Program received signal SIGSEGV, Segmentation fault.
mark_locations_array (x=0x401fa380, n=1075755063) at gc.c:354
354 {
#0 mark_locations_array (x=0x401fa380, n=1075755063) at gc.c:354
x = (VALUE *) 0x40235000
n = 1075755063
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#1 0x08066cf1 in rb_gc_mark_frame (frame=0x84cbf14) at gc.c:912
frame = (struct FRAME *) 0x84cbf14
#2 0x0805f325 in thread_mark (th=0x8138ae0) at eval.c:7196
th = 0x8138ae0
frame = (struct FRAME *) 0x84cbf14
block = (struct BLOCK *) 0x84cbf14
#3 0x08066777 in rb_gc_mark (ptr=0x4022d280) at gc.c:634
obj = (RVALUE *) 0x4022d280
#4 0x08066334 in mark_locations_array (x=0x839c250, n=1805) at gc.c:378
x = (VALUE *) 0x83ab0d0
n = 1805
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#5 0x0805f2e5 in thread_mark (th=0x8139048) at eval.c:7188
th = 0x8139048
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#6 0x08066777 in rb_gc_mark (ptr=0x4022cb14) at gc.c:634
obj = (RVALUE *) 0x4022cb14
#7 0x080667f3 in rb_gc_mark (ptr=0x401ebc7c) at gc.c:667
n = 0
vars = (VALUE *) 0x8196c18
obj = (RVALUE *) 0x0
#8 0x08066334 in mark_locations_array (x=0x8302218, n=14424) at gc.c:378
x = (VALUE *) 0x8306bcc
n = 14424
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#9 0x0805f2e5 in thread_mark (th=0x8137cc0) at eval.c:7188
th = 0x8137cc0
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#10 0x08066777 in rb_gc_mark (ptr=0x4022e3b0) at gc.c:634
obj = (RVALUE *) 0x4022e3b0
#11 0x0806672f in rb_gc_mark (ptr=0x4022e540) at gc.c:617
i = 1
len = 5
ptr = (VALUE *) 0x81372a8
obj = (RVALUE *) 0x81372a8
#12 0x08066334 in mark_locations_array (x=0x83b02e8, n=1815) at gc.c:378
x = (VALUE *) 0x83b4030
n = 1815
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#13 0x0805f2e5 in thread_mark (th=0x8138560) at eval.c:7188
th = 0x8138560
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#14 0x08066777 in rb_gc_mark (ptr=0x4022d71c) at gc.c:634
obj = (RVALUE *) 0x4022d71c
#15 0x080667f3 in rb_gc_mark (ptr=0x4020a230) at gc.c:667
n = 0
vars = (VALUE *) 0x8159290
obj = (RVALUE *) 0x0
#16 0x0805f263 in thread_mark (th=0x8283088) at eval.c:7176
th = 0x8283088
frame = (struct FRAME *) 0x401c1d10
block = (struct BLOCK *) 0x401c1d10
#17 0x08066777 in rb_gc_mark (ptr=0x4020a1e0) at gc.c:634
obj = (RVALUE *) 0x4020a1e0
#18 0x08066334 in mark_locations_array (x=0x8387c28, n=13940) at gc.c:378
x = (VALUE *) 0x8388e4c
n = 13940
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#19 0x0805f2e5 in thread_mark (th=0x814b250) at eval.c:7188
th = 0x814b250
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#20 0x08066777 in rb_gc_mark (ptr=0x4022ef7c) at gc.c:634
obj = (RVALUE *) 0x4022ef7c
#21 0x08066334 in mark_locations_array (x=0x8145568, n=5483) at gc.c:378
x = (VALUE *) 0x8145ca0
n = 5483
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#22 0x0805f2e5 in thread_mark (th=0x81452b0) at eval.c:7188
th = 0x81452b0
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#23 0x08066777 in rb_gc_mark (ptr=0x4022f65c) at gc.c:634
obj = (RVALUE *) 0x4022f65c
#24 0x08066334 in mark_locations_array (x=0x82b7070, n=5606) at gc.c:378
x = (VALUE *) 0x82b75bc
n = 5606
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 1
#25 0x0805f2e5 in thread_mark (th=0x813f310) at eval.c:7188
th = 0x813f310
frame = (struct FRAME *) 0x4
block = (struct BLOCK *) 0x4
#26 0x08066777 in rb_gc_mark (ptr=0x4022fabc) at gc.c:634
obj = (RVALUE *) 0x4022fabc
#27 0x080667f3 in rb_gc_mark (ptr=0x401cfd34) at gc.c:667
n = 6
vars = (VALUE *) 0x811d85c
obj = (RVALUE *) 0x6
#28 0x0805ce65 in blk_mark (data=0x8100688) at eval.c:6108
data = (struct BLOCK *) 0x8100688
#29 0x08066777 in rb_gc_mark (ptr=0x401c1ce8) at gc.c:634
obj = (RVALUE *) 0x401c1ce8
#30 0x08066386 in mark_entry (key=8893, value=1075584232) at gc.c:405
No locals.
#31 0x0809cbe9 in st_foreach (table=0x80d8888, func=0x8066378 <mark_entry>,
arg=0x0) at st.c:488
table = (st_table *) 0x80d8888
ptr = (st_table_entry *) 0x8100738
last = (st_table_entry *) 0x0
tmp = (st_table_entry *) 0xbfff8e70
retval = ST_CONTINUE
i = 5
#32 0x080663a7 in rb_mark_tbl (tbl=0x80d8888) at gc.c:414
tbl = (st_table *) 0x0
#33 0x0806678b in rb_gc_mark (ptr=0x401cfd20) at gc.c:638
obj = (RVALUE *) 0x401cfd20
#34 0x08066386 in mark_entry (key=2841, value=1075641632) at gc.c:405
No locals.
#35 0x0809cbe9 in st_foreach (table=0x80d8b48, func=0x8066378 <mark_entry>,
arg=0x0) at st.c:488
table = (st_table *) 0x80d8b48
ptr = (st_table_entry *) 0x80d8bd8
last = (st_table_entry *) 0x0
tmp = (st_table_entry *) 0x2b
retval = ST_CONTINUE
i = 3
#36 0x080663a7 in rb_mark_tbl (tbl=0x80d8b48) at gc.c:414
tbl = (st_table *) 0x0
#37 0x0806678b in rb_gc_mark (ptr=0x401cfce4) at gc.c:638
obj = (RVALUE *) 0x401cfce4
#38 0x08066707 in rb_gc_mark (ptr=0x401cfcd0) at gc.c:606
obj = (RVALUE *) 0x401cfcd0
#39 0x08066707 in rb_gc_mark (ptr=0x401cfcbc) at gc.c:606
obj = (RVALUE *) 0x401cfcbc
#40 0x080666db in rb_gc_mark (ptr=0x401cfcf8) at gc.c:601
obj = (RVALUE *) 0x401cfcf8
#41 0x080666db in rb_gc_mark (ptr=0x401c7544) at gc.c:601
obj = (RVALUE *) 0x401c7544
#42 0x080666db in rb_gc_mark (ptr=0x401c7558) at gc.c:601
obj = (RVALUE *) 0x401c7558
#43 0x080666db in rb_gc_mark (ptr=0x401bcf7c) at gc.c:601
obj = (RVALUE *) 0x401bcf7c
#44 0x08066334 in mark_locations_array (x=0xbfffa6f0, n=0) at gc.c:378
x = (VALUE *) 0xbfffa6f0
n = 0
p = (RVALUE *) 0x0
heap_org = (RVALUE *) 0x0
i = 0
#45 0x08066cf1 in rb_gc_mark_frame (frame=0xbfffa630) at gc.c:912
frame = (struct FRAME *) 0xbfffa630
#46 0x08066d88 in rb_gc () at gc.c:988
list = (struct gc_list *) 0x2856
frame = (struct FRAME *) 0xbfffa630
save_regs_gc_mark = {{__jmpbuf = {137024000, 80, 1075412896,
1074707334, 137023632, 33554432}, __mask_was_saved = 137910144,
__saved_mask = {__val = {0, 137910144, 440, 0, 135291808, 135291792, 0,
135291776, 135291760, 135291744, 135291728, 135291712, 3221201760,
3221197280, 3221197280, 3221197280, 128, 1, 136633902, 2, 136623576,
1, 135290396, 135290396, 6094, 4232, 0, 3221202008, 134831526,
135290320, 136623576, 10326}}}}
stack_end = (VALUE *) 0xbfffa438
#47 0x0806623c in rb_newobj () at gc.c:324
No locals.
#48 0x0809ccb8 in rb_str_new (
ptr=0x824cd7d ' ' <repeats 12 times>, "<TD
class=\"tableContentMain\">\r\n\r\n<!-- start body -->\r\n\r\n", ' '
<repeats 12 times>, "\r\n", ' ' <repeats 12 times>, "\r\n", ' ' <repeats 13
times>, "<!-- agent begin --><BR>\r\n", ' ' <repeats 12 times>,
"<TABLE>\r\n", ' ' <repeats 14 times>, "<TBODY>\r\n", ' ' <repeats 16
times>, "<TR>\r"..., len=41) at string.c:39
ptr = 0x824cd7d ' ' <repeats 12 times>, "<TD
class=\"tableContentMain\">\r\n\r\n<!-- start body -->\r\n\r\n", ' '
<repeats 12 times>, "\r\n", ' ' <repeats 12 times>, "\r\n", ' ' <repeats 13
times>, "<!-- agent begin --><BR>\r\n", ' ' <repeats 12 times>,
"<TABLE>\r\n", ' ' <repeats 14 times>, "<TBODY>\r\n", ' ' <repeats 16
times>, "<TR>\r"...
len = 41
str = (struct RString *) 0x2856
#49 0x0809d889 in rb_str_substr (str=1075652036, beg=6053, len=41)
at string.c:360
str = 1075652036
beg = 0
len = 41
str2 = 10326
#50 0x080a0aae in rb_str_split_m (argc=1, argv=0xbfffa6f0, str=1075652036)
at string.c:2253
start = 6053
idx = 1
last_null = 0
regs = (struct re_registers *) 0x819c150
argc = 1
spat = 1075564412
limit = 4
char_sep = -1
beg = 6053
end = 41
i = 0
lim = 0
result = 1075453952
tmp = 0
#51 0x080594ae in call_cfunc (func=0x80a07a0 <rb_str_split_m>,
recv=1075652036, len=-1, argc=1, argv=0xbfffa6f0) at eval.c:4257
func = (VALUE (*)()) 0x80a07a0 <rb_str_split_m>
recv = 1075652036
len = 41
argc = 1
argv = (VALUE *) 0x0
#52 0x08059861 in rb_call0 (klass=1075633332, recv=1075652036, id=4145,
argc=1, argv=0xbfffa6f0, body=0x401cd5ac, nosuper=1) at eval.c:4394
_frame = {self = 1075652036, argc = 1, argv = 0xbfffa6f0,
last_func = 4145, last_class = 0, cbase = 1075584272, prev = 0xbfffb8a0,
tmp = 0x0, file = 0x8100fc0 "dma1", line = 160, iter = 0, flags = 0}
_iter = {iter = 0, prev = 0xbfffb7c8}
b2 = (NODE *) 0x401aed3c
result = 4
itr = -1073764624
tick = 424221
#53 0x0805a021 in rb_call (klass=1075633332, recv=1075652036, mid=4145,
argc=1, argv=0xbfffa6f0, scope=0) at eval.c:4614
mid = 4145
scope = 0
body = (NODE *) 0x401cd5ac
noex = 1
id = 4145
#54 0x08055490 in rb_eval (self=1075637472, n=0x401bcf40) at eval.c:2544
n = (NODE *) 0x0
node = (NODE *) 0x401bcf40
state = 0
result = 4
#55 0x08055e0d in rb_eval (self=1075637472, n=0x401bcf2c) at eval.c:2700
n = (NODE *) 0x0
node = (NODE *) 0x401bcfa4
state = 0
result = 4
#56 0x08053ba5 in rb_eval (self=1075637472, n=0x401bdcc4) at eval.c:2025
n = (NODE *) 0x0
node = (NODE *) 0x401bcf18
state = 0
result = 4
#57 0x08057fa1 in rb_yield_0 (val=4, self=1075637472, klass=0, acheck=0)
at eval.c:3622
_tag = {buf = {{__jmpbuf = {0, 0, -1073760048, -1073759992,
-1073760352, 134577961}, __mask_was_saved = 0, __saved_mask = {
__val = {3221208904, 4294967295, 608, 0, 3221208920, 3201, 0,
3221207096, 134583507, 1075987356, 2435342, 0, 0, 0, 1073816024,
135386248, 3221207568, 3097, 0, 3221207464, 134584417, 134700528,
1075987356, 1, 1, 3221207568, 1074250064, 3221207176, 134583507,
0,
0, 1075946216}}}}, frame = 0xbfffb8a0, iter = 0xbfffb7c8, tag = 0,
retval = 1075713796, scope = 0x4022dac8, dst = 0, prev = 0xbfffc310}
_iter = {iter = 0, prev = 0xbfffb998}
_class = 1075641632
_old = (struct RVarmap *) 0x0
klass = 0
node = (NODE *) 0x401bdcc4
result = 4
old_cref = 1075584272
old_wrapper = 0
block = (struct BLOCK *) 0xbfffc2a0
old_scope = (struct SCOPE *) 0x4022dac8
frame = {self = 1075637472, argc = 1, argv = 0xbfffc65c,
last_func = 9265, last_class = 1075641632, cbase = 1075584272,
prev = 0xbfffba70, tmp = 0x0, file = 0x8100fc0 "dma1", line = 136, iter =
0,
flags = 0}
file = 0x8100fc0 "dma1"
line = 136
state = 0
serial = 1340
#58 0x08058205 in rb_f_loop () at eval.c:3717
No locals.
#59 0x080594d3 in call_cfunc (func=0x80581f0 <rb_f_loop>, recv=1075637472,
len=0, argc=0, argv=0x0) at eval.c:4269
func = (VALUE (*)()) 0x80581f0 <rb_f_loop>
recv = 1075637472
len = 41
argc = 0
argv = (VALUE *) 0x0
#60 0x08059861 in rb_call0 (klass=1075641492, recv=1075637472, id=3681,
argc=0, argv=0x0, body=0x401ce538, nosuper=1) at eval.c:4394
_frame = {self = 1075637472, argc = 0, argv = 0x0, last_func = 3681,
last_class = 0, cbase = 1075584272, prev = 0xbfffc760, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 136, iter = 2, flags = 0}
_iter = {iter = 2, prev = 0xbfffc160}
b2 = (NODE *) 0x0
result = 4
itr = 0
tick = 424221
#61 0x0805a021 in rb_call (klass=1075641492, recv=1075637472, mid=3681,
argc=0, argv=0x0, scope=1) at eval.c:4614
mid = 3681
scope = 1
body = (NODE *) 0x401ce538
noex = 3
id = 3681
#62 0x08055490 in rb_eval (self=1075637472, n=0x401b7324) at eval.c:2544
n = (NODE *) 0x0
node = (NODE *) 0x401b7324
state = 4
result = 4
#63 0x0805453c in rb_eval (self=1075637472, n=0x401bdea4) at eval.c:2276
_iter = {iter = 1, prev = 0xbfffc688}
_block = {var = 0x0, body = 0x401bdcc4, self = 1075637472, frame = {
self = 1075637472, argc = 1, argv = 0xbfffc65c, last_func = 9265,
last_class = 1075641632, cbase = 1075584272, prev = 0xbfffceb0, tmp =
0x0,
file = 0x8100fc0 "dma1", line = 136, iter = 0, flags = 0},
scope = 0x4022dac8, tag = 0x4022da50, klass = 1075641632, iter = 0,
vmode = 0, flags = 1, dyna_vars = 0x0, orig_thread = 3221209992,
wrapper = 0, prev = 0x0}
_tag = {buf = {{__jmpbuf = {1, -1073756272, -1073757476, -1073756616,
-1073758032, 134563053}, __mask_was_saved = 0, __saved_mask = {
__val = {1075108682, 135495680, 1075421964, 3221209960, 1074707334,
135495680, 36, 0, 3221209824, 1, 1076033656, 1028335257,
1075421964,
4096, 1075412896, 3221209992, 1074722436, 4096, 32, 135491080, 22,
0, 3221212712, 1075412896, 1075421964, 1075412896, 1075412896,
3221210040, 1074706896, 1075410976, 1075421964, 96}}}},
frame = 0xbfffc760, iter = 0xbfffc688, tag = 4294967295, retval = 4,
scope = 0x4022dac8, dst = 0, prev = 0xbfffc6a0}
n = (NODE *) 0x0
node = (NODE *) 0x401b7338
state = 0
result = 4
#64 0x08059c7b in rb_call0 (klass=1075641632, recv=1075637472, id=9265,
argc=0, argv=0xbfffc824, body=0x401bdea4, nosuper=0) at eval.c:4521
_tag = {buf = {{__jmpbuf = {1076028716, 9265, 1, -1073756232,
-1073756608, 134584922}, __mask_was_saved = 0, __saved_mask = {
__val = {0, 0, 135271008, 3221210872, 134634967, 8, 135271000,
135272904, 1, 0, 0, 0, 3221212712, 135474184, 135271008,
3221210920,
134898239, 135474184, 135271000, 8, 135271008, 881934, 1075441672,
0, 135310032, 135272904, 1076033656, 3221210968, 134659348,
135271000, 135272904, 3221210968}}}}, frame = 0xbfffc760,
iter = 0xbfffc688, tag = 4294967295, retval = 4, scope = 0x4022dac8,
dst = 0, prev = 0xbfffcde0}
_old = (struct RVarmap *) 0x4022dadc
_vmode = 0
_old = (struct SCOPE *) 0x401cfd34
_scope = (struct SCOPE *) 0x0
state = 0
local_vars = (VALUE *) 0xbfffc654
saved_cref = (NODE *) 0x401c1d10
_frame = {self = 1075637472, argc = 1, argv = 0xbfffc65c,
last_func = 9265, last_class = 1075641632, cbase = 1075584272,
prev = 0xbfffceb0, tmp = 0x0, file = 0x8100fc0 "dma1", line = 333, iter =
0,
flags = 0}
_iter = {iter = 0, prev = 0xbfffcdd8}
b2 = (NODE *) 0x401b72d4
result = 4
itr = 1
tick = 424221
#65 0x0805a021 in rb_call (klass=1075641632, recv=1075637472, mid=9265,
argc=1, argv=0xbfffc820, scope=1) at eval.c:4614
mid = 9265
scope = 1
body = (NODE *) 0x4022e52c
noex = 2
id = 9265
#66 0x08055490 in rb_eval (self=1075637472, n=0x401b7090) at eval.c:2544
n = (NODE *) 0x0
node = (NODE *) 0x401b70a4
state = 0
result = 4
#67 0x08057fa1 in rb_yield_0 (val=3, self=1075637472, klass=0, acheck=2)
at eval.c:3622
_tag = {buf = {{__jmpbuf = {0, 135496404, 0, -1073754344, -1073754704,
134577961}, __mask_was_saved = 0, __saved_mask = {__val =
{134578081,
1075637472, 1075580772, 1076033716, 0, 3221212624, 134574852,
1075641632, 35, 135270336, 1075580772, 0, 3221213176, 0, 0,
3221212976, 3221213032, 3221212672, 134577961, 0, 1074710650, 4,
2,
3221212808, 5, 16, 24, 1075412896, 1074707334, 1075412896,
1075412896, 3221212824}}}}, frame = 0xbfffceb0, iter = 0xbfffcdd8,
tag = 0, retval = 4, scope = 0x401cfd34, dst = 0, prev = 0xbfffcf70}
_iter = {iter = 0, prev = 0xbfffd148}
_class = 1075641632
_old = (struct RVarmap *) 0x4022dca8
klass = 0
node = (NODE *) 0x401b7090
result = 4
old_cref = 1075584272
old_wrapper = 0
block = (struct BLOCK *) 0x8138298
old_scope = (struct SCOPE *) 0x401cfd34
frame = {self = 1075637472, argc = 0, argv = 0x0, last_func = 0,
last_class = 0, cbase = 1075584272, prev = 0xbfffd220, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 333, iter = 0, flags = 0}
file = 0x8100fc0 "dma1"
line = 333
state = 0
serial = 1340
#68 0x0806153f in rb_thread_yield (arg=1076026116, th=0x8137fe0) at
eval.c:8452
arg = 1076026116
#69 0x080612f5 in rb_thread_start_0 (fn=0x8061514 <rb_thread_yield>,
arg=0x4022db04, th_arg=0x8137fe0) at eval.c:8385
_tag = {buf = {{__jmpbuf = {0, 1, 134616492, -1073753928, -1073754288,
134615722}, __mask_was_saved = 0, __saved_mask = {__val =
{134556388,
1075641632, 5637, 0, 3221213568, 6761, 0, 3221214520, 134569970,
9249, 3221216524, 3221214536, 134570043, 1075584272, 5637,
1075637472, 3221216524, 0, 1, 3221213192, 1074707334, 4294967295,
2838798, 0, 3221216456, 0, 1075964656, 2, 3221215168, 3337, 0,
3221213560}}}}, frame = 0xbfffd220, iter = 0xbfffd148,
tag = 4294967294, retval = 4, scope = 0x401cfd34, dst = 0, prev =
0xbfffdd40}
th_arg = 0x0
th = 0x8137fe0
thread = 1076026296
saved_block = (struct BLOCK *) 0x8138298
status = THREAD_RUNNABLE
state = 0
#70 0x080615ec in rb_thread_initialize (thread=1076026296, args=1076026116)
at eval.c:8481
No locals.
#71 0x080594d3 in call_cfunc (func=0x80615ac <rb_thread_initialize>,
recv=1076026296, len=-2, argc=1, argv=0xbfffd550) at eval.c:4269
func = (VALUE (*)()) 0x80615ac <rb_thread_initialize>
recv = 1076026296
len = 41
argc = 1
argv = (VALUE *) 0x0
#72 0x08059861 in rb_call0 (klass=1075620672, recv=1076026296, id=2857,
argc=1, argv=0xbfffd550, body=0x401caaf0, nosuper=1) at eval.c:4394
_frame = {self = 1076026296, argc = 1, argv = 0xbfffd550,
last_func = 2857, last_class = 0, cbase = 1075584272, prev = 0xbfffd490,
tmp = 0x0, file = 0x8100fc0 "dma1", line = 333, iter = 2, flags = 0}
_iter = {iter = 2, prev = 0xbfffd300}
b2 = (NODE *) 0x401ce538
result = 4
itr = -1073752752
tick = 424221
#73 0x0805a021 in rb_call (klass=1075620672, recv=1076026296, mid=2857,
argc=1, argv=0xbfffd550, scope=1) at eval.c:4614
mid = 2857
scope = 1
body = (NODE *) 0x401caaf0
noex = 3
id = 2857
#74 0x0805a2a9 in rb_funcall2 (recv=1076026296, mid=2857, argc=1,
argv=0xbfffd550) at eval.c:4698
recv = 0
#75 0x0805c237 in rb_obj_call_init (obj=1076026296, argc=1, argv=0xbfffd550)
at eval.c:5717
argc = 1
argv = (VALUE *) 0xbfffd550
_iter = {iter = 1, prev = 0xbfffd3b8}
#76 0x0806156d in rb_thread_s_new (argc=1, argv=0xbfffd550,
klass=1075620672)
at eval.c:8465
argc = 1
argv = (VALUE *) 0xbfffd550
th = 0x8137fe0
#77 0x080594ae in call_cfunc (func=0x8061544 <rb_thread_s_new>,
recv=1075620672, len=-1, argc=1, argv=0xbfffd550) at eval.c:4257
func = (VALUE (*)()) 0x8061544 <rb_thread_s_new>
recv = 1075620672
len = 41
argc = 1
argv = (VALUE *) 0x0
#78 0x08059861 in rb_call0 (klass=1075620652, recv=1075620672, id=3169,
argc=1, argv=0xbfffd550, body=0x401cab18, nosuper=1) at eval.c:4394
_frame = {self = 1075620672, argc = 1, argv = 0xbfffd550,
last_func = 3169, last_class = 0, cbase = 1075584272, prev = 0xbfffe710,
tmp = 0x0, file = 0x8100fc0 "dma1", line = 333, iter = 2, flags = 0}
_iter = {iter = 2, prev = 0xbfffdb90}
b2 = (NODE *) 0xbfffd400
result = 4
itr = -1073752752
tick = 424221
#79 0x0805a021 in rb_call (klass=1075620652, recv=1075620672, mid=3169,
argc=1, argv=0xbfffd550, scope=0) at eval.c:4614
mid = 3169
scope = 0
body = (NODE *) 0x401cab18
noex = 1
id = 3169
#80 0x08055490 in rb_eval (self=1075637472, n=0x401b7108) at eval.c:2544
n = (NODE *) 0x0
node = (NODE *) 0x401b7108
state = 0
result = 4
#81 0x0805453c in rb_eval (self=1075637472, n=0x401b707c) at eval.c:2276
_iter = {iter = 1, prev = 0xbfffe120}
_block = {var = 0x401b70e0, body = 0x401b7090, self = 1075637472,
frame = {self = 1075637472, argc = 0, argv = 0x0, last_func = 0,
last_class = 0, cbase = 1075584272, prev = 0xbfffe910, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 333, iter = 0, flags = 0},
scope = 0x401cfd34, tag = 0x4022dc30, klass = 1075641632, iter = 0,
vmode = 0, flags = 1, dyna_vars = 0x4022dca8, orig_thread = 3221216584,
wrapper = 0, prev = 0x0}
_tag = {buf = {{__jmpbuf = {1075540072, -1073748160, -1073750772,
-1073749912, -1073751328, 134563053}, __mask_was_saved = 0,
__saved_mask = {__val = {1074707334, 0, 0, 0, 3221216672, 3221216456,
0,
4, 1075641652, 0, 3221216864, 0, 4096, 26, 67108864, 135487624, 0,
1075637472, 0, 0, 0, 0, 1075584272, 3221217552, 0, 135270336, 46,
0,
0, 7300, 134616492, 3221216776}}}}, frame = 0xbfffe710,
iter = 0xbfffe120, tag = 4294967295, retval = 4, scope = 0x401cfd34,
dst = 0, prev = 0xbfffe640}
n = (NODE *) 0x0
node = (NODE *) 0x401b707c
state = 0
result = 4
#82 0x0805509a in rb_eval (self=1075637472, n=0x401b7054) at eval.c:2523
file = 0x8100fc0 "dma1"
line = 333
i = 1
n = (NODE *) 0x401b7068
_iter = {iter = 0, prev = 0xbfffe638}
tmp_block = (struct BLOCK *) 0x0
recv = 1076028736
argc = 2
argv = (VALUE *) 0xbfffe080
n = (NODE *) 0x0
node = (NODE *) 0x401b7158
state = 0
result = 4
#83 0x08057fa1 in rb_yield_0 (val=3, self=1075637472, klass=0, acheck=0)
at eval.c:3622
_tag = {buf = {{__jmpbuf = {0, -1073745540, 0, -1073748104,
-1073748464, 134577961}, __mask_was_saved = 0, __saved_mask = {
__val = {1074707334, 3221222608, 3221219008, 3221218984, 134637275,
131063, 0, 3221218984, 1074707334, 2857, 1073823048, 3221219000,
134858341, 2857, 4, 135489544, 8, 1076034756, 0, 0, 1075613432,
1076028736, 0, 0, 2857, 0, 1075584272, 3221219600, 0, 135270336,
130, 0}}}}, frame = 0xbfffe710, iter = 0xbfffe638, tag = 0,
retval = 4, scope = 0x401cfd34, dst = 0, prev = 0xbffff1b0}
_iter = {iter = 0, prev = 0xbfffe838}
_class = 1075641632
_old = (struct RVarmap *) 0x0
klass = 0
node = (NODE *) 0x401b7054
result = 4
old_cref = 1075584272
old_wrapper = 0
block = (struct BLOCK *) 0xbffff140
old_scope = (struct SCOPE *) 0x401cfd34
frame = {self = 1075637472, argc = 0, argv = 0x0, last_func = 0,
last_class = 0, cbase = 1075584272, prev = 0xbfffe910, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 332, iter = 0, flags = 0}
file = 0x8100fc0 "dma1"
line = 332
state = 0
serial = 1340
#84 0x080581ec in rb_yield (val=3) at eval.c:3710
No locals.
#85 0x08089d6a in range_each (range=1076028456) at range.c:185
end = 5
i = 2
b = 2
e = 5
#86 0x080594d3 in call_cfunc (func=0x8089cf4 <range_each>, recv=1076028456,
len=0, argc=0, argv=0x0) at eval.c:4269
func = (VALUE (*)()) 0x8089cf4 <range_each>
recv = 1076028456
len = 41
argc = 0
argv = (VALUE *) 0x0
#87 0x08059861 in rb_call0 (klass=1075605532, recv=1076028456, id=3569,
argc=0, argv=0x0, body=0x401c6f18, nosuper=1) at eval.c:4394
_frame = {self = 1076028456, argc = 0, argv = 0x0, last_func = 3569,
last_class = 0, cbase = 1075584272, prev = 0x80c9fe0, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 332, iter = 2, flags = 0}
_iter = {iter = 2, prev = 0xbffff000}
b2 = (NODE *) 0x47
result = 4
itr = 0
tick = 424221
#88 0x0805a021 in rb_call (klass=1075605532, recv=1076028456, mid=3569,
argc=0, argv=0x0, scope=0) at eval.c:4614
mid = 3569
scope = 0
body = (NODE *) 0x401c6f18
noex = 1
id = 3569
#89 0x08055490 in rb_eval (self=1075637472, n=0x401b71f8) at eval.c:2544
n = (NODE *) 0x0
node = (NODE *) 0x401b71f8
state = 0
result = 4
#90 0x0805453c in rb_eval (self=1075637472, n=0x401b7018) at eval.c:2276
_iter = {iter = 1, prev = 0xbffffa80}
_block = {var = 0x401b71bc, body = 0x401b7054, self = 1075637472,
frame = {self = 1075637472, argc = 0, argv = 0x0, last_func = 0,
last_class = 0, cbase = 1075584272, prev = 0x0, tmp = 0x0,
file = 0x8100fc0 "dma1", line = 332, iter = 0, flags = 0},
scope = 0x401cfd34, tag = 0x4022e504, klass = 1075641632, iter = 0,
vmode = 0, flags = 1, dyna_vars = 0x0, orig_thread = 3221221832,
wrapper = 0, prev = 0x0}
_tag = {buf = {{__jmpbuf = {0, 135045136, -1073745540, -1073744680,
-1073746096, 134563053}, __mask_was_saved = 0, __saved_mask = {
__val = {134637491, 1075542472, 10, 135381336, 135381333, 0, 56,
1073743934, 1073743288, 1073742360, 1073816024, 6, 1075542352,
3221223864, 20, 3221221960, 134637275, 1075633332, 4294967295, 0,
1075108682, 0, 0, 0, 71, 3221222176, 3221222016, 3221222016,
1075542312, 3221223864, 20, 3221222024}}}}, frame = 0x80c9fe0,
iter = 0xbffffa80, tag = 4294967295, retval = 4, scope = 0x401cfd34,
dst = 0, prev = 0xbffffa90}
n = (NODE *) 0x0
node = (NODE *) 0x401b702c
state = 0
result = 4
#91 0x08053ba5 in rb_eval (self=1075637472, n=0x401c1af4) at eval.c:2025
n = (NODE *) 0x0
node = (NODE *) 0x401b7004
state = 9449
result = 4
#92 0x08051f91 in ruby_run () at eval.c:1189
_iter = {iter = 0, prev = 0x80ca010}
_tag = {buf = {{__jmpbuf = {-1073742876, 2, -1073742876, -1073743016,
-1073743248, 134553460}, __mask_was_saved = 0, __saved_mask = {
__val = {1073910936, 1074264752, 1073910936, 4, 134526504,
1073817708,
24641422, 24641422, 3221224336, 1073817296, 134532389, 1074706745,
24, 1074275536, 1073910936, 1074706714, 3221224244, 1073816768,
1073818560, 29, 3221224252, 1073784033, 1073816768, 1073817296,
128,
3221224272, 1073784033, 1073817708, 1073911688, 1, 0,
1073910936}}}}, frame = 0x80c9fe0, iter = 0x80ca010, tag = 0,
retval = 4, scope = 0x401cfd34, dst = 0, prev = 0x0}
state = 0
ex = 0
tmp = (NODE *) 0x0
#93 0x0805096f in main (argc=2, argv=0xbffffbe4, envp=0xbffffbf0) at
main.c:50
argc = 2
argv = (char **) 0xbffffbe4
#94 0x4008f1c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
"Yukihiro Matsumoto" <matz@ruby-lang.org> wrote in message
news:1028419730.358000.2347.nullmailer@picachu.netlab.jp...
> Hi,
>
> In message "Another Segmentation Fault problem"
> on 02/08/04, Matt Lawrence <matt@technoronin.com> writes:
>
> |I've built a multi-threaded web spider that uses "thread", "net/http"
> |and "ncurses". Occasionally it will segfault, usually down in the net
> |code. I'm running Red Hat 7.3 with _all_ the latest updates. The
> |problem seemed to appear after I did an "apt-get dist-upgrade", but
> |considering how intermittent it is, it might have been there before.
Help?
>
> Show me the code if possible. And output from the following command:
>
> ruby -v
> uname -a
>
> matz.
>