[#4766] Wiki — "Glen Stampoultzis" <trinexus@...>

21 messages 2000/09/04
[#4768] RE: Wiki — "NAKAMURA, Hiroshi" <nahi@...> 2000/09/04

Hi, Glen,

[#4783] Re: Wiki — Masatoshi SEKI <m_seki@...> 2000/09/04

[#4785] Re: Wiki — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/09/05

Howdy,

[#4883] Re-binding a block — Dave Thomas <Dave@...>

16 messages 2000/09/12

[#4930] Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/09/15

[#4936] Ruby Book Eng. translation editor's questions — Jon Babcock <jon@...>

20 messages 2000/09/16

[#5045] Proposal: Add constants to Math — Robert Feldt <feldt@...>

15 messages 2000/09/21

[#5077] Crazy idea? infix method calls — hal9000@...

This is a generalization of the "in" operator idea which I

17 messages 2000/09/22

[#5157] Compile Problem with 1.6.1 — Scott Billings <aerogems@...>

When I try to compile Ruby 1.6.1, I get the following error:

15 messages 2000/09/27

[ruby-talk:4720] ruby 1.6.0 preview

From: schneik@...
Date: 2000-09-01 07:37:40 UTC
List: ruby-talk #4720

Hi,

On AIX 4.3 with VAC compiler, I got the following warnings:
....
        cc -g -I. -I. -I/usr/local/include -c util.c
"config.h", line 2.9: 1506-236 (W) Macro name _ALL_SOURCE has been
redefined.
"config.h", line 2.9: 1506-358 (I) "_ALL_SOURCE" is defined on line 111 of
/usr/include/standards.h.
....
        /usr/ccs/bin/ld  -brtl -eInit_socket
-bI:/driver/tools/src/ruby/ruby-1.6.0/ruby.imp -bM:SRE -T512 -H512 -lc
-L/usr/local/lib -o socket.so socket.o getaddrinfo.o getnameinfo.o -lc
ld: 0711-224 WARNING: Duplicate symbol: .gai_strerror
ld: 0711-224 WARNING: Duplicate symbol: gai_strerror
....

I found the following problem:

xxxxxxxx/src/ruby/ruby-tk81-demos
# ruby widget
Segmentation fault(coredump)
xxxxxxxx/src/ruby/ruby-tk81-demos
# ruby -v
ruby 1.6.0 (2000-08-31) [rs6000-aix4.3.2.0]

The segfault happens when clicking on the first widget demo after the main
window displays itself.

Other Ruby/Tk things like "ruby timer" and "ruby rolodex" work OK. The
widget demo still works with ruby 1.5.5 (2000-08-02) [rs6000-aix4.3.2.0].
AFAIK, this version of widget should be identical to the (English) RAA
version.

I thought I would try running with -w and got a somewhat different failure
message:

xxxxxxxx/src/ruby/ruby-tk81-demos
# ruby -w widget
widget:71: warning: `*' interpreted as argument prefix
widget:92: warning: `*' interpreted as argument prefix
widget:428: warning: `*' interpreted as argument prefix
widget:448: warning: `*' interpreted as argument prefix
widget:449: warning: `*' interpreted as argument prefix
widget:458: warning: rowconfigure (...) interpreted as method call
/usr/local/lib/ruby/1.6/tk.rb:809: warning: instance variable @encoding not
initialized
/usr/local/lib/ruby/1.6/tk.rb:1389: warning: redefine useinputmethods
/usr/local/lib/ruby/1.6/tk.rb:1405: warning: discarding old useinputmethods
/usr/local/lib/ruby/1.6/tkfont.rb:388: warning: instance variable
@compoundfont not initialized
/usr/local/lib/ruby/1.6/tk.rb:2299: warning: instance variable @classname
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2300: warning: instance variable @colormap
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2301: warning: instance variable @container
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2302: warning: instance variable @visual not
initialized
/usr/local/lib/ruby/1.6/tk.rb:246: warning: instance variable @cmdtbl not
initialized
/usr/local/lib/ruby/1.6/tk.rb:2869: warning: instance variable @delegates
not initialized
/usr/local/lib/ruby/1.6/tk.rb:246: warning: instance variable @cmdtbl not
initialized
/usr/local/lib/ruby/1.6/tk.rb:2299: warning: instance variable @classname
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2300: warning: instance variable @colormap
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2301: warning: instance variable @container
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2302: warning: instance variable @visual not
initialized
/usr/local/lib/ruby/1.6/tk.rb:246: warning: instance variable @cmdtbl not
initialized
/usr/local/lib/ruby/1.6/tk.rb:246: warning: instance variable @cmdtbl not
initialized
/usr/local/lib/ruby/1.6/tk.rb:2299: warning: instance variable @classname
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2300: warning: instance variable @colormap
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2301: warning: instance variable @container
not initialized
/usr/local/lib/ruby/1.6/tk.rb:2302: warning: instance variable @visual not
initialized
/usr/local/lib/ruby/1.6/tkfont.rb:388: warning: instance variable
@compoundfont not initialized
/usr/local/lib/ruby/1.6/tkfont.rb:435: warning: instance variable
@compoundfont not initialized
/usr/local/lib/ruby/1.6/tkfont.rb:388: warning: instance variable
@compoundfont not initialized
/usr/local/lib/ruby/1.6/tkfont.rb:435: warning: instance variable
@compoundfont not initialized
/usr/local/lib/ruby/1.6/tk.rb:246: warning: instance variable @cmdtbl not
initialized

Catastrophe in realloc: invalid storage ptr
IOT/Abort trap(coredump)

These are pretty much the same warnings that ruby1.5.5 gives.

(Note to self: get back in the Perl habit of always using -w!!!!)

Conrad Schneiker
(This note is unofficial and subject to improvement without notice.)



In This Thread

Prev Next