Ticket Change Details
Not logged in
Overview

Artifact ID: b6789dbe972d3fac6ed88cd0ed3b4b0f09efa4ba
Ticket: 3f0216560679fd41b6afcc84e7b9ffe0dd971fa8
i18n: fossil ui can't show artifacts with non-ascii chars in the name on Windows
User & Date: anonymous 2011-05-26 17:23:52
Changes

  1. Appended to comment:
    
    <hr /><i>anonymous added on 2011-05-26 17:23:52 UTC:</i><br />
    I've tried fossil version <tt>[5a4dc2239b] 2011-05-26 11:57:14</tt> on the same repo as mentioned before.<br>
    Now <code>fossil status</code> works as expected:
    <verbatim>
    V:\dvcs>fossil status
    repository:   V:/dvcs/repo
    local-root:   V:/dvcs/
    server-code:  03df0882a9037a202acd1e429d84c98c8d7582a4
    checkout:     f26b10b36eba2d83500e430df0ec125df49b4a55 2011-05-26 16:27:48 UTC
    tags:         trunk
    comment:      initial empty check-in (user: Tsul)
    ADDED      фыва
    </verbatim>
    
    But <code>fossil ui</code> fails as before. Trace output doesn't give much:
    <verbatim>
    V:\dvcs>fossil --systemtrace --sqltrace --httptrace ui
    SELECT value FROM vvar WHERE name='repository';
    ATTACH DATABASE 'V:/dvcs/repo' AS repository;
    SELECT 1 FROM config WHERE name='aux-schema'   AND value<>'2011-04-25 19:50';
    SELECT value FROM config WHERE name='http-port';
    SELECT value FROM config WHERE name='web-browser';
    -- LOOKASIDE_USED                 16         48
    -- LOOKASIDE_HIT                            184
    -- LOOKASIDE_MISS_SIZE                       95
    -- LOOKASIDE_MISS_FULL                        0
    -- CACHE_USED                  16792
    -- SCHEMA_USED                 18688
    -- STMT_USED                       0
    -- MEMORY_USED                142528     148336
    -- MALLOC_SIZE                            48000
    -- MALLOC_COUNT                  598        603
    -- PCACHE_OVFLOW               19312      19312
    -- prepared statements             7
    Listening for HTTP requests on TCP port 8080
    Launch webbrowser: start http://127.0.0.1:8080/
    SYSTEM: "start http://127.0.0.1:8080/"
    Type Ctrl-C to stop the HTTP server
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in1.txt fossil_server_P8080__out1.txt 127.0.0.1 --nossl --localauth"
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in2.txt fossil_server_P8080__out2.txt 127.0.0.1 --nossl --localauth"
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in3.txt fossil_server_P8080__out3.txt 127.0.0.1 --nossl --localauth"
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in4.txt fossil_server_P8080__out4.txt 127.0.0.1 --nossl --localauth"
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in5.txt fossil_server_P8080__out5.txt 127.0.0.1 --nossl --localauth"
    SYSTEM: ""V:\dvcs\fossil.exe" http "V:/dvcs/repo" fossil_server_P8080__in6.txt fossil_server_P8080__out6.txt 127.0.0.1 --nossl --localauth"
    ^C^C
    </verbatim>
    Fossil created files with names <tt>fossil_server_P8080__(in|out){4-6}.txt</tt>. All in-files consist of this text:
    <verbatim>
    GET /artifact?name=bdbdc5bc614b3003e6e5a275ea8482a9b9059698 HTTP/1.1
    User-Agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.8.131 Version/11.11
    Host: 127.0.0.1:8080
    Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
    Accept-Language: ru-RU,ru;q=0.9,en;q=0.8
    Accept-Encoding: gzip, deflate
    Referer: http://127.0.0.1:8080/dir?ci=tip
    Connection: Keep-Alive
    
    </verbatim>
    Out-files are all of the zero length.
    
    What else is that while debugging in Visual Studio it shows that
    <blockquote>Unhandled exception at 0x77c37742 in fossil.exe: 0xC0000005: Access violation reading location 0x6c707061.</blockquote>
    Stacktrace:
    <verbatim>
    >	msvcrt.dll!_strcmp()  + 0x12 bytes	
     	fossil.exe!0044461a() 	
    </verbatim>
    Disassembly:
    <verbatim>
    	_strcmp:
    	77C37730  mov         edx,dword ptr [esp+4] 
    	77C37734  mov         ecx,dword ptr [esp+8] 
    	77C37738  test        edx,3 
    	77C3773E  jne         _strcmp+4Ch (77C3777Ch) 
    	77C37740  mov         eax,dword ptr [edx] 
    >	77C37742  cmp         al,byte ptr [ecx] 
    	77C37744  jne         _strcmp+44h (77C37774h) 
    	77C37746  or          al,al 
    	77C37748  je          _strcmp+40h (77C37770h) 
    </verbatim>
    That shows that the exception raises inside msvcrt.dll!_strcmp() function.
    
    I would say more accurate if I had fossil debug symbols or if I was able to compile fossil with Visaul Studio.
    
  2. resolution changed to: "Open"