Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » ptr
Re: ptr [message #24190 is a reply to message #24189] Mon, 04 January 2010 00:38 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Reinhard,

The problem is not in Ptr. It is in your toString() methods. JPerson::toString() calls NPerson::toString() which calls JPerson::toString etc., creating infinite loop. Over 58200 times on my machine, before something went wrong (overflow?) and it threw segmentation fault.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Previous Topic: VectorIndex
Next Topic: crash on exit from XmlView example
Goto Forum:
  


Current Time: Wed Apr 30 05:04:44 CEST 2025

Total time taken to generate the page: 0.04205 seconds