[Interest] Problem with: ICU 52.1 + Qt 5.1.1 + C MySQL Connector 6.0.2 + Windows XP

Thales Lange thaleslange at gmail.com
Mon Dec 16 19:25:46 CET 2013


Dear Thiago Macieira,

I attached to this e-mail the backtrace (GDB 7.6). Main Result:

Program received signal SIGSEGV, Segmentation fault.
0x68a11c03 in ZNK10QTextCodec11fromUnicodeERK7QString ()
    from C:\test\Qt5Core.dll

I didn't compile Qt itself with debug support. If you need more 
information, ask me please. I am not used to gdb command line.

Thales Lange.

On 16-12-2013 14:49, Thiago Macieira wrote:
> On segunda-feira, 16 de dezembro de 2013 14:20:12, Thales Lange wrote:
>> [c:\windows\system32\MSVCRT.DLL], "_get_output_format") called from
>> "c:\test\QT5CORE.DLL" at address 0x68A4A844 and returned NULL by thread
>> 1. Error: No foi possvel encontrar o procedimento especificado (127).
> The string "get_output_format" does not appear anywhere on Qt 5.2 sources.
> Since your log also shows ICU trying to load this symbol, I'm going to guess
> it comes from ICU. But I have no clue how that above happened: what passed it
> to QLibrary? We don't try to open MSVCRT.dll... My guess is that your tool is
> giving a false positive.
>
> It's quite likely this is a red herring. Check the backtrace instead.
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

-------------- next part --------------
C:\test>gdb test.exe
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\test\test.exe...done.
(gdb) set logging on
Copying output to gdb.txt.
(gdb) run
Starting program: C:\test\test.exe
[New Thread 1716.0x4ac]
Is Database open        ?  true
QSqlDatabase last Error :  ""

Program received signal SIGSEGV, Segmentation fault.
0x68a11c03 in ZNK10QTextCodec11fromUnicodeERK7QString ()
   from C:\test\Qt5Core.dll
(gdb) bt full
#0  0x68a11c03 in ZNK10QTextCodec11fromUnicodeERK7QString ()
   from C:\test\Qt5Core.dll
No symbol table info available.
#1  0x6a58642b in qt_plugin_instance () from C:\test\sqldrivers\qsqlmysql.dll
No symbol table info available.
#2  0x6d7c2e0a in ZN9QSqlQuery4execERK7QString () from C:\test\Qt5Sql.dll
No symbol table info available.
#3  0x00401994 in main (argc=1, argv=0x3e2938) at main.cpp:22
        app = <incomplete type>
        db = {static defaultConnection = <optimized out>, d = 0x3e4618}
        __PRETTY_FUNCTION__ = "int main(int, char**)"
        query = {d = 0x3e6ba8}
(gdb) quit
A debugging session is active.

        Inferior 1 [process 1716] will be killed.

Quit anyway? (y or n) y


More information about the Interest mailing list