Projects

Ticket #137 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

running any modal window freezes the application

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

Description

Running any modal window at runtime freezes the application.

Tested with Sparkling modal window, NSRunAlertPanel, NSAlert

Change History

Changed 3 years ago by masterkain@…

FlickrDemo app also freezes at startup.

Changed 3 years ago by lsansonetti@…

That's weird, what is your environment? (version of macosx + processor architecture), thanks.

Changed 3 years ago by masterkain@…

Mac OS X 10.5.5, 2.2 GHz IC2D, using MacRuby trunk

FlickrDemo app freezes almost immediately and become unresponsitive. It's the same kind of freeze that other test apps I tried have, sparkling "check for updates" at startup dialog is an example.

I'll post some code, but it's pretty basic and replicable stuff.

I'm not sure what causes the freeze, if you have pointer on how to help debug I'll try to help.

thanks

Changed 3 years ago by masterkain@…

oh, and Xcode 3.1.1, gcc:

Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)

Changed 3 years ago by lsansonetti@…

  • milestone set to MacRuby 0.4

Oh indeed, FlickrDemo freezes here with the latest trunk. It's probably a problem with the new GC finalizer code.

Changed 3 years ago by lsansonetti@…

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

The problem has been fixed since, since FlickrDemo.app runs fine with MacRuby trunk (as of r825). Closing.

Note: See TracTickets for help on using tickets.