[Qemu-devel] [Bug 1836558] Re: Qemu-ppc Memory leak creating threads

2019-07-15 Thread Daan Scherft
The thread creating is not failing. The thread is just running the function with line: 'std::this_thread::sleep_for( 10ms );' in the thread, thus waiting for 10ms. Once finished, the thread function ends, which should also end and cleanup the thread. (when putting some std::cout console output b

[Qemu-devel] [Bug 1836558] Re: Qemu-ppc Memory leak creating threads

2019-07-15 Thread Daan Scherft
** Tags added: ppc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1836558 Title: Qemu-ppc Memory leak creating threads Status in QEMU: New Bug description: When creating c++ threads (with c++

[Qemu-devel] [Bug 1836558] [NEW] Qemu-ppc Memory leak creating threads

2019-07-15 Thread Daan Scherft
Public bug reported: When creating c++ threads (with c++ std::thread), the resulting binary has memory leaks when running with qemu-ppc. Eg the following c++ program, when compiled with gcc, consumes more and more memory while running at qemu-ppc. (does not have memory leaks when compiling for In