Re: Problem with STL vector on Panther 10.3.1
Re: Problem with STL vector on Panther 10.3.1
- Subject: Re: Problem with STL vector on Panther 10.3.1
- From: email@hidden
- Date: Fri, 14 Nov 2003 13:33:01 +0100
Hello everyone and thanks for the responses so far,
I tried to track down the problem more and more with varying success. At
first it seemed solved although I didn't change anything worth noting,
than it reappeared also with just pushing ints into the vector. Finally,
I'm now at a stage where choosing "Run" will execute the program without
difficulties but debugging it and stepping over the push_back instruction
makes it fail while running it in the debugger without step over / step
into fails. It seems to be rather a debugger problem. He throws his hooves
up
right after entering the push_back / insert / ... method with the
message
like "GDB: Error: The Debugger has exited due to signal 11 (SIGSEGV)".
Thinking about it, this sounds more like a debugger problem. Additionally
I have a nice crashlog in my CrashLog folder. Any ideas as to why this
would happen?
Thanks,
Sebastian
> On 11/13/03, at 4:33 PM, email@hidden said:
>
>> Hello,
>>
>> I encountered a strange problem I have been unable to resolve.
>> Apparently
>> the following code segment doesn't work at all for me:
>>
>> int main (int argc, const char * argv[]) {
>> set< CLabelPoint > spt;
>> vector< CLabelPoint > cpt;>
>> cpt.insert( cpt.begin(), lp ); // Here SIGSEGV
>> }
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.