discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUmail on NetBSD


From: Riccardo Mottola
Subject: Re: GNUmail on NetBSD
Date: Fri, 06 Apr 2012 09:42:11 +0200
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:8.0) Gecko/20111219 Thunderbird/8.0

Hi Fred,

For NSASCIIStringEncoding the code in GSFromUnicode() should never try
to use iconv. We have the conversion for this format hard coded.
Could you please add a breakpoint in this function and step through it? I really would like to understand what goes on here.

Putting a breakpoint in GSFromUnicode() was confusing, since it did not always fail apparently and I did not know what to look for.


Thus I put two breakpoints in Unicode.m line 1365 and 2328, where this NSlog could come from.

I get the warning from:
Breakpoint 2, GSFromUnicode (dst=0xbfbfdfc4, size=0xbfbfdfc0, src=0xba8fb1c0,
    slen=1, enc=NSASCIIStringEncoding, zone=0xbb505280, options=0)
    at Unicode.m:2328
2328 NSLog(@"GSFromUnicode() No iconv for encoding %@ tried to use %s",
#0  GSFromUnicode (dst=0xbfbfdfc4, size=0xbfbfdfc0, src=0xba8fb1c0, slen=1,
enc=NSASCIIStringEncoding, zone=0xbb505280, options=0) at Unicode.m:2328
#1  0xbb161b9a in dataUsingEncoding_c (lossy=1 '\001',
encoding=NSASCIIStringEncoding, self=<optimized out>) at GSString.m:2011
#2  -[GSCString dataUsingEncoding:allowLossyConversion:] (self=0xb9760dc4,
    _cmd=0xbba92030, encoding=NSASCIIStringEncoding, flag=1 '\001')
    at GSString.m:3583
#3  0xbba54d6a in -[NSMutableData(PantomimeExtensions) appendCFormat:] (
    self=0xb9760d24, _cmd=0xbba92f08, theFormat=0xbba92fdc)
    at NSData+Extensions.m:1297
#4 0xbba593f2 in -[NSString(PantomimeStringExtensions) stringFromModifiedUTF7]
    (self=0xb9760124, _cmd=0xbba75a48) at NSString+Extensions.m:702
#5  0xbba1ceb7 in -[CWIMAPStore(Private) _folderNameFromString:] (
    self=0xb98fddc4, _cmd=0xbba75c10, theString=0xb9760084)
    at CWIMAPStore.m:1345
#6  0xbba1e8af in -[CWIMAPStore(Private) _parseLIST] (self=0xb98fddc4,
    _cmd=0xbba757d8) at CWIMAPStore.m:2209
#7 0xbba1fd48 in -[CWIMAPStore updateRead] (self=0xb98fddc4, _cmd=0xbba8b028)
    at CWIMAPStore.m:666
#8  0xbba4987f in -[CWService receivedEvent:type:extra:forMode:] (
    self=0xb98fddc4, _cmd=0xbb524e48, theData=0x20, theType=ET_RDESC,
    theExtra=0x20, theMode=0xbb4e1398) at CWService.m:656
#9  0xbb34ddae in -[GSRunLoopCtxt pollUntil:within:] (self=0xba56ab04,
    _cmd=0xbb4e1330, milliseconds=90, contexts=0xba56b364)
    at GSRunLoopCtxt.m:632
#10 0xbb27ebdb in -[NSRunLoop acceptInputForMode:beforeDate:] (
    self=0xba56b2e4, _cmd=0xbb4e1350, mode=0xbb4e1398,
    limit_date=<optimized out>) at NSRunLoop.m:1195
#11 0xbb27d9be in -[NSRunLoop runMode:beforeDate:] (self=0xba56b2e4,
    _cmd=0xbb95e1e0, mode=0xbb4e1398, date=0xba8daf64) at NSRunLoop.m:1263
#12 0xbb7a827c in -[GSDisplayServer(EventOps) getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0xba65f1c4, _cmd=0xba4f7a38, mask=4294967295, limit=0xba8daf64, mode=0xbb4e1398, flag=1 '\001') at GSDisplayServer.m:1035 #13 0xba4b48bf in -[XGServer(X11Ops) getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0xba65f1c4, _cmd=0xbb8a9f58, mask=4294967295, limit=0xba8daf64,
    mode=0xbb4e1398, flag=1 '\001') at XGServerEvent.m:2557
#14 0xbb5eefef in DPSPeekEvent (mode=<optimized out>, limit=<optimized out>,
    mask=<optimized out>, ctxt=<optimized out>)
    at ../Headers/Additions/GNUstepGUI/GSDisplayServer.h:205
#15 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (
self=0xba8f6144, _cmd=0xbb8aa1c8, mask=4294967295, expiration=0xba8daf64,
    mode=0xbb4e1398, flag=1 '\001') at NSApplication.m:2163
#16 0xbb5ef75b in -[NSApplication run] (self=0xba8f6144, _cmd=0xbb8a0008)
    at NSApplication.m:1552
#17 0xbb5cdd9f in NSApplicationMain (argc=1, argv=0xbfbfe8c0) at Functions.m:91
#18 0x08048b40 in gnustep_base_user_main (argc=1, argv=0xbfbfe8c0,


I see there are some goto's and some switches, if you need more information, please guide me.

Riccardo




reply via email to

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