On Tue, Jun 9, 2009 at 2:47 PM, Aaron Griffin<aaronmgriffin@gmail.com> wrote:
On Sun, May 31, 2009 at 3:46 PM, Pierre Schmitz<pierre@archlinux.de> wrote:
Am Sonntag 31 Mai 2009 22:05:44 schrieb Thomas Bächler:
before the every return command. If I am right, the segfault should be gone.
No, it's still there.
You can go the plan9 route and keep the pointer and just never delete it. The philosophy there is "the OS will clean it up, no need for me to delete/free memory.
But I don't think that's the problem - if both segfault, then it's a commonality between them.
What's with the QTextStream? You can safely remove those and use std::cout and std::cerr exactly the same way. I expect that may be an issue as it's trying to clean up the stdout/stderr file objects.
Just a guess
Also your PKGBUILD needs a makedepends for cmake