https://bugs.kde.org/show_bug.cgi?id=436181

--- Comment #2 from Paulo <pauloct...@hotmail.com> ---
Hi Albert, thanks for your reply.
It crashes every time here :/ I also tested in a VirtualBox vm clean install
to make sure and kpat crashes too. I didn't test with another distro.

Slackware strips debug symbols from its packages,
is it enough to build qt5 without strip?

There is a valgrind package for Slackware
https://github.com/Ponce/slackbuilds/tree/current/development/valgrind
is that right?

I'm a pt_BR user so I ran as 'LANG=C valgrind kpat' to translate some messages.
That's the terminal output:

$ LANG=C valgrind kpat
==6008== Memcheck, a memory error detector
==6008== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6008== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==6008== Command: kpat
==6008== 
==6008== Conditional jump or move depends on uninitialised value(s)
==6008==    at 0x10A7ABD5: ???
==6008==    by 0xC78DAA7: ???
==6008== 
==6008== Conditional jump or move depends on uninitialised value(s)
==6008==    at 0x10A7ABD5: ???
==6008==    by 0xC78EDC7: ???
==6008== 
==6008== Conditional jump or move depends on uninitialised value(s)
==6008==    at 0x10A7ABD5: ???
==6008==    by 0xC790047: ???
==6008== 
==6008== Invalid read of size 8
==6008==    at 0x61E4B6E: QGraphicsScene::addItem(QGraphicsItem*) (in
/usr/lib64/libQt5Widgets.so.5.15.2)
==6008==    by 0x491E972: KCardPile::insert(int, KCard*) (in
/usr/lib64/libkcardgame.so)
==6008==    by 0x4921BA3: ??? (in /usr/lib64/libkcardgame.so)
==6008==    by 0x4922809: KCardScene::moveCardsToPile(QList<KCard*> const&,
KCardPile*, int) (in /usr/lib64/libkcardgame.so)
==6008==    by 0x4924005: KCardScene::moveCardToPile(KCard*, KCardPile*, int)
(in /usr/lib64/libkcardgame.so)
==6008==    by 0x427BBB: ??? (in /usr/bin/kpat)
==6008==    by 0x464B68: ??? (in /usr/bin/kpat)
==6008==    by 0x6DFBAF3: ??? (in /usr/lib64/libQt5Core.so.5.15.2)
==6008==    by 0x4916D51: KCardScene::cardRightClicked(KCard*) (in
/usr/lib64/libkcardgame.so)
==6008==    by 0x4924ABC:
KCardScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) (in
/usr/lib64/libkcardgame.so)
==6008==    by 0x42AFCE: ??? (in /usr/bin/kpat)
==6008==    by 0x61EFC61: QGraphicsScene::event(QEvent*) (in
/usr/lib64/libQt5Widgets.so.5.15.2)
==6008==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==6008== 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kpat path = /usr/bin pid = 6008
KCrash: Arguments: /usr/bin/kpat 
KCrash: Attempting to start /usr/lib64/drkonqi

[1]+  Parado                  LANG=C valgrind kpat
paulo@paulobash~$ QSocketNotifier: Invalid socket 15 and type 'Read',
disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...

(kpat:6008): GLib-GIO-ERROR **: 10:02:44.704: inotify read(): Bad file
descriptor
==6008== 
==6008== HEAP SUMMARY:
==6008==     in use at exit: 26,164,098 bytes in 58,034 blocks
==6008==   total heap usage: 410,092 allocs, 352,058 frees, 7,301,726,375 bytes
allocated
==6008== 
==6008== LEAK SUMMARY:
==6008==    definitely lost: 1,824 bytes in 57 blocks
==6008==    indirectly lost: 0 bytes in 0 blocks
==6008==      possibly lost: 318,759 bytes in 46 blocks
==6008==    still reachable: 25,770,995 bytes in 57,269 blocks
==6008==                       of which reachable via heuristic:
==6008==                         newarray           : 24 bytes in 1 blocks
==6008==                         multipleinheritance: 3,336 bytes in 3 blocks
==6008==         suppressed: 0 bytes in 0 blocks
==6008== Rerun with --leak-check=full to see details of leaked memory
==6008== 
==6008== Use --track-origins=yes to see where uninitialised values come from
==6008== For lists of detected and suppressed errors, rerun with: -s
==6008== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)

[1]+  Fim da execução com status 253        LANG=C valgrind kpat

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to