From: "Mr. Sunblade" Date: 2002-07-02T06:08:29+09:00 Subject: Re: Problem with Solaris extension for 'ps' -----Original Message----- From: nobu.nokada@softhome.net To: ruby-talk ML Date: Monday, July 01, 2002 3:13 PM Subject: Re: Problem with Solaris extension for 'ps' >Hi, > >At Tue, 2 Jul 2002 04:34:51 +0900, >Mr. Sunblade wrote: >> I'm working on a Ruby extension for the 'ps' command. I've got a >> working version for Linux (at home), but I'm hitting a snag with my >> Solaris version. It compiles, it runs - then it core dumps. The >> problem appears to be something it doesn't like about the way I create >> my return struct. There are some debug printf statements in there. It >> appears to core dump the moment it tries to return a rb_struct. Any >> ideas? Something wrong with the way I create the struct? Some malloc >> that needs doing? > >You don't store the defined Struct. Gah! That's it. Thanks! Regards, Dan