Re: using dbi with mod_ruby

jm <[email protected]> Mon, 16 Aug 2004 21:09:44 +1000
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On 16/08/2004, at 4:29 PM, Shugo Maeda wrote:

>>     sth = @@dbh.prepare(@sql_query)
>                           ^^^^^^^^^^^
>                           This should be @@sql_query, shouldn't it?

Well spotted. That was a stupid mistake on my part introduced during 
testing. I'd thought I'd fixed something as at least it wasn't doing 
this...

[Mon Aug 16 20:52:08 2004] [error] 
/usr/local/lib/ruby/site_ruby/1.8/uri_test.rb 38
[Mon Aug 16 20:52:09 2004] [notice] child pid 4820 exit signal 
Segmentation fault (11)

which is what it was doing before and is now doing again. Normally I'd 
reach for strace or something, but as this is behind apache and 
mod_ruby so the question is how to get a trace out of this.

Jeff.