Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7086

Inconsistent display of QString with non-Latin1 data in locals/watchers view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.5.0-beta
    • Qt Creator 2.4.1
    • Debugger
    • None
    • Gentoo Linux ~x86, Qt 4.8, QtCreator 2.4.1, gcc 4.6.1, gdb 7.4
    • 5a3473fe962d6aada9a3464b9ab5bc7669e07205

    Description

      GDB dumps inconsistent QString data in locals/watchers window for non-Latin1 strings. The bug itself shown on qtbug1.png and qtbug2.png.
      In the second case clicking on a variable in locals/watchers view shows correctly encoded original string data, but clicking for a second time shows garbage instead of original text. In the first case the garbage is shown after first click.

      Original debugger log attached. The code triggering the bug is shown on screens.

      Attachments

        1. qtbug1.png
          qtbug1.png
          116 kB
        2. qtbug2.png
          qtbug2.png
          136 kB
        3. qtbug-gdblog.txt
          19 kB
        For Gerrit Dashboard: QTCREATORBUG-7086
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            shutty roman grebennikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes