Bugs item #1747984, was opened at 2007-07-04 11:45 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1747984...
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: externals Group: None
Status: Closed
Resolution: Works For Me Priority: 5 Private: No Submitted By: Stephen Sinclair (radarsat1) Assigned to: Nobody/Anonymous (nobody) Summary: getdir crashes on windows (mingw)
Initial Comment: I'm using a personally built version of Pd downloaded from CVS. I needed the patch folder, so I compiled the [getdir] object, which works fine on Linux, but on Windows it crashes on [bang].
I looked at it a bit, but I'm at a loss to figure it out: It calls canvas_getdir(), which in turn calls canvas_getenv(). However, any attempt to dereference the pointer returned by canvas_getenv() causes a crash.
I inserted the following code into getdir_bang():
s = (t_symbol**)canvas_getenv(last); printf("[getdir] getenv: %#x\n", s); printf("[getdir] getenv->: %#x\n", (*s)); printf("[getdir] getenv->s: %#x\n", (*s)->s_name);
It crashes on the second printf() statement, so the output is:
[getdir] getenv: 0x700a570 12 audio buffers socket receive error: Unknown error (10054)
There may be something wrong with this pointer, but I cannot see what might be wrong. It is in the g_canvas struct returned originally in getdir_new() by canvas_getcurrent().
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date: 2008-05-12 19:20
Message: Logged In: YES user_id=1312539 Originator: NO
This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2008-04-27 22:17
Message: Logged In: YES user_id=27104 Originator: NO
Using Pd-0.40.3-extended-20080427 on English Windows XP SP2 with all of the updates, I could not reproduce this bug.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1747984...