Bugs item #2929975, was opened at 2010-01-11 13:39 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2929975...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v0.43 Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: Hans-Christoph Steiner (eighthave) Summary: [pd-gui-rewrite] random crashes when starting from pd-gui
Initial Comment: i get random crashes, when i start the pd-gui-rewrite as "pd-gui" with arguments
the "delme.pd" is a simple patch containing msgboxes and [print]s.
zmoelnig@ferrari:~/src/cvs/pure-data/pd-gui/src$ wish8.5 ./pd-gui.tcl delme.pd ::pd_connect::from_pd Connection from 127.0.0.1:42400 registered Error in startup script: grab failed: window not viewable while executing "grab set -global .pdwindow.tcl.entry" (procedure "::pdtk_canvas::started_loading_file" line 4) invoked from within "::pdtk_canvas::started_loading_file [format "%s/%s" $basename $filename]" (procedure "open_file" line 5) invoked from within "open_file $filename" (procedure "open_filestoopen" line 3) invoked from within "open_filestoopen" (procedure "main" line 43) invoked from within "main $::argc $::argv" (file "./pd-gui.tcl" line 629)
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-01-12 14:38
Message: tkwait visibility .pdwindow.tcl.entry' seems like the right idea, but I moved it to the main proc, since it is only needed in the startup procedure
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=...
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-01-12 03:18
Message: fixed with r12959; it turned out that the pdwindow was not yet visible when the "grab" command occured, which crashed.
on tk8.4, either the code is executed slower and thus the window is already visible when the "grab" is called, or it simply behaves more rebust
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2010-01-11 13:41
Message: debian (squeeze/sid) tcl/tk8.5 (probably 1/3 of my startups fail)
with tcl/tkl8.4 it seems to be more stable...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2929975...