Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WIN32 flag to SWIG csharp command line #6758

Open
szekerest opened this issue Nov 13, 2022 · 0 comments
Open

Add WIN32 flag to SWIG csharp command line #6758

szekerest opened this issue Nov 13, 2022 · 0 comments
Assignees

Comments

@szekerest
Copy link
Member

As of the cmake build, the WIN32 flag for the SWIG command line hasn't been added, though it was present in the nmake based builds.
This results in the GEOS exceptions to cause app crashes like this:

	Exception #:  0XE06D7363
	Stack:        
		KERNELBASE!RaiseException+0x68
		VCRUNTIME140!CxxThrowException+0xad
		geos!geos::operation::buffer::BufferBuilder::bufferLineSingleSided+0xe9a
		geos_c!GEOSOffsetCurve_r+0x10e
		mapserver!msGEOSOffsetCurve+0x70 [e:\builds-t1\src\mapserver-intramaps\mapgeos.c @ 807]
		mapserver!msOffsetCurve+0x24 [e:\builds-t1\src\mapserver-intramaps\maputil.c @ 1764]
		mapserver!msDrawLineSymbol+0x18d [e:\builds-t1\src\mapserver-intramaps\maprendering.c @ 601]
		mapserver!msDrawShadeSymbol+0xc5 [e:\builds-t1\src\mapserver-intramaps\maprendering.c @ 705]
		mapserver!polygonLayerDrawShape+0xdd [e:\builds-t1\src\mapserver-intramaps\mapdraw.c @ 1928]
		mapserver!msDrawShape+0x7b5 [e:\builds-t1\src\mapserver-intramaps\mapdraw.c @ 2173]
		mapserver!msDrawVectorLayer+0x804 [e:\builds-t1\src\mapserver-intramaps\mapdraw.c @ 1175]
		mapserver!msDrawLayer+0x3a3 [e:\builds-t1\src\mapserver-intramaps\mapdraw.c @ 813]
		mapserver!msDrawMap+0x415 [e:\builds-t1\src\mapserver-intramaps\mapdraw.c @ 403]
		mapscript!CSharp_mapObj_draw+0xd

and this

Exception #:  0XE06D7363
	Stack:        
		KERNELBASE!RaiseException+0x68
		VCRUNTIME140!CxxThrowException+0xad
		geos!geos::operation::buffer::BufferBuilder::bufferLineSingleSided+0xe9a
		geos_c!GEOSOffsetCurve_r+0x10e
		mapserver!msGEOSOffsetCurve+0x70 [e:\builds-t1\src\mapserver-intramaps\mapgeos.c @ 807]
		mapserver!msOffsetCurve+0x24 [e:\builds-t1\src\mapserver-intramaps\maputil.c @ 1764]
		mapserver!msDrawLineSymbol+0x18d [e:\builds-t1\src\mapserver-intramaps\maprendering.c @ 601]
		mapserver!msDrawShadeSymbol+0xc5 [e:\builds-t1\src\mapserver-intramaps\maprendering.c @ 705]
		mapserver!msDrawLegendIcon+0xb18 [e:\builds-t1\src\mapserver-intramaps\maplegend.c @ 328]
		mapscript!CSharp_classObj_drawLegendIcon+0xe3
@szekerest szekerest self-assigned this Nov 13, 2022
szekerest added a commit to szekerest/mapserver that referenced this issue Nov 13, 2022
jmckenna pushed a commit that referenced this issue Jan 26, 2023
github-actions bot pushed a commit that referenced this issue Jan 26, 2023
sdlime pushed a commit that referenced this issue Jan 27, 2023
…ndIcon to cause crash (#6758) (#6811)

Co-authored-by: Tamas Szekeres <szekerest@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant