Closed michaelrsweet closed 15 years ago
Original reporter: Michael Sweet
Are you using the Multithreaded DLL runtime in your program? If not, you cannot use the project files provided with Mini-XML.
Original reporter:
This was tested on Windows Mobile 6 using arm-mingw32ce-gcc from http://cegcc.sourceforge.net/ so I am not sure if the there is a Multithreaded DLL runtime on that system, I just assumed (maybe wrongly) that the error was on WIN32 too when using static linking.
Maybe the ifdef could be changed something else that the generic WIN32?
Original reporter: Michael Sweet
Given that I a) don't have access to a WM6 device to try to fix this and b) don't want to spend a lot of time trying to work around MingW threading bugs, I'm afraid this bug won't be fixed.
Version: 2.5 Original reporter:
I get seg. faults on text containing "&" on WIN32. Disabling the WIN32 threading stuff (around line 181 in mxml-private.c) solves my problem. One note: I use static linking so DllMain is never called.
Backtrace from WINCE:
0 0x219d2f84 in ?? ()
1 0x00030d78 in mxmlEntityGetValue (name=0x2014f6f0 "amp") at mxml-entity.c:112
2 0x0002d228 in mxml_get_entity (parent=0x3132a0, p=0x2014f7c0, encoding=0x2014f784, getc_cb=0x2ce18)
3 0x0002e348 in mxml_load_data (top=0x40, p=0x1a4, cb=0x40, getc_cb=0x4d534751, sax_cb=0, sax_data=0x0) at mxml-file.c:2282
4 0x0002e6d4 in mxmlLoadString (top=0x2014f6f0, s=Cannot access memory at address 0x4d53474d
) at mxml-file.c:231