Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Segfaults with One container?
Segfaults with One container? [message #23172] |
Tue, 22 September 2009 13:21 |
phirox
Messages: 49 Registered: December 2007
|
Member |
|
|
I've had a really weird bug in my program, and have been able to downsize it to the following testcase. But I still cannot track what is going on(using v1517):
#include <Core/Core.h>
#include <Web/Web.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
Cout() << "main1\n";
Socket s;
Cout() << "main2\n";
s.NoBlock();
Cout() << "main3\n";
}
Results in:
Quote: |
main1
main2
Assertion failed in /home/phirox/upp/uppsrc/Core/Other.h, line 17
ptr
|
My idea is that accessing any variable in the One<Data> object part of the new socket is making it crash. I've tried using several compilers and even other machines, but they all reproduce this result.
|
|
|
Goto Forum:
Current Time: Mon Apr 29 01:57:44 CEST 2024
Total time taken to generate the page: 0.06604 seconds
|