Results 1 to 8 of 8

Thread: program crashes on unreadable characters. SOLVED

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Location
    Groningen Netherlands
    Posts
    182
    Thanks
    16
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default program crashes on unreadable characters. SOLVED

    Hello,

    I have problems with filenames on my thingy.

    A filename like 'Clannad Crann Ull 03 Cruscin Lán.mp3' does not even show up in a listing from QDir::entryList().

    A filename like 'Clannad Crann Ull 06 Crann Úll.mp3' makes the program crash, but I can't even figure out exactly where and why. I store it in a QstringList and my guess is that something gets corrupted because of the filename.

    ASSERT failure in QList<T>:perator[]: "index out of range", file /usr/local/Trolltech/Qt-4.3.4/include/QtCore/qlist.h, line 399

    I think this is not only an issue with Qt, but also with my ubuntu 7.10 here which doesn't even displays those names correctly.
    What can I do?

    Thanks, Jean.
    Last edited by JeanC; 1st March 2008 at 19:54.

Similar Threads

  1. Program crashes with assert error in xcb_lock.c
    By Valheru in forum Qt Programming
    Replies: 3
    Last Post: 18th November 2007, 19:56
  2. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18
  3. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19
  4. Reading from TCP Socket crashes program
    By OnionRingOfDoom in forum Qt Programming
    Replies: 26
    Last Post: 27th January 2006, 19:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.