Giter VIP home page Giter VIP logo

Comments (6)

geographika avatar geographika commented on June 15, 2024

@jmckenna - seems to be similar to the issue at #6630 (comment)
In that case the PROJ exception was a handled exception and the actual issue was elsewhere - as per your "red herring" comment.

from mapserver.

jmckenna avatar jmckenna commented on June 15, 2024

thanks @geographika, yes indeed I agree that this could be a red herring, very similar to that other issue. Closing for now (will reopen when I know the exact issue). I'm close to finding it I feel. Back here in a bit ha.

from mapserver.

rouault avatar rouault commented on June 15, 2024

@geographika case was about when running under the debugger , whereas here I understand this is in regular usage. The exceptions thrown by c_locale_stod() should be caught by getNumericValue() at https://github.com/OSGeo/PROJ/blob/6d10acffadcaebf819cb1c8742129659de0db633/src/iso19111/io.cpp#L10787 and not be propagated further. The fact that they are propagated would indicate some inconsistency in the way the various components (PROJ and mapserver) are built, but I'm not sure which one. This reminds me of a similar issue @szekerest had with GEOS where GEOS C++ exceptions would reach mapserver (cf #6759 (comment))

from mapserver.

rouault avatar rouault commented on June 15, 2024

OSGeo/PROJ#3834 should help

from mapserver.

geographika avatar geographika commented on June 15, 2024

OSGeo/PROJ#3834 should help

Thanks @rouault - this will definitely help with debugging using Visual Studio.

from mapserver.

jmckenna avatar jmckenna commented on June 15, 2024

@rouault thank-you very much for this, I tested that branch and the exceptions through the MSVC debugger are gone. This helps immensely.

from mapserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.