[okular] [Bug 410844] Okular segfault

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Aug 16 12:00:16 BST 2019


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

--- Comment #7 from kristoffer.justad at gmail.com ---
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
==3514== Thread 3 QDBusConnectionM:
==3514== Invalid read of size 2
==3514==    at 0x853CC56: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xE308FE0: g_main_context_check (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE30956F: ??? (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE3096DB: g_main_context_iteration (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0x853CDAE:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DE039:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x83054C9: QThread::exec() (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FE6014: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x8306C71: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xC0456DA: start_thread (pthread_create.c:463)
==3514==    by 0x8E3F88E: clone (clone.S:95)
==3514==  Address 0x136c60b4 is 4 bytes inside a block of size 16 free'd
==3514==    at 0x4C3123B: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3514==    by 0x851C3BB: QSocketNotifier::setEnabled(bool) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x853CC50: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xE308FE0: g_main_context_check (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE30956F: ??? (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE3096DB: g_main_context_iteration (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0x853CDAE:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DE039:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x83054C9: QThread::exec() (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FE6014: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x8306C71: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xC0456DA: start_thread (pthread_create.c:463)
==3514==  Block was alloc'd at
==3514==    at 0x4C3017F: operator new(unsigned long) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3514==    by 0x853D8E1:
QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x851C237: QSocketNotifier::QSocketNotifier(long long,
QSocketNotifier::Type, QObject*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FF2CFB: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0xD1B71F1: _dbus_watch_list_set_functions (in
/lib/x86_64-linux-gnu/libdbus-1.so.3.19.4)
==3514==    by 0xD19CE9E: dbus_connection_set_watch_functions (in
/lib/x86_64-linux-gnu/libdbus-1.so.3.19.4)
==3514==    by 0x7FF5580: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x7FE7D61: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x85103E1: QObject::event(QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DFD00: QCoreApplication::notifyInternal2(QObject*,
QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84E28D6:
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x853D792: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==
==3514== Invalid read of size 2
==3514==    at 0x853CC5B: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xE308FE0: g_main_context_check (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE30956F: ??? (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE3096DB: g_main_context_iteration (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0x853CDAE:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DE039:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x83054C9: QThread::exec() (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FE6014: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x8306C71: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xC0456DA: start_thread (pthread_create.c:463)
==3514==    by 0x8E3F88E: clone (clone.S:95)
==3514==  Address 0x136c60b6 is 6 bytes inside a block of size 16 free'd
==3514==    at 0x4C3123B: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3514==    by 0x851C3BB: QSocketNotifier::setEnabled(bool) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x853CC50: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xE308FE0: g_main_context_check (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE30956F: ??? (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0xE3096DB: g_main_context_iteration (in
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==3514==    by 0x853CDAE:
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DE039:
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x83054C9: QThread::exec() (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FE6014: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x8306C71: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0xC0456DA: start_thread (pthread_create.c:463)
==3514==  Block was alloc'd at
==3514==    at 0x4C3017F: operator new(unsigned long) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3514==    by 0x853D8E1:
QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x851C237: QSocketNotifier::QSocketNotifier(long long,
QSocketNotifier::Type, QObject*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x7FF2CFB: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0xD1B71F1: _dbus_watch_list_set_functions (in
/lib/x86_64-linux-gnu/libdbus-1.so.3.19.4)
==3514==    by 0xD19CE9E: dbus_connection_set_watch_functions (in
/lib/x86_64-linux-gnu/libdbus-1.so.3.19.4)
==3514==    by 0x7FF5580: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x7FE7D61: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.12.3)
==3514==    by 0x85103E1: QObject::event(QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84DFD00: QCoreApplication::notifyInternal2(QObject*,
QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x84E28D6:
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==    by 0x853D792: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.12.3)
==3514==
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
==3514==
==3514== HEAP SUMMARY:
==3514==     in use at exit: 172,208,419 bytes in 358,253 blocks
==3514==   total heap usage: 4,328,101 allocs, 3,969,848 frees,
1,258,444,205 bytes allocated
==3514==
==3514== LEAK SUMMARY:
==3514==    definitely lost: 89,385 bytes in 179 blocks
==3514==    indirectly lost: 188,916 bytes in 6,787 blocks
==3514==      possibly lost: 1,148,748 bytes in 4,394 blocks
==3514==    still reachable: 170,781,370 bytes in 346,893 blocks
==3514==                       of which reachable via heuristic:
==3514==                         newarray           : 584 bytes in 16 blocks
==3514==                         multipleinheritance: 67,560 bytes in 99
blocks
==3514==         suppressed: 0 bytes in 0 blocks
==3514== Rerun with --leak-check=full to see details of leaked memory
==3514==
==3514== For counts of detected and suppressed errors, rerun with: -v
==3514== Use --track-origins=yes to see where uninitialised values come from
==3514== ERROR SUMMARY: 8 errors from 4 contexts (suppressed: 0 from 0)

[1]+  Exit 253                valgrind okular bok.mobi

On Fri, Aug 16, 2019 at 12:53 PM Kristoffer Roheim Justad <
kristoffer.justad at gmail.com> wrote:

> Ran it again in case it might produce different output
>
> ==3514== Memcheck, a memory error detector
> ==3514== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
> ==3514== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
> ==3514== Command: okular bok.mobi
> ==3514==
> ==3514== Conditional jump or move depends on uninitialised value(s)
> ==3514==    at 0x8EAD5D7: __wmemchr_avx2 (memchr-avx2.S:260)
> ==3514==    by 0x8E085D8: internal_fnwmatch (fnmatch_loop.c:168)
> ==3514==    by 0x8E0BA47: fnmatch@@GLIBC_2.2.5 (fnmatch.c:434)
> ==3514==    by 0x286396D5: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x8DFE2F3: __scandir_tail (scandir-tail.c:54)
> ==3514==    by 0x286399D7: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28633C4F: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28629A1C: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x286160AD: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28611753: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28611C8C: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x281B872B: ??? (in
> /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so)
> ==3514==
> ==3514== Conditional jump or move depends on uninitialised value(s)
> ==3514==    at 0x8EAD5F7: __wmemchr_avx2 (memchr-avx2.S:271)
> ==3514==    by 0x8E085D8: internal_fnwmatch (fnmatch_loop.c:168)
> ==3514==    by 0x8E0BA47: fnmatch@@GLIBC_2.2.5 (fnmatch.c:434)
> ==3514==    by 0x29D1C835: ??? (in
> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
> ==3514==    by 0x8DFE2F3: __scandir_tail (scandir-tail.c:54)
> ==3514==    by 0x29D1CB37: ??? (in
> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
> ==3514==    by 0x29D19FCF: ??? (in
> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
> ==3514==    by 0x28629AF6: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x286160AD: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28611753: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x28611C8C: ??? (in
> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
> ==3514==    by 0x281B872B: ??? (in
> /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so)
> ==3514==
> KCrash: crashing... crashRecursionCounter = 2
> KCrash: Application Name = okular path = /usr/bin pid = 3514
> KCrash: Arguments: /usr/bin/okular bok.mobi
> KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
> kdeinit
> sock_file=/run/user/1000/kdeinit5__0
>
> [1]+  Stopped                 valgrind okular bok.mobi
>
> On Fri, Aug 16, 2019 at 12:21 PM Kristoffer Roheim Justad <
> kristoffer.justad at gmail.com> wrote:
>
>> Hi, the full output:
>>
>> ==1959== Memcheck, a memory error detector
>> ==1959== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
>> ==1959== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright
>> info
>> ==1959== Command: okular bok.mobi
>> ==1959==
>> ==1959== Conditional jump or move depends on uninitialised value(s)
>> ==1959==    at 0x8EAD5D7: __wmemchr_avx2 (memchr-avx2.S:260)
>> ==1959==    by 0x8E085D8: internal_fnwmatch (fnmatch_loop.c:168)
>> ==1959==    by 0x8E0BA47: fnmatch@@GLIBC_2.2.5 (fnmatch.c:434)
>> ==1959==    by 0x286396D5: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x8DFE2F3: __scandir_tail (scandir-tail.c:54)
>> ==1959==    by 0x286399D7: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28633C4F: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28629A1C: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x286160AD: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28611753: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28611C8C: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x281B872B: ??? (in
>> /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so)
>> ==1959==
>> ==1959== Conditional jump or move depends on uninitialised value(s)
>> ==1959==    at 0x8EAD5F7: __wmemchr_avx2 (memchr-avx2.S:271)
>> ==1959==    by 0x8E085D8: internal_fnwmatch (fnmatch_loop.c:168)
>> ==1959==    by 0x8E0BA47: fnmatch@@GLIBC_2.2.5 (fnmatch.c:434)
>> ==1959==    by 0x29D1C835: ??? (in
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
>> ==1959==    by 0x8DFE2F3: __scandir_tail (scandir-tail.c:54)
>> ==1959==    by 0x29D1CB37: ??? (in
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
>> ==1959==    by 0x29D19FCF: ??? (in
>> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so)
>> ==1959==    by 0x28629AF6: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x286160AD: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28611753: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x28611C8C: ??? (in
>> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
>> ==1959==    by 0x281B872B: ??? (in
>> /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so)
>> ==1959==
>> KCrash: crashing... crashRecursionCounter = 2
>> KCrash: Application Name = okular path = /usr/bin pid = 1959
>> KCrash: Arguments: /usr/bin/okular bok.mobi
>> KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
>> from kdeinit
>> sock_file=/run/user/1000/kdeinit5__0
>>
>> [1]+  Stopped                 valgrind okular bok.mobi
>>
>> On Thu, Aug 15, 2019 at 12:40 AM Albert Astals Cid <
>> bugzilla_noreply at kde.org> wrote:
>>
>>> https://bugs.kde.org/show_bug.cgi?id=410844
>>>
>>> --- Comment #4 from Albert Astals Cid <aacid at kde.org> ---
>>> Can you give it some more time?
>>>
>>> valgrind makes things be muuuuuuuuuch slower
>>>
>>> --
>>> You are receiving this mail because:
>>> You reported the bug.
>>
>>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list