SAD部屋 - Ticket-10 Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

! SAD exec()

:Priority:Normal
:Reporter:大西
:Status:Closed
:Assigned to:吉本
:Version:1.0.10.2.4b
:Milestone:1473
:Created:2008-03-12

!! Description

3/6以降、SADをInte iMacでコンパイルして、FileDialogを呼ぶと以下のメッセージがでます。どうすればよいでしょうか?
(amsad8では、でないんですけどね。)

The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

!! Attachement files
{{attach_map('Ticket-10')}}
{{attach_form('','')}}//{{attach_form('','')}}

!! Changelog
!!!Akio Morita (2008-03-13 (木) 18:06:55)
fork()したプロセスでは、CoreFoundationのこの機能を安全には使えないから、exec()しろということで、メッセージ通りの意味だと思いますが?
おそらく、MacOSX固有の CoreFoundationが出しているメッセージなので、コンパイル時に CoreFoundationがリンクされてるのでは無いでしょうか?

明らかに環境依存問題なので、コンパイル&実行環境に関する情報が提示されないと検証不能と思われます。
私は、MacOSXの開発環境を維持していないので、だれか検証お願いします。
!!!Akio Morita (2008-03-14 (金) 19:25:06)
吉本氏より、MacOSX 10.5 + Tcl/Tk 8.5の組み合わせで
Core Foundationが Tcl/Tk経由でリンクされているとの
仮説が提示され、検証法として、Tcl/Tkの configure optionの設定
TCLTK_CONFIG_ARG+=--disable-corefoundation
が立案された。
!!!Akio Morita (2008-03-14 (金) 19:30:56)
大西氏より、障害が発生した環境で、
TCLTK_VERSION=8.5.0
TCLTK_CONFIG_ARG+=--disable-corefoundation
のコンパイル条件で追試を行い障害が解消したとの報告有り。
!!!Akio Morita (2008-03-14 (金) 19:34:17)
config/Darwin.specもしくは mk/sad.tcltk.mkへの取り込みに
向けて、disable-corefoundationオプション追加に伴う
既存の環境への副作用の検証待ち(MacOSX 10.4.xと Tcl/Tk 8.4.x)
!!!Akio Morita (2008-03-17 (月) 22:31:24)
Revision 1473で修正を commit

CVS MAIN trunkへのバックポートは、以下のとおり
mk/sad.tcltk.mk    1.14

{{its_edit_ticket_form}}//{{its_edit_ticket_form}}