[QGIS-trac] Re: [Quantum GIS] #1878: remove setjmp/longjmp in grass
plugin&provider and use exceptions instead
Quantum GIS
qgis at qgis.org
Wed Jan 13 06:25:18 EST 2010
#1878: remove setjmp/longjmp in grass plugin&provider and use exceptions instead
-----------------------------------------------------+----------------------
Reporter: jef | Owner: jef
Type: patch | Status: reopened
Priority: major: does not work as expected | Milestone: Version 1.3.0
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Changes (by rblazek):
* priority: minor: annoyance => major: does not work as expected
Comment:
For me it is still crashing, the exception is not caught. I tried to call
a GRASS function and catch exception in libqgisgrass and also both moved
to plugin, but it does not work. I have also recompiled GRASS 6.4 from
source but nothing helped.
It does not work even with reverted
http://trac.osgeo.org/grass/changeset?old_path=grass%2Ftrunk%2Flib%2Fgis%2Ferror.c&old=23438&new_path=grass%2Ftrunk%2Flib%2Fgis%2Ferror.c&new=23439
The change in GRASS above probably is not significant, G_fatal_error does
not continue in execution after the installed error_routine was called,
but the exception cannot be caught.
Kbuntu 9.10, gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1, grass-6.4.0RC5, GDAL svn
trunk, QGIS svn trunk, libstdc++6-4.4-dbg
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1878#comment:15>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list