after programs hangs this is backtrace.
Could be an issue with condition_variable destruction?
(gdb) thread apply all bt
Thread 2 (Thread 2556.0xa84):
#0 0x772a884f in ntdll!DbgBreakPoint () from C:\Windows\system32\ntdll.dll
#1 0x772ecdc0 in ntdll!DbgUiRemoteBreakin () from
C:\Windows\system3
Hi,
thanks for answering.
> the questionable point here is that I am not sure we should call
> destructor code for PROCESS_DETACH too. We should always see in front
> a thread-detach, so this call seems to be pretty superflous (and might
> be even wrong).
I am not doing destructor call neithe
ts, so I have made unload function to call destructor
> manually.
> The problem now is that destructor is called twice and in release mode there
> is an exception
>
> - Original Message -
> From: "Victor Bombi"
> To:
> Sent: Saturday, December 14, 2
tructor is called twice and in release mode there
is an exception
- Original Message -
From: "Victor Bombi"
To:
Sent: Saturday, December 14, 2013 10:23 AM
Subject: Re: [Mingw-w64-public] hang on exit
> Another thing to try would be to define DllMain but it seems
If I call destructor with unload method, destructor is called two times.
Something is going wrong as it is working also on windows with other
compilers
- Original Message -
From: "JonY"
To:
Sent: Saturday, December 14, 2013 1:34 AM
Subject: Re: [Mingw-w64-public] ha
Another thing to try would be to define DllMain but it seems not to be
called. Why?
> FreeLibrary does call destructor in this case. (outputs "1 is joinable")
> there are several things to try:
>
> -dont call new to initialize
> -dont call FreeLibrary to unload
> (4 different cases)
>
> in some
al Message -
From: "JonY"
To:
Sent: Saturday, December 14, 2013 1:34 AM
Subject: Re: [Mingw-w64-public] hang on exit
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
&g
On 12/14/2013 03:16, Victor Bombi wrote:
> Hello,
>
> I trying to solve a hang on program exit caused by a dll that is only seems
> to be happening in my mingw64 compilation.
> The program supercollider is very big so I have created a small test case in
>
> https://github.com/sonoro1234/hangonex
Hello,
I trying to solve a hang on program exit caused by a dll that is only seems
to be happening in my mingw64 compilation.
The program supercollider is very big so I have created a small test case in
https://github.com/sonoro1234/hangonexit
any help would be much appreciated
victor
-