Projects

Ticket #886 (closed defect: duplicate)

Opened 18 months ago

Last modified 18 months ago

Abort occurs within "spec/macruby/language/objc_method_spec.rb", Using 32bit arch.

Reported by: watson1978@… Owned by: lsansonetti@…
Priority: blocker Milestone:
Component: MacRuby Keywords:
Cc:

Description

$ ./mspec/bin/mspec ci -B ./spec/macruby.mspec ./spec/macruby/language/objc_method_spec.rb
MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, i386]
2010-09-01 00:23:17.498 macruby[93485:1b07] +[NSATSGlyphGenerator initialize] invocation.  The class is deprecated.
.....................FF................F......F...............FF..........................terminate called without an active exception
zsh: abort      ./mspec/bin/mspec ci -B ./spec/macruby.mspec 

$ ./mspec/bin/mspec ci -B ./spec/macruby.mspec ./spec/macruby/language/objc_method_spec.rb -f s
---- snip ----
A Proc object
- can be used when a BridgeSupport Obj-C method takes a function pointer as an argument
- can be used when a BridgeSupport C function takes a function pointer as an argumentterminate called without an active exception
zsh: abort      ./mspec/bin/mspec ci -B ./spec/macruby.mspec  -f s

Change History

Changed 18 months ago by martinlagardette@…

  • status changed from new to closed
  • resolution set to duplicate

The backtrace seems identical to #881 :

(gdb) bt
#0  0x91d2eef6 in __kill ()
#1  0x91d2eee8 in kill$UNIX2003 ()
#2  0x91dc162d in raise ()
#3  0x91dd76e4 in abort ()
#4  0x9278efda in __gnu_cxx::__verbose_terminate_handler ()
#5  0x9278d17a in __cxxabiv1::__terminate ()
#6  0x9278d1ba in std::terminate ()
#7  0x9278d2b8 in __cxa_throw ()
#8  0x00157026 in rb_vm_raise (exception=26079104) at vm.cpp:3324
#9  0x00033481 in rb_exc_raise (mesg=26079104) at eval.c:326
#10 0x00031e3b in rb_raise (exc=Could not find the frame base for "rb_raise".
) at error.c:1119
#11 0x0003da7b in rb_proc_check_and_call (proc=5, argc=1, argv=0xbfffe294) at proc.c:460
#12 0x09f01671 in ?? ()
#13 0x00dd7fae in functionMultiplicatingByTwoViaFctPtr ()
#14 0x09f01525 in ?? ()
#15 0x001434f4 in rb_vm_dispatch (_vm=0xe063a0, cache=0xa044790, top=25287680, self=25287680, klass=0x181dcb0, sel=0x9b169b0, block=0x0, opt=2 '\002', argc=2, argv=0xbfffecb4) at dispatcher.cpp:931
#16 0x09f00426 in ?? ()
#17 0x09f00765 in ?? ()
#18 0x00144628 in rb_vm_dispatch (_vm=0xe063a0, cache=0xa048690, top=25287680, self=25287680, klass=0x181dcb0, sel=0x9b14f50, block=0x0, opt=1 '\001', argc=0, argv=0x0) at dispatcher.cpp:159
#19 0x09f00426 in ?? ()
#20 0x09f001aa in ?? ()
#21 0x001516dc in rb_vm_run (fname=0x1884660 "test.rb", node=0x188a940, binding=0x0, inside_eval=false) at vm.cpp:3823
#22 0x00033811 in ruby_run_node (n=0x188a940) at eval.c:211
#23 0x00001c08 in main (argc=2, argv=0xe06070, envp=0xbffff768) at main.cpp:40

I think they are the same bug (abort when exception is thrown in 32 bits context). I'll mark it as duplicate :-)

Note: See TracTickets for help on using tickets.