From: SourceForge.net <no...@so...> - 2006-01-23 08:23:11
|
Bugs item #1405067, was opened at 2006-01-14 07:29 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1405067&group_id=2435 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: binutils Group: None Status: Open Resolution: None Priority: 5 Submitted By: Julien Lecomte (julienlecomte) >Assigned to: Nobody/Anonymous (nobody) Summary: binutils: windres.exe crash on popen Initial Comment: I needed to reinstall my whole mSys/MinGW distribution (a stupid misplaced "rm -fr *"... ), and now I have a problem with windres.exe that I compiled from binutils (tried both 2.15 or 2.16). When using windres from MinGW shell, I need to add "--use-temp-file" flag, otherwise it crashes on line 320 of "binutils/resrc.c": cpp_pipe = popen (cmd, FOPEN_RT); A sample crash gives: "windres.exe caused an Access Violation at location 77c3f463 in module msvcrt.dll Reading from location 00000000. Call stack: 77C3F463 msvcrt.dll:77C3F463 _popen 00402AE8 windres.exe:00402AE8 open_input_stream resrc.c:319 ...... I don't get the crash under a dos console, I only get it from MinGW shell. Did I wrongly compile the runtime package ? Or is it from my binutils ? Or is the popen in msvcrt.dll at fault ? Thanks for advice, Julien ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2006-01-23 21:23 Message: Logged In: YES user_id=11494 I cannot reproduce this. Danny ---------------------------------------------------------------------- Comment By: Julien Lecomte (julienlecomte) Date: 2006-01-14 07:57 Message: Logged In: YES user_id=827175 Attached is the source fix I used to avoid the crash. It makes windres for MinGW default to '--use-temp-file'. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1405067&group_id=2435 |