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++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » theIDE segmentation fault [FIXED]
Re: theIDE segmentation fault [BUG] [message #5254 is a reply to message #5155] Mon, 11 September 2006 16:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
I have found it!

This is pretty weird set of circumstances...

The real error is caused by the fact that GCC by default does not allow C++ exception to go through C code (which is what new image formats do).

Now that file

uppsrc/TCtrlLib/appdoc.tpp/DlgCalc$cs-cz.tpp

is in older format which uses PNG to store images. The upgrade path for the format is to try to load all curent image formats - which throws exception (e.g. tests JPG first) through C code.

The reason I have not encountered this problem before is that the file is loaded during indexing - but I have indexing info cached on my machine, so no indexing was needed for me.

OK, the fix is to add "-fexceptions" to the build method - this enables stack unwiding of C code. To prevent further troubles, I am now adding it to the GCC builder too.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Configurable Layout designer
Next Topic: UPT - Ultimate++ Package Template Documentation available
Goto Forum:
  


Current Time: Fri Jul 18 03:13:01 CEST 2025

Total time taken to generate the page: 0.04378 seconds