Csound Csound-dev Csound-tekno Search About

[Cs-dev] Progress with CsoundQt for Csound 6

Date2013-07-26 14:15
FromMichael Gogins
Subject[Cs-dev] Progress with CsoundQt for Csound 6
AttachmentsNone  None  
I have verified the bug in MinGW 4.8.0, obtained a newer release of MinGW (4.8.1) from mingw-builds that does not have the problem, verified that the latest Qt pre-built binaries are affected by this problem, rebuilt the Qt libraries from source with the problem-free compiler, inspected the DLLs to verify they do not export InterlockedCompareExchange, compiled CsoundQt, and it runs Csound without crashing -- on my PC. 

I still need to rebuild Csound itself and all its dependencies with the new compiler, and make a new installer, but that should take only a few more days. And of course I will know for sure this is fixed only after I try the new installer on another computer.

The MinGW bug is reported in http://sourceforge.net/mailarchive/message.php?msg_id=30894964. The effect of the bug is to cause both _InterlockedCompareExchange and InterlockedCompareExchange%12 to be exported from executable files built with the compiler. When these files run, unless they run from the same directory that contains all the Qt shared libraries and the MinGW shared libraries used to build them, the program crashes with the message box "The procedure entry point InterlockedCompareExchange@12 could not be located in the dynamic link library blah-bitty-blah" where the dynamic link library could be a DLL or an EXE.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2013-07-26 19:08
FromAnders Genell
SubjectRe: [Cs-dev] Progress with CsoundQt for Csound 6
AttachmentsNone  None  
I just wanted to send my regards and appreciations for this monumental effort - really brilliant detective job!
I am eager to try it out when available.
Best regards,
Anders



26 jul 2013 kl. 15:15 skrev Michael Gogins <michael.gogins@gmail.com>:

I have verified the bug in MinGW 4.8.0, obtained a newer release of MinGW (4.8.1) from mingw-builds that does not have the problem, verified that the latest Qt pre-built binaries are affected by this problem, rebuilt the Qt libraries from source with the problem-free compiler, inspected the DLLs to verify they do not export InterlockedCompareExchange, compiled CsoundQt, and it runs Csound without crashing -- on my PC. 

I still need to rebuild Csound itself and all its dependencies with the new compiler, and make a new installer, but that should take only a few more days. And of course I will know for sure this is fixed only after I try the new installer on another computer.

The MinGW bug is reported in http://sourceforge.net/mailarchive/message.php?msg_id=30894964. The effect of the bug is to cause both _InterlockedCompareExchange and InterlockedCompareExchange%12 to be exported from executable files built with the compiler. When these files run, unless they run from the same directory that contains all the Qt shared libraries and the MinGW shared libraries used to build them, the program crashes with the message box "The procedure entry point InterlockedCompareExchange@12 could not be located in the dynamic link library blah-bitty-blah" where the dynamic link library could be a DLL or an EXE.

Regards,
Mike

===========================
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel