Opened 13 years ago
Last modified 12 years ago
#4048 new defect
mapscript_csharp.dll map.draw() System.StackOverflowException IIS6, IIS7, Arabic
Reported by: | ohdev | Owned by: | tamas |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | MapScript-C# | Version: | unspecified |
Severity: | critical | Keywords: | Arabic mapscript encoding CP1256 stackoverflow draw |
Cc: |
Description
Hello there, first of all thank you for this great project.
I've been working 5.6 and there was a bug and it still exists even in 6.0.0.1.
the bug is that there is an stackoverflowException raised when drawing the map which includes arabic labels with the following:
-when setting the encoding of the labelObj to CP1256 -when using IIS 6, 7 only,
not that : IIS 5 or IIS 6 in IIS 5 compatibility mode or directly running from visual studio's Virtual server there is no problem and the map is drawn without any problems at all.
please let me know if you need any further details! thank you.
Attachments (1)
Change History (7)
comment:1 by , 13 years ago
Summary: | mapscript_csharp.dll map.draw() System.StackOverflowException → mapscript_csharp.dll map.draw() System.StackOverflowException IIS6, IIS7, Arabic |
---|
comment:2 by , 13 years ago
Severity: | normal → critical |
---|
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Could you provide a sample mapfile and test data to reproduce this problem?
comment:5 by , 12 years ago
thank you tamas,
sorry for my late responce, i was kind of away from the internet.
Attached is the sample, but i havent included the Dll files or the zip file would have been 13MB!, so please copy all needed Dlls to the Bin folder.
by , 12 years ago
Attachment: | Arabic Sample.zip added |
---|
comment:6 by , 12 years ago
tamas, you might want to have a look at #4044 : fribidi is not threadsafe and may crash under multi-threaded use.
forget to mention the framework, i tried 2.0, 3.0, 3.5 and 4.0 so it's not related to the framework.
it's either in mapscript.dll or what i 90% think is in LIBICONV
and btw, i also tried the TRANSLIT switch after the encoding like:
label.encoding = "CP1256TRANSLIT";
it does not crash, but instead the characters are not related, you know arabic characters are connected to eachother.
thank you.