[#405207] Does `self` and `scope(local)` operate parallels? — "Kumar R." <lists@...>

I am heavily confused with the topic when thinking `self` and `local

21 messages 2013/03/01
[#405211] Re: Does `self` and `scope(local)` operate parallels? — "Kumar R." <lists@...> 2013/03/01

Just to help experts out there I am clearing my statement once again

[#405242] Confusion in instance method calls of super class from subclass — "Kumar R." <lists@...>

I was just playing to see the instance method calls from the subclass

16 messages 2013/03/02
[#405252] Re: Confusion in instance method calls of super class from subclass — Hans Mackowiak <lists@...> 2013/03/03

YOU DID NOT READ WHAT I WAS WRITTEN:

[#405250] Extending Ruby. Little help or guidance if you are willing! — Cliff Rosson <cliff.rosson@...>

Hi Folk,

21 messages 2013/03/03
[#405393] Re: Extending Ruby. Little help or guidance if you are willing! — nannasin smith <lists@...> 2013/03/06

I've tried to do some reading but some of this is a bit over my head.

[#405549] Re: Extending Ruby. Little help or guidance if you are willing! — Cliff Rosson <cliff.rosson@...> 2013/03/10

Haven't been able to touch this in a week but I had a few minutes to look

[#405550] Re: Extending Ruby. Little help or guidance if you are willing! — Bartosz Dziewoński <matma.rex@...> 2013/03/10

On Sun, 10 Mar 2013 04:41:32 +0100, Cliff Rosson <cliff.rosson@gmail.com> wrote:

[#405600] Re: Extending Ruby. Little help or guidance if you are willing! — Cliff Rosson <cliff.rosson@...> 2013/03/11

Got ya. So it doesn't really matter if I convert things to ID and compare

[#405271] Confusion with Ruby's "case/when" block statement — "Kumar R." <lists@...>

Ruby uses `===` operator on the `case/when` type execution style.Now It

13 messages 2013/03/03

[#405310] How `next` works in ruby with `unless` ? — "Kumar R." <lists@...>

The `next` statement is used to skip a part of the loop and continue

25 messages 2013/03/04
[#405311] Re: How `next` works in ruby with `unless` ? — Joel Pearson <lists@...> 2013/03/04

Learn what semicolons do in Ruby.

[#405312] Re: How `next` works in ruby with `unless` ? — Matthew Kerwin <matthew@...> 2013/03/04

What Joel said.

[#405313] Re: How `next` works in ruby with `unless` ? — "Kumar R." <lists@...> 2013/03/04

Matthew Kerwin wrote in post #1100097:

[#405323] YourLanguageSucks — Kiswono Prayogo <kiswono@...>

Hi, i found this link.. https://wiki.theory.org/YourLanguageSucks

10 messages 2013/03/05

[#405376] When can one call themselves a “Rubyist”? — Rafal Chmiel <lists@...>

I was wondering what that term even meant. Is it something to do with

10 messages 2013/03/05

[#405400] Bignum-Fixnum-Numeric confusion — Pritam Dey <lists@...>

Hi,

13 messages 2013/03/06

[#405444] Question regarding automating some Outlook/IMAP and pdf parsing functions w/ ruby? — Ed Zimmerman <lists@...>

Hello,

20 messages 2013/03/07

[#405477] Compiling Ruby 2.0, problem with OpenSSL — "Piotr P." <lists@...>

Trying to compile Ruby 2.0 from source, having problem with it, getting

10 messages 2013/03/07

[#405495] RubyExcel class. Useful? — Joel Pearson <lists@...>

I've managed to create a (relatively) stable data-processing class which

32 messages 2013/03/08

[#405570] Confusion with block local variable declaration with block variable declaration within the pipe `|` — Love U Ruby <lists@...>

Why are we not allowed to create local variables or new object with

17 messages 2013/03/11

[#405597] Confusion with empty block printing — Love U Ruby <lists@...>

When I typed the below in my IRB:

18 messages 2013/03/11

[#405608] Access values for JSON.parse response — Nicole Villette <lists@...>

Hello, Does anyone know who to get the values from a nested hash in

17 messages 2013/03/11

[#405630] Confusion with some Module methods. — Love U Ruby <lists@...>

Can anyone help me to understand how the below module methods works?

16 messages 2013/03/12

[#405656] Confusion with Strings — Love U Ruby <lists@...>

From the book I read a line about string :

18 messages 2013/03/12

[#405762] Understanding Ruby Classes, Objects and Methods. — Kedar Mhaswade <lists@...>

Dear Rubyists,

12 messages 2013/03/13

[#405931] Finding one's way with 'super' in define_method/alias_emthod — Marcin Rzeźnicki <marcin.rzeznicki@...>

Hi all!

12 messages 2013/03/18
[#405935] Re: Finding one's way with 'super' in define_method/alias_emthod — Robert Klemme <shortcutter@...> 2013/03/18

On Mon, Mar 18, 2013 at 5:50 PM, Marcin Rze=C5=BAnicki

[#405936] Re: Finding one's way with 'super' in define_method/alias_emthod — "Marcin R." <lists@...> 2013/03/18

Robert Klemme wrote in post #1102151:

[#405942] Re: Finding one's way with 'super' in define_method/alias_emthod — Robert Klemme <shortcutter@...> 2013/03/18

On Mon, Mar 18, 2013 at 8:39 PM, Marcin R. <lists@ruby-forum.com> wrote:

[#405986] Ruby tainting on primitives — "Nicolas V." <lists@...>

Hi there,

18 messages 2013/03/20

[#405987] Why was the object_id for true and nil changed in ruby2.0? — Bharadwaj Srigiriraju <lists@...>

irb(main):001:0> true.object_id

11 messages 2013/03/20

[#406015] fixedpnt 0.0.1: Binary Fixed Point Calculations — Axel Friedrich <lists@...>

https://github.com/Axel2/fixedpnt.rb

12 messages 2013/03/20

[#406184] Nokogiri help parsing HTML — Paul Mena <lists@...>

I'm relatively new to Ruby (and therefore Nokogiri) and am trying to

18 messages 2013/03/26

[#406258] Translation Project — Jeremy Henderson <lists@...>

Hello all! This is my first post! I started learning Ruby about 3 weeks

22 messages 2013/03/28

[#406291] Hash with default — Harry Kakueki <list.push@...>

I would like to make a hash like h2 with the default described by h in one

12 messages 2013/03/29

[#406375] Ruby Gotchas presentation slides — Dave Aronson <rubytalk2dave@...>

I recently made available the slides for a presentation I did

13 messages 2013/03/30

[#406387] Private setters can be called by self, why not getters? — Josh Cheek <josh.cheek@...>

class Counter

9 messages 2013/03/31

build failure of ruby-2.0.0-p0.tar.gz under Mac OS X 10.8.3

From: Fearless Fool <lists@...>
Date: 2013-03-26 20:36:03 UTC
List: ruby-talk #406182
I'm getting an abort trap (stack consistency error) compiling
ruby-2.0-p0.

FIRST QUESTION: is this the right place to report it?  (And my sincere
apologies if not!!)

= Environment:

MacBook Pro
OS X 10.8.3
Xcode version 4.6.1 with command line tools
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.11.00)

= To replicate:

SANDBOX_PATH=/Users/me/dev
TARBALLS=${SANDBOX_PATH}/tarballs
INSTALL_DIR=${SANDBOX_PATH}/usr

RUBY_TARBALL=${TARBALLS}/ruby-2.0.0-p0.tar.gz
RUBY_SOURCES=${TARBALLS}/ruby-2.0.0-p0
RUBY_TARGET=${INSTALL_DIR}/bin/ruby
RUBY_DISTRO=http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz

mkdir ${TARBALLS}
cd ${TARBALLS}
wget -O ${RUBY_TARBALL} ${RUBY-DISTRO}
tar xf ${RUBY_TARBALL}

cd ${RUBY_SOURCES}
./configure --prefix=${INSTALL_DIR} --enable-shared
--disable-install-doc --with-opt-dir=${INSTALL_DIR}
make

= Results

... lots of printout...
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111:
[BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]

-- Crash Report log information
--------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information
-----------------------------------------------
c:0006 p:0038 s:0038 e:000037 CLASS
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:85
[FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC  :require
c:0002 p:0098 s:0026 E:000608 EVAL   ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:001518 TOP    [FINISH]

./tool/mkconfig.rb:11:in `<main>'
./tool/mkconfig.rb:11:in `require'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:85:in
`<top (required)>'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:107:in
`<module:FileUtils>'
/Users/r/Desktop/Beryl/tarballs/ruby-2.0.0-p0/lib/fileutils.rb:111:in
`<module:NoWrite>'

-- C level backtrace information
-------------------------------------------
0   miniruby                            0x00000001056f0e64
rb_vm_bugreport + 164
1   miniruby                            0x00000001055c817e report_bug +
302
2   miniruby                            0x00000001055c8434 rb_bug + 180
3   miniruby                            0x00000001056e6ee0 vm_exec_core
+ 32080
4   miniruby                            0x00000001056e70be vm_exec + 94
5   miniruby                            0x00000001056e7f9a rb_iseq_eval
+ 266
6   miniruby                            0x00000001055ccd92
rb_load_internal + 306
7   miniruby                            0x00000001055ce4e1
rb_require_safe + 1313
8   miniruby                            0x00000001056d6ca4 call_cfunc_1
+ 20
9   miniruby                            0x00000001056dd166 vm_call_cfunc
+ 1046
10  miniruby                            0x00000001056ebd20
vm_call_method + 224
11  miniruby                            0x00000001056e23a3 vm_exec_core
+ 12819
12  miniruby                            0x00000001056e70be vm_exec + 94
13  miniruby                            0x00000001056e7e6e
rb_iseq_eval_main + 206
14  miniruby                            0x00000001055cb4ff
ruby_exec_internal + 111
15  miniruby                            0x00000001055cc4e2 ruby_run_node
+ 82
16  miniruby                            0x00000001055925ff main + 79
17  libdyld.dylib                       0x00007fff8896f7e1 start + 0
18  ???                                 0x0000000000000009 0x0 + 9

-- Other runtime information
-----------------------------------------------

* Loaded script: ./tool/mkconfig.rb

* Loaded features:

    0 enumerator.so

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [.rbconfig.time] Abort trap: 6
Beryl[~/Desktop/Beryl/tarballs/ruby-2.0.0-p0]$

= and the full crash report:

Process:         miniruby [13458]
Path:            /Users/USER/Desktop/*/miniruby
Identifier:      miniruby
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  make [12645]
User ID:         501

Date/Time:       2013-03-26 13:00:53.206 -0700
OS Version:      Mac OS X 10.8.3 (12D78)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff85c36212 __pthread_kill +
10
1   libsystem_c.dylib               0x00007fff819f3b54 pthread_kill + 90
2   libsystem_c.dylib               0x00007fff81a37dce abort + 143
3   miniruby                        0x00000001055c8439 rb_bug + 185
4   miniruby                        0x00000001056e6ee0 vm_exec_core +
32080 (insns.def:1539)
5   miniruby                        0x00000001056e70be vm_exec + 94
(vm.c:1176)
6   miniruby                        0x00000001056e7f9a rb_iseq_eval +
266 (vm.c:1411)
7   miniruby                        0x00000001055ccd92 rb_load_internal
+ 306 (load.c:559)
8   miniruby                        0x00000001055ce4e1 rb_require_safe +
1313 (load.c:917)
9   miniruby                        0x00000001056d6ca4 call_cfunc_1 + 20
(vm_insnhelper.c:1304)
10  miniruby                        0x00000001056dd166 vm_call_cfunc +
1046 (vm_insnhelper.c:1438)
11  miniruby                        0x00000001056ebd20 vm_call_method +
224 (vm_insnhelper.c:1697)
12  miniruby                        0x00000001056e23a3 vm_exec_core +
12819 (insns.def:1017)
13  miniruby                        0x00000001056e70be vm_exec + 94
(vm.c:1176)
14  miniruby                        0x00000001056e7e6e rb_iseq_eval_main
+ 206 (vm.c:1424)
15  miniruby                        0x00000001055cb4ff
ruby_exec_internal + 111 (eval.c:255)
16  miniruby                        0x00000001055cc4e2 ruby_run_node +
82 (eval.c:315)
17  miniruby                        0x00000001055925ff main + 79
(main.c:36)
18  libdyld.dylib                   0x00007fff8896f7e1 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fff85c36322 __select + 10
1   miniruby                        0x00000001056f6228 thread_timer +
472 (thread_pthread.c:1240)
2   libsystem_c.dylib               0x00007fff819f27a2 _pthread_start +
327
3   libsystem_c.dylib               0x00007fff819df1e1 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx:
0x00007fff5a66d728  rdx: 0x0000000000000000
  rdi: 0x0000000000000303  rsi: 0x0000000000000006  rbp:
0x00007fff5a66d750  rsp: 0x00007fff5a66d728
   r8: 0x00007fff70ae0278   r9: 0x00007fff5a66d5d0  r10:
0x0000000020000000  r11: 0x0000000000000206
  r12: 0x0000000000000008  r13: 0x0000000000000002  r14:
0x00007fff70ae1180  r15: 0x00007f8a59534650
  rip: 0x00007fff85c36212  rfl: 0x0000000000000206  cr2:
0x00007fff70ad9ff0
Logical CPU: 0

Binary Images:
       0x105591000 -        0x1057a4fff +miniruby (0)
<283E1439-5A72-398B-BD29-B86B0C1E636B> /Users/USER/Desktop/*/miniruby
    0x7fff65191000 -     0x7fff651c593f  dyld (210.2.3)
<6900F2BA-DB48-3B78-B668-58FC0CF6BCB8> /usr/lib/dyld
    0x7fff8116b000 -     0x7fff8116dfff  libquarantine.dylib (52)
<4BE2E642-A14F-340A-B482-5BD2AEFD9C24>
/usr/lib/system/libquarantine.dylib
    0x7fff8152d000 -     0x7fff81533fff  libmacho.dylib (829)
<BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff818d4000 -     0x7fff818dcff7  libsystem_dnssd.dylib (379.37)
<616FC901-151E-38BF-B2C4-24A351C5FAAD>
/usr/lib/system/libsystem_dnssd.dylib
    0x7fff819c4000 -     0x7fff819c5ff7  libremovefile.dylib (23.2)
<6763BC8E-18B8-3AD9-8FFA-B43713A7264F>
/usr/lib/system/libremovefile.dylib
    0x7fff819de000 -     0x7fff81aaaff7  libsystem_c.dylib (825.26)
<4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff8499a000 -     0x7fff8499ffff  libcache.dylib (57)
<65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff84ced000 -     0x7fff84cfbfff  libcommonCrypto.dylib (60027)
<BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F>
/usr/lib/system/libcommonCrypto.dylib
    0x7fff850a5000 -     0x7fff851bd92f  libobjc.A.dylib (532.2)
<90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff85981000 -     0x7fff859e9ff7  libc++.1.dylib (65.1)
<20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff85ae8000 -     0x7fff85ae9ff7  libsystem_sandbox.dylib (220.2)
<6838A6FD-8626-3356-BB4F-BB4787216207>
/usr/lib/system/libsystem_sandbox.dylib
    0x7fff85c24000 -     0x7fff85c3fff7  libsystem_kernel.dylib
(2050.22.13) <5A961E2A-CFB8-362B-BC43-122704AEB047>
/usr/lib/system/libsystem_kernel.dylib
    0x7fff85c40000 -     0x7fff85c76fff  libsystem_info.dylib (406.17)
<4FFCA242-7F04-365F-87A6-D4EFB89503C1>
/usr/lib/system/libsystem_info.dylib
    0x7fff86d86000 -     0x7fff86dd2ff7  libauto.dylib (185.1)
<73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff86fbc000 -     0x7fff86fdeff7  libxpc.dylib (140.42)
<BBE558BD-5E55-35E4-89ED-1AA6B056D05A> /usr/lib/system/libxpc.dylib
    0x7fff8742c000 -     0x7fff8742dff7  libSystem.B.dylib (169.3)
<FF25248A-574C-32DB-952F-B948C389B2A4> /usr/lib/libSystem.B.dylib
    0x7fff8743a000 -     0x7fff8744fff7  libdispatch.dylib (228.23)
<D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff874fc000 -     0x7fff8754bff7  libcorecrypto.dylib (106.2)
<CE0C29A3-C420-339B-ADAA-52F4683233CC>
/usr/lib/system/libcorecrypto.dylib
    0x7fff880a2000 -     0x7fff880a8ff7  libunwind.dylib (35.1)
<21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff886f9000 -     0x7fff8871eff7  libc++abi.dylib (26)
<D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff8871f000 -     0x7fff88727fff  liblaunch.dylib (442.26.2)
<2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff888b0000 -     0x7fff888b7fff  libcopyfile.dylib (89)
<876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8892f000 -     0x7fff8893dff7  libsystem_network.dylib (77.10)
<0D99F24E-56FE-380F-B81B-4A4C630EE587>
/usr/lib/system/libsystem_network.dylib
    0x7fff8896d000 -     0x7fff88970ff7  libdyld.dylib (210.2.3)
<F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff8b1fa000 -     0x7fff8b1fcff7  libunc.dylib (25)
<92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff8b485000 -     0x7fff8b486ff7  libdnsinfo.dylib (453.19)
<14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff8be8c000 -     0x7fff8be8cfff  libkeymgr.dylib (25)
<CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8c1b9000 -     0x7fff8c1bafff  libsystem_blocks.dylib (59)
<D92DCBC3-541C-37BD-AADE-ACC75A0C59C8>
/usr/lib/system/libsystem_blocks.dylib
    0x7fff8d072000 -     0x7fff8d07dfff  libsystem_notify.dylib (98.5)
<C49275CC-835A-3207-AFBA-8C01374927B6>
/usr/lib/system/libsystem_notify.dylib
    0x7fff8d503000 -     0x7fff8d508fff  libcompiler_rt.dylib (30)
<08F8731D-5961-39F1-AD00-4590321D24A9>
/usr/lib/system/libcompiler_rt.dylib
    0x7fff8d50e000 -     0x7fff8d53cff7  libsystem_m.dylib (3022.6)
<B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 20982
    thread_create: 1
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=59.2M resident=31.3M(53%)
swapped_out_or_unallocated=28.0M(47%)
Writable regions: Total=83.6M written=2424K(3%) resident=2508K(3%)
swapped_out=0K(0%) unallocated=81.1M(97%)

REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             19.2M
MALLOC guard page                    16K
STACK GUARD                           8K
Stack                              64.0M
__DATA                              756K
__LINKEDIT                         52.7M
__TEXT                             6692K
shared memory                        12K
===========                      =======
TOTAL                             143.2M

-- 
Posted via http://www.ruby-forum.com/.

In This Thread

Prev Next