Package: ruby1.8
Version: 1.8.2-3
Severity: normal

Hello,

There seems to be a problem with usage of the ruby-breakpoint library[1] with
the Debian Ruby packages. Where it seems to run fine when ruby 1.8.2 (the most
recent one) is build from source, this does not work with Debian's ruby1.8.
See also: 
http://ruby-breakpoint.rubyforge.org/wiki/wiki.pl?FrequentlyAskedQuestions
(question: I'm getting "SecurityError" (Insecure operation...))

I have been able to reproduce this (got the tarball from the homepage, 
possible even without installing):

First start:
$ ruby -I./lib -rbreakpoint -e "Breakpoint.activate_drb; breakpoint"

and then in parallel start:
$ ruby -I./lib bin/breakpoint_client

the first instance raises:
(druby://localhost:42532) bin/breakpoint_client:105:in `write': Insecure
operation `write' at level 4 (SecurityError)
        from (druby://localhost:42532) bin/breakpoint_client:105:in `puts'
        from (druby://localhost:42532) bin/breakpoint_client:105:in 
`breakpoint_handler'
        from (druby://localhost:42532) /usr/lib/ruby/1.8/drb/drb.rb:1520:in 
`call'
        from ./lib/breakpoint.rb:314:in `add_breakpoint'
        from ./lib/breakpoint.rb:219:in `handle_breakpoint'
        from ./lib/breakpoint.rb:207:in `catch'
        from ./lib/breakpoint.rb:207:in `handle_breakpoint'
        from ./lib/breakpoint.rb:119:in `breakpoint'
        from ./lib/breakpoint.rb:538:in `breakpoint'
        from ./lib/breakpoint.rb:537:in `of_caller'
        from ./lib/breakpoint.rb:537:in `breakpoint'
        from -e:1

flgr told me that using plain ruby 1.8.2 has fixed the problem for everyone
so far Also the modified libruby seems to fix it, but not much information
is available at the moment. Also it is not known which patch precisely
fixed the problem.
Does Debian ruby1.8 use vanilla ruby 1.8.2 at the moment or a patched
pre-version?

Greetings,

Paul

1: http://ruby-breakpoint.rubyforge.org/wiki/wiki.pl


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (102, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.10-powerpc
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ruby1.8 depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libruby1.8                  1.8.2-3      Libraries necessary to run Ruby 1.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to