Forum: Ruby Weird bug in SQLite3

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
430ea1cba106cc65b7687d66e9df4f06?d=identicon&s=25 David Vallner (Guest)
on 2006-02-06 00:41
(Received via mailing list)
I was trying to do some remote bugsquashing by SSHing on a Windows
running the Cygwin sshd. It's a clean Cygwin ruby setup, with the
required for Rails, and the SQLite3 Driver compiled with gcc 3.4.4
special), which seems to fallback to the DL driver after I hacked api.rb
recognize cygwin as a host.

Whatever Rails is doing to connect to the database, it threw a can't
exception or some such. I then tried to recreate that in "irb", and got
weird beaviour:

(I edited some gruesome gemspec dum spam from the log)

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> 'require                        require 'sqlite3'
=> false
irb(main):003:0> require 'irb/omp         completion'
=> true
irb(main):004:0> require 'pp'
=> true
irb(main):005:0> pp SQLite3. '   'production.sqlitwe
  #< ... >,
 @handle=#<DL::PtrData:0x0x102a2430 ptr=0x0x6803430 size=0 free=0x0x0>,
=> nil
irb(main):006:0> quit

I didn't test if this DB handle actually worked. The next ones I created
another session looked perfectly normal.

Is this just a really, really weird coinkydink related to my obscure
where some DLLs seem to clash and cause strange interpreter states, or
can it
be considered a proper bug in one of the parties involved?

David Vallner
430ea1cba106cc65b7687d66e9df4f06?d=identicon&s=25 David Vallner (Guest)
on 2006-02-06 04:36
(Received via mailing list)
Sidenote: please ignore the nonsense in the commands I typed, that's me
forgetting to edit out the control characters from the tee output. (Does
have any logging features?)

David Vallner
This topic is locked and can not be replied to.