[Qt-interest] Analyze memory errors

Diego Iastrubni diegoiast at gmail.com
Fri Jul 8 10:26:53 CEST 2011


Just a "me too":
I found leaks in QPlainTextEdit as well. A lot inside oxygen  (kde style
plugin). I assume that or Qt5.1 this will bea higher issue? I understand
that 5.0 will not have a "valgrind clean" goal, but 5.1...?

Just a long shot: 4.8 ....?

On Fri, Jul 8, 2011 at 11:08 AM, Linos <info at linos.es> wrote:

> Hello,
>        i am testing my small Qt app in Qt Creator with the Debug, Start
> analyzer and i
> am getting any errors like this:
>
> Source and destination overlap in memcpy(0xd20fb58, 0xd20fb60, 16)
>   in memcpy in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
>   1: memcpy in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
>   2: QListData::insert(int) in /usr/lib/libQtCore.so.4.7.3
>   3: QWidget::insertAction(QAction*, QAction*) in
> /usr/lib/libQtGui.so.4.7.3
>   4: QMenu::insertSeparator(QAction*) in /usr/lib/libQtGui.so.4.7.3
>   5: MainWindow::crearAcciones() in <a
> href="file:///tmp/pda_almacen/mainwindow.cpp:206"
>  >/tmp/pda_almacen/mainwindow.cpp:206</a>
>   6: MainWindow::MainWindow(QWidget*) in <a
> href="file:///tmp/pda_almacen/mainwindow.cpp:30"
>  >/tmp/pda_almacen/mainwindow.cpp:30</a>
>   7: main in <a href="file:///tmp/pda_almacen/main.cpp:36"
>  >/tmp/pda_almacen/main.cpp:36</a>
>
> I think that happens when i use QList::insert method.
>
> This is noise and can be ignored or this is reporting a problem in QList?
>
> Regards,
> Miguel Angel.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110708/06fc2613/attachment.html 


More information about the Qt-interest-old mailing list