#56 Crash on message list (LNX only)

open-accepted
Stas Degteff
Memory leak (7)
5
2008-02-10
2008-02-05
svl
No

Crashes on Linux when bringing up message list, but can forward through all messages from message view using arrow keys. Works fine on Windows version.

Discussion

  • svl
    svl
    2008-02-05

    crash log

     
    Attachments
  • Stas Degteff
    Stas Degteff
    2008-02-10

    • assigned_to: nobody --> stas_degteff
    • status: open --> open-accepted
     
  • Victor Mitin
    Victor Mitin
    2008-04-22

    Logged In: YES
    user_id=2068559
    Originator: NO

    vsnprintf() works incorrectly when utf-8 locale is set (on cyrillic symbols)

    I am run my golded whith that commands - it works fine on Ubuntu 7.10:

    LC_ALL=KOI8-R && export LC_ALL
    luit -encoding koi8-r /usr/local/sbin/gedlnx -C/usr/local/etc/golded.cfg

     
  • Victor Mitin
    Victor Mitin
    2008-04-23

    Logged In: YES
    user_id=2068559
    Originator: NO

    Changed setlocale(LC_CTYPE, ""); to setlocale(LC_CTYPE,"C-TRADITIONAL"); fix this bug. Tested on ubuntu 7.10

    caesar@linux$ grep -R LC_CTYPE . #
    ./golded3/geinit.cpp: setlocale(LC_CTYPE,"C-TRADITIONAL"); #
    ./golded3/geinit.cpp: const char* lc = setlocale(LC_CTYPE, "C-TRADITIONAL"); #
    ./goldlib/gall/gcharset.cpp: cp = setlocale(LC_CTYPE, "C-TRADITIONAL"); #
    ./goldnode/goldnode.cpp: setlocale(LC_CTYPE, "C-TRADITIONAL");
    ./rddt/rddt.cpp: setlocale(LC_CTYPE, "C-TRADITIONAL");