# Re: hang on leopard

**URL:** <https://www.ruby-forum.com/t/re-hang-on-leopard/129601>\
**Category:** wxRuby\
**Created:** [February 20, 2008, 12:25am UTC](https://www.ruby-forum.com/t/re-hang-on-leopard/129601 "2008-02-20T00:25:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhang\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/cdc98d/32.png) [@Zhang\_P](https://www.ruby-forum.com/u/Zhang_P)\
**Post date:** [February 20, 2008, 12:25am UTC](https://www.ruby-forum.com/t/re-hang-on-leopard/129601/1 "2008-02-20T00:25:20Z")

</div>

Yes. I already use frame as the parent.

Can I send you the zip file? I isolate it to about 350 lines … the  
part that is in question is less than 50 lines. Most of the lines are  
from the xrc file and setup window/frame/dialog.

==========================================

----- Original Message ----  
From: Alex F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: General discussion of wxRuby [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Tuesday, February 19, 2008 2:46:12 AM  
Subject: Re: [wxruby-users] hang on leopard

Zhang  
Peng  
wrote:

> 

The  
error  
messages  
do  
not  
happen  
if  
I  
do  
not  
do  
show/hide  
the  
2  
dialog

> 

boxes.

> 

Is  
there  
anything  
that  
I  
should  
do  
before  
calling  
show(false)  
and

> 

## show(true)? Not that I can think of. It might be worth checking the first argument to Dialog.new

I  
would  
recommend  
that  
the  
Dialogs  
are  
given  
the  
frame  
as  
the  
parent,  
not  
nil.  
You  
may  
be  
doing  
this  
already.

> 

2008-02-18  
16:00:06.129  
ruby[686:10b]

* * *

Exception  
handlers  
were  
not

> 

properly  
removed.  
Some  
code  
has  
jumped  
or  
returned  
out  
of  
an

> 

NS\_DURING…NS\_HANDLER  
region  
without  
using  
the  
NS\_VOIDRETURN  
or

> 

NS\_VALUERETURN  
macros.

I  
haven’t  
seen  
this  
error  
message  
before.  
If  
you’re  
able  
to  
isolate  
the  
error,  
please  
post  
the  
code  
as  
I  
use  
Leopard  
as  
my  
main  
OS  
and  
could  
give  
try  
it  
out.

thanks  
alex

* * *

wxruby-users  
mailing  
list  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/wxruby-users](http://rubyforge.org/mailman/listinfo/wxruby-users)

```
  ____________________________________________________________________________________

```

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
[http://tools.search.yahoo.com/newsearch/category.php?category=shopping](http://tools.search.yahoo.com/newsearch/category.php?category=shopping)
