[Rubycocoa-devel 1115] Re: 0.12.0 pre 0

アーカイブの一覧に戻る

Satoshi Nakagawa snaka****@infot*****
Sat Jul 21 08:30:29 JST 2007


Hi Laurent.

> I found 2 more bugs and fixed them in r1928. It wasn't easy to spot  
> though :(

Great! :)
Yes, threading problems are always complicated.

>    setenv("RUBYCOCOA_THREAD_HOOK_DISABLE", "1");
>    return RBApplicationMain("rb_main.rb", argc, argv);

I see.

I have tested trunk, for both cases
enabling RUBYCOCOA_THREAD_HOOK_DISABLE and not.
Now it works.
Thanks :)

And I found another problem related this problem...
I'll report it soon here.
I'm sorry for repeated reports.

--
Satoshi Nakagawa


On 2007/07/21, at 0:50, Laurent Sansonetti wrote:

> Thanks Satoshi-san.
>
> I found 2 more bugs and fixed them in r1928. It wasn't easy to spot  
> though :(
>
> Could you give it a try again? Thanks a lot.
>
> Regarding setting RUBYCOCOA_THREAD_HOOK_DISABLE in rb_main.rb, this is  
> unfortunately too late, because RubyCocoa is initialized in main.m.  
> You may want to do it directly in main.m, before the RubyCocoa  
> initialization.
>
> Something like:
>
>    ...
>    setenv("RUBYCOCOA_THREAD_HOOK_DISABLE", "1");
>    return RBApplicationMain("rb_main.rb", argc, argv);
>    ...
>
> Laurent
>
> On Jul 20, 2007, at 8:36 AM, Satoshi Nakagawa wrote:
>
>> I have tested again with trunk, it works.
>> Thanks :-)
>>
>> And I found another crash :(
>>
>> When I tried to send file to myself, LimeChat 0.3 always crashes.
>> It uses a server socket class, written by me using Ruby threads,
>> to send files.
>>
>> Note that LimeChat trunk has no problem, because it uses
>> another socket class using NSRunLoop, not on Ruby threads.
>>
>>
>> How to reproduce the problem:
>>
>>  1. Install RubyCocoa trunk with new libruby.1.dylib
>>  2. Start up LimeChat.app. (0.3)
>>  3. Add a server and connect.
>>  4. Join a channel.
>>  5. Right click on yourself in the member list.
>>  6. Select a menu item, "DCC send file".
>>  7. Choose a file.
>>  8. It crashes.
>>
>> Attachment files are crush logs:
>>
>>  LimeChat_0.3_raw.crash.log
>> 	Raw LimeChat 0.3.
>>
>>  LimeChat_0.3_with_set_threadsupport_off.crash.log
>> 	LimeChat 0.3
>> 	+ ENV['RUBYCOCOA_THREAD_HOOK_DISABLE'] = true (in rb_main.rb)
>>
>> Environment:
>>
>>  Intel iMac
>>  Mac OS X 10.4.10
>>  LimeChat 0.3
>>
>> --
>> Satoshi Nakagawa
>>
>>
>> <crashlogs2.zip>




More information about the Rubycocoa-devel mailing list
アーカイブの一覧に戻る