gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mingw, haning of apps, databasin


From: Fred Kiefer
Subject: Re: Mingw, haning of apps, databasin
Date: Tue, 23 Aug 2011 23:38:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

On 23.08.2011 15:05, Riccardo Mottola wrote:
when running DataBasin, with operation that used to work on mingw and
still work on other systems, I notice:

warning: 2011-08-23 12:43:12.286 DataBasin[4124] could not convert to
UTF8 string! bytes=0x1b8f8e0 len=19

warning: 2011-08-23 12:43:12.286 DataBasin[4124] could not convert to
UTF8 string! bytes=0x1b8f8f3 len=1

warning: 2011-08-23 12:43:12.286 DataBasin[4124] could not convert to
UTF8 string! bytes=0x1b8f909 len=19

warning: 2011-08-23 12:43:12.286 DataBasin[4124] could not convert to
UTF8 string! bytes=0x1b8f91c len=1

These messaged come from the NSXMLParser when it is trying to build an NSString from parsed data. You need to put a break point into the local function NewUTF8STR to find out what is going on, and as this is an inline function you may have to remove the inline first.

For the same data, I get no errors on other systems.

These messages are always printed, so they do not determine the crash,
but they are suspicious in any case.

Further in the flow the application saves data to a file in a specified
encoding, user-selectable. UTF-8, Latin1 and windows cp 1251 are among
the choices.

On NetBSD all encodings do work, on windows, ironically right with the
windows CP-1251 the application hangs, with utf-8 it works! (But no
additional warnings are printed out).

We do this conversion via iconv, most likely this isn't working on MinGW for some reason. Please check your config.log file in base to see whether a problem gets reported for iconv.
Looks like we need a few more string conversion tests.

I run the app in GDB, to check where it hangs, but hitting "ctrl-c"
kills the whole debugger+process and drops me to the shell.

This always annoys me on MinGW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]