#1078: Parrot goes into infinite loop when attempting to test exceptions with
throws_like()
----------------------+-----------------------------------------------------
 Reporter:  dukeleto  |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  testing   |     Version:  1.6.0
 Severity:  high      |    Keywords:       
     Lang:            |       Patch:       
 Platform:  all       |  
----------------------+-----------------------------------------------------

Comment(by dukeleto):

 On darwin x86, this code pegs a CPU. If I kill the code while running it
 under gdb I get this backtrace:
 {{{
 (gdb) bt
 #0  0x0037928f in Parrot_sprintf_format ()
 #1  0x00338772 in Parrot_vsprintf_c ()
 #2  0x0031add2 in Parrot_ex_throw_from_c_args ()
 #3  0x003ec058 in Parrot_default_get_attr_str ()
 #4  0x002d6d7a in Parrot_getattribute_p_p_sc ()
 #5  0x00375ae1 in runops_slow_core ()
 #6  0x00375078 in runops_int ()
 #7  0x0033101e in runops ()
 #8  0x0033118c in runops_args ()
 #9  0x00331772 in Parrot_runops_fromc_args ()
 #10 0x0031747a in Parrot_runcode ()
 #11 0x004c32d2 in imcc_run ()
 #12 0x000024fe in main ()
 }}}

 Another backtrace is:

 {{{
 (gdb) bt
 #0  0x91e6a5c1 in _sigunaltstack ()
 #1  0x91e382c0 in longjmp ()
 #2  0x0031ae5a in Parrot_ex_throw_from_c_args ()
 #3  0x003ec058 in Parrot_default_get_attr_str ()
 #4  0x002d6d7a in Parrot_getattribute_p_p_sc ()
 #5  0x00375ae1 in runops_slow_core ()
 #6  0x00375078 in runops_int ()
 #7  0x0033101e in runops ()
 #8  0x0033118c in runops_args ()
 #9  0x00331772 in Parrot_runops_fromc_args ()
 #10 0x0031747a in Parrot_runcode ()
 #11 0x004c32d2 in imcc_run ()
 #12 0x000024fe in main ()
 }}}

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1078#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to