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

            Bug ID: 424054
           Summary: Segmentation Fault while opening recent collection
           Product: parley
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: parley-bugs-n...@kde.org
          Reporter: root...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. Click "Practice" on Spanish-English vocabulary from dashboard
2. Click File > Open Recent > eng-fra-vh-v1.0.csv

OBSERVED RESULT
Segmenatation Fault

EXPECTED RESULT
I expected to switch the collection

SOFTWARE/OS VERSIONS
Linux: Ubuntu 20.04 LTS
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
The xcb windowing system

ADDITIONAL INFORMATION
gdb backtrace:
(gdb) run
Starting program: /home/rootkea/Downloads/todo/hacking/parley/build/src/parley 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe2ed3700 (LWP 2513678)]
[New Thread 0x7fffd796b700 (LWP 2513679)]
[New Thread 0x7fffd7029700 (LWP 2513680)]
[New Thread 0x7fffd6828700 (LWP 2513681)]
[New Thread 0x7fffd6027700 (LWP 2513682)]
[New Thread 0x7fffd5826700 (LWP 2513683)]
[New Thread 0x7fffd5025700 (LWP 2513684)]
[New Thread 0x7fffd4824700 (LWP 2513685)]
[New Thread 0x7fffb7fff700 (LWP 2513686)]
[New Thread 0x7fffb77fe700 (LWP 2513687)]
[New Thread 0x7fffb6ffd700 (LWP 2513688)]
[New Thread 0x7fffb67fc700 (LWP 2513689)]
[New Thread 0x7fffb5f81700 (LWP 2513690)]
[New Thread 0x7fffb5780700 (LWP 2513691)]
[New Thread 0x7fffb4f7f700 (LWP 2513692)]
Missing QIcon  "get-hot-new-stuff"
Missing QIcon  "document-properties"
Missing QIcon  "go-home"
kf5.kxmlgui: cannot find .rc file "parleyui.rc" for component "parley"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme: 
"/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme: 
"/usr/share/icons/Adwaita/scalable/ui/"
kf5.kxmlgui: cannot find .rc file "dashboardui.rc" for component "parley"
Expired words dropped their confidence:  0
Expired words dropped their confidence:  0
Expired words dropped their confidence:  2974
Expired words dropped their confidence:  5283
Attempting to load .desktop at ""
could not load theme "themes/theme_reference.desktop"
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
QFSFileEngine::open: No file name specified
qt.svg: Cannot open file '', because: No file name specified
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
No theme file has been loaded. KGameTheme::load() or KGameTheme::loadDefault()
must be called.
[New Thread 0x7fff975ef700 (LWP 2513693)]
Open success.
kf5.kxmlgui: cannot find .rc file "statisticsui.rc" for component "parley"
Missing QIcon  "document-edit"
Missing QIcon  "practice-start"
Missing QIcon  "practice-setup"
"Cannot lock file
/home/rootkea/.local/share/kvtml//113496-eng-fra-vh-v1.0.kvtml"
Lock stolen
Open success.
kf5.kxmlgui: cannot find .rc file "editorui.rc" for component "parley"
Create word type model for summary view
Missing QIcon  "edit-clear"
Missing QIcon  "practice-start"
Missing QIcon  "practice-setup"
Missing QIcon  "set-language"
Missing QIcon  "set-language"
Clear summary widget

Thread 1 "parley" received signal SIGSEGV, Segmentation fault.
0x00007ffff7f4d818 in KEduVocDocument::identifierCount() const () from
/lib/x86_64-linux-gnu/libKEduVocDocument.so.5abi1
(gdb) bt
#0  0x00007ffff7f4d818 in KEduVocDocument::identifierCount() const ()
    at /lib/x86_64-linux-gnu/libKEduVocDocument.so.5abi1
#1  0x00005555556bcb88 in StatisticsModel::columnCount(QModelIndex const&)
const (this=0x55555a2e9aa0, parent=...)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/statisticsmodel.cpp:155
#2  0x00007ffff6251bfe in QAbstractItemModel::hasIndex(int, int, QModelIndex
const&) const ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x000055555566ac48 in ReadonlyContainerModel::index(int, int, QModelIndex
const&) const
    (this=0x55555a2e9aa0, row=0, column=0, parent=...)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/collection/readonlycontainermodel.cpp:57
#4  0x00005555556bac82 in LessonStatisticsView::saveExpandedStatus() const
(this=0x555558888f70)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/lessonstatisticsview.cpp:189
#5  0x00005555556ba7a2 in LessonStatisticsView::~LessonStatisticsView()
(this=0x555558888f70, __in_chrg=<optimized out>)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/lessonstatisticsview.cpp:121
#6  0x00005555556ba7d8 in LessonStatisticsView::~LessonStatisticsView()
(this=0x555558888f70, __in_chrg=<optimized out>)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/lessonstatisticsview.cpp:122
#7  0x00007ffff62cd01e in QObjectPrivate::deleteChildren() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff6cf9c29 in QWidget::~QWidget() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff6e6f20d in QSplitter::~QSplitter() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff62cd01e in QObjectPrivate::deleteChildren() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff6cf9c29 in QWidget::~QWidget() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff6cf9e1d in QWidget::~QWidget() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff62cd01e in QObjectPrivate::deleteChildren() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff6cf9c29 in QWidget::~QWidget() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff7db2508 in KMainWindow::~KMainWindow() () at
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#16 0x000055555562472f in StatisticsMainWindow::~StatisticsMainWindow()
    (this=0x555555b729a0, __in_chrg=<optimized out>, __vtt_parm=<optimized
out>)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/statisticsmainwindow.cpp:68
--Type <RET> for more, q to quit, c to continue without paging--
#17 0x000055555562479c in StatisticsMainWindow::~StatisticsMainWindow()
    (this=0x555555b729a0, __in_chrg=<optimized out>, __vtt_parm=<optimized
out>)
    at
/home/rootkea/Downloads/todo/hacking/parley/src/statistics/statisticsmainwindow.cpp:76
#18 0x00007ffff62cfb74 in QObject::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff6cfe25d in QWidget::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff6e13148 in QMainWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff7db49ab in KMainWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#22 0x00007ffff7dff5bb in KXmlGuiWindow::event(QEvent*) () at
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#23 0x00007ffff6cbba66 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
    at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff6cc50f0 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff62a393a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff62a65b8 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ffff62fbf67 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fffecefafbd in g_main_context_dispatch () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fffecefb240 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fffecefb2e3 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff62fb565 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff62a24db in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff62aa246 in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00005555555b179d in main(int, char**) (argc=1, argv=0x7fffffffdff8)
    at /home/rootkea/Downloads/todo/hacking/parley/src/main.cpp:143
(gdb)

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

Reply via email to