Bug 516054 - Crash with ConfigWidget for external data source
Summary: Crash with ConfigWidget for external data source
Status: REPORTED
Alias: None
Product: tellico
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.1.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-15 20:00 UTC by Robby Stephenson
Modified: 2026-02-15 20:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2026-02-15 20:00:57 UTC
Tellico crashes after using the ExecExternalFetcher::ConfigWidget and selecting a URL with the file dialog associated with KUrlRequester. 

#0  0x00007fffea944a85 in KUrlRequester::~KUrlRequester() () at /lib64/libKF6KIOWidgets.so.6
#1  0x00007fffea944b6e in KUrlRequester::~KUrlRequester() () at /lib64/libKF6KIOWidgets.so.6
#2  0x00007fffe6e253ca in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#3  0x00007fffe9429498 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#4  0x00007fffe94294e2 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#5  0x00007fffe6e253ca in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#6  0x00007fffe9429498 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#7  0x00007fffe957a952 in QGroupBox::~QGroupBox() () at /lib64/libQt6Widgets.so.6
#8  0x00007fffe6e253ca in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#9  0x00007fffe9429498 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#10 0x00005555557c92e5 in Tellico::Fetch::ConfigWidget::~ConfigWidget (this=0x555557f56ad0)
    at /home/robby/kde/src/tellico/src/fetch/configwidget.cpp:55
#11 0x00005555557f67d2 in Tellico::Fetch::ExecExternalFetcher::ConfigWidget::~ConfigWidget (this=0x555557f56ad0)
    at /home/robby/kde/src/tellico/src/fetch/execexternalfetcher.cpp:483
#12 0x00005555557f6819 in Tellico::Fetch::ExecExternalFetcher::ConfigWidget::~ConfigWidget (this=0x555557f56ad0)
    at /home/robby/kde/src/tellico/src/fetch/execexternalfetcher.cpp:477
#13 0x00007fffe6e253ca in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#14 0x00007fffe9429498 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#15 0x000055555567d8f1 in Tellico::ConfigDialog::~ConfigDialog (this=0x7fff4402d060)
    at /home/robby/kde/src/tellico/src/configdialog.cpp:127
#16 0x000055555567d9a9 in Tellico::ConfigDialog::~ConfigDialog (this=0x7fff4402d060)
    at /home/robby/kde/src/tellico/src/configdialog.cpp:125
Comment 1 Robby Stephenson 2026-02-15 20:07:42 UTC
Git commit de3360e27c7fa714403ddd9b8dd29d97ade6f28b by Robby Stephenson.
Committed on 15/02/2026 at 20:04.
Pushed by rstephenson into branch 'master'.

Workaround a crash in ExecExternalFetcher::ConfigWidget

The m_pathEdit KUrlRequester is being double-deleted when closing the
config dialog after using the file dialog to select a url. Unclear where
the issue is since the other widgets in the layout use the same parent
and the crash only occurs after selecting a url.

Workaroud by removing the m_pathEdit parent and allowing the pointer
to either dangle as lost memory or the unknown d'tor to be called

M  +7    -1    src/fetch/execexternalfetcher.cpp

https://invent.kde.org/office/tellico/-/commit/de3360e27c7fa714403ddd9b8dd29d97ade6f28b
Comment 2 Robby Stephenson 2026-02-15 20:08:41 UTC
Git commit bc00e9aefc8b390a8343955920aab228d69b6d2f by Robby Stephenson.
Committed on 15/02/2026 at 20:08.
Pushed by rstephenson into branch '4.2'.

Workaround a crash in ExecExternalFetcher::ConfigWidget

The m_pathEdit KUrlRequester is being double-deleted when closing the
config dialog after using the file dialog to select a url. Unclear where
the issue is since the other widgets in the layout use the same parent
and the crash only occurs after selecting a url.

Workaroud by removing the m_pathEdit parent and allowing the pointer
to either dangle as lost memory or the unknown d'tor to be called

M  +7    -1    src/fetch/execexternalfetcher.cpp

https://invent.kde.org/office/tellico/-/commit/bc00e9aefc8b390a8343955920aab228d69b6d2f