[kget] [Bug 444591] KGet crashes when attempting to download anything

2022-01-11 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

Wolfgang Bauer  changed:

   What|Removed |Added

 CC||pokingvic...@protonmail.com

--- Comment #25 from Wolfgang Bauer  ---
*** Bug 448276 has been marked as a duplicate of this bug. ***

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2022-01-08 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #24 from Frank Kruger  ---
(In reply to Wolfgang Bauer from comment #23)
> Git commit 13187db5a4288ad5e852c851eec16ea6e0a8ccd2 by Wolfgang Bauer.
> Committed on 03/01/2022 at 19:22.
> Pushed by wbauer into branch 'release/21.12'.
> 
> Fix destination filesystem type check for downloads bigger than 4 GiB
> 
> `m_dest` is a QUrl, we need to use `toLocalFile()` to get a local path.
> `toString()` results in a URL instead ("file://...") which causes the
> mountpoint lookup to fail.
> 
> Also, the check whether the mountpoint was found was reversed. It
> actually tried to compare the filesystem type when the mount point was
> *not* found, resulting in a crash because of the nullptr dereference.
> FIXED-IN: 21.12.1
> 
> M  +3-3core/datasourcefactory.cpp
> 
> https://invent.kde.org/network/kget/commit/
> 13187db5a4288ad5e852c851eec16ea6e0a8ccd2

kget 21.12.1 works fine here (openSUSE Tumbleweed 20220106). Thx.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2022-01-03 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

Wolfgang Bauer  changed:

   What|Removed |Added

   Version Fixed In||21.12.1
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/netw
   ||ork/kget/commit/13187db5a42
   ||88ad5e852c851eec16ea6e0a8cc
   ||d2
 Resolution|--- |FIXED

--- Comment #23 from Wolfgang Bauer  ---
Git commit 13187db5a4288ad5e852c851eec16ea6e0a8ccd2 by Wolfgang Bauer.
Committed on 03/01/2022 at 19:22.
Pushed by wbauer into branch 'release/21.12'.

Fix destination filesystem type check for downloads bigger than 4 GiB

`m_dest` is a QUrl, we need to use `toLocalFile()` to get a local path.
`toString()` results in a URL instead ("file://...") which causes the
mountpoint lookup to fail.

Also, the check whether the mountpoint was found was reversed. It
actually tried to compare the filesystem type when the mount point was
*not* found, resulting in a crash because of the nullptr dereference.
FIXED-IN: 21.12.1

M  +3-3core/datasourcefactory.cpp

https://invent.kde.org/network/kget/commit/13187db5a4288ad5e852c851eec16ea6e0a8ccd2

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #22 from george.stefana...@gmail.com ---
Created attachment 144767
  --> https://bugs.kde.org/attachment.cgi?id=144767=edit
New crash information added by DrKonqi

kget (21.12.0) using Qt 5.15.3

- What I was doing when the application crashed:
Just trying to download an ISO file.  I had just copied the link, paste it to
New Download, in Kget.  Kget insert the link and tried to download the file,
and then crashed.  I have tried it 4 times with the same result.

-- Backtrace (Reduced):
#4  0x7f79c6a5bcc4 in KMountPoint::mountType() const () from
/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#5  0x7f79c721a759 in DataSourceFactory::start (this=0x7f79b8007b70) at
./core/datasourcefactory.cpp:277
#6  0x7f79c721ad78 in DataSourceFactory::slotFoundFileSize
(this=0x7f79b8007b70, source=, fileSize=,
segmentRange=...) at ./core/datasourcefactory.cpp:151
#7  0x7f79c51abdce in QtPrivate::QSlotObjectBase::call (a=0x7ffe909458f0,
r=0x7f79b8007b70, this=0x55c82a62b2b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate (sender=0x55c82a6699e0, signal_index=3,
argv=0x7ffe909458f0) at kernel/qobject.cpp:3886

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=444591

george.stefana...@gmail.com changed:

   What|Removed |Added

 CC||george.stefana...@gmail.com

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-21 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

Wolfgang Bauer  changed:

   What|Removed |Added

 CC||lassi.vaatamoi...@gmail.com

--- Comment #21 from Wolfgang Bauer  ---
*** Bug 447149 has been marked as a duplicate of this bug. ***

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-10 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

Wolfgang Bauer  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #20 from Wolfgang Bauer  ---
(In reply to Frank Kruger from comment #18)
> Just tried to download current openSUSE Tumbleweed  ISO via
> https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-
> Current.iso.meta4 and it crashes again.

Thanks, I can reproduce the crash now.

I'll investigate and will try to fix it...

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #19 from Frank Kruger  ---
Created attachment 144409
  --> https://bugs.kde.org/attachment.cgi?id=144409=edit
Backtrace KGet 21.08.3 Crash

(In reply to Frank Kruger from comment #18)
> Just tried to download current openSUSE Tumbleweed  ISO via
> https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-
> Current.iso.meta4 and it crashes again.

Corresponding crash report attached.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #18 from Frank Kruger  ---
Just tried to download current openSUSE Tumbleweed  ISO via
https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.meta4
and it crashes again.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #17 from Wolfgang Bauer  ---
PS: @Kārlis Kavacis
The link in comment#0 unfortunately was obfuscated (by bugzilla I guess), so
maybe you could send it to me in private?
Thanks.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #16 from Wolfgang Bauer  ---
(In reply to Wolfgang Bauer from comment #15)
> If you consider them private, maybe we can arrange some way outside this
> bugzilla...

That also applies to Kārlis Kavacis of course.

In the end, I only want to have an URL with which I can reproduce the crash.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #15 from Wolfgang Bauer  ---
(In reply to Frank Kruger from comment #14)
> Yep, it solves it, kget starts and downloads as expected, without any crash.
> Thx.
Good.

Could you maybe share the files in the old directory?
If you consider them private, maybe we can arrange some way outside this
bugzilla...

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #14 from Frank Kruger  ---
(In reply to Wolfgang Bauer from comment #13)
> (In reply to Wolfgang Bauer from comment #11)
> > (In reply to Frank Kruger from comment #9)
> > > (In reply to Wolfgang Bauer from comment #3)
> > The main question is, what triggers the crash?
> 
> My only guess so far is that it has to do with what filesystems are mounted.
> As the crash reports are all in KMountPoint::mountType()  from kio.
> 
> But comment#5 suggests it depends on the URL...
> 
> @Frank Kruger:
> Does it help if you rename the directory "~/.local/share/kget/", so that
> current downloads are no longer continued?

Yep, it solves it, kget starts and downloads as expected, without any crash.
Thx.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #13 from Wolfgang Bauer  ---
(In reply to Wolfgang Bauer from comment #11)
> (In reply to Frank Kruger from comment #9)
> > (In reply to Wolfgang Bauer from comment #3)
> The main question is, what triggers the crash?

My only guess so far is that it has to do with what filesystems are mounted.
As the crash reports are all in KMountPoint::mountType()  from kio.

But comment#5 suggests it depends on the URL...

@Frank Kruger:
Does it help if you rename the directory "~/.local/share/kget/", so that
current downloads are no longer continued?

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #12 from Frank Kruger  ---
(In reply to Wolfgang Bauer from comment #11)
> (In reply to Frank Kruger from comment #9)
> > (In reply to Wolfgang Bauer from comment #3)
> > > Hm. kget 21.08.3 doesn't crash here.
> > > Is it still happening?
> > > 
> > > The crash apparently was in kio, actually.
> > > Maybe it got fixed there already?
> > 
> > Kget 21.08.3 still crashes  at start up with up-to-date openSUSE Tumbleweed
> > 20211207.  Shall I open a bug report there?
> 
> No. It's likely not a distribution problem, especially as it originally was
> reported from a Fedora user.
> The main question is, what triggers the crash?

Start kget from the console I get:

Verifying Metalink/HTTP Status
Mime Type:  "application/metalink4+xml"
No Metalink HTTP response found
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
KCrash: Application 'kget' crashing...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 25 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #11 from Wolfgang Bauer  ---
(In reply to Frank Kruger from comment #9)
> (In reply to Wolfgang Bauer from comment #3)
> > Hm. kget 21.08.3 doesn't crash here.
> > Is it still happening?
> > 
> > The crash apparently was in kio, actually.
> > Maybe it got fixed there already?
> 
> Kget 21.08.3 still crashes  at start up with up-to-date openSUSE Tumbleweed
> 20211207.  Shall I open a bug report there?

No. It's likely not a distribution problem, especially as it originally was
reported from a Fedora user.
The main question is, what triggers the crash?

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #10 from Wolfgang Bauer  ---
(In reply to Wolfgang Bauer from comment #8)
> (In reply to Wolfgang Bauer from comment #7)
> > (In reply to Kārlis Kavacis from comment #5)
> > > Yeah! It's something to do with the download URL or server responses -
> > > Fedora Workstation 35 ISO from Fedora home page downloads successfully
> > > without crashing KGet!
> > 
> > Would it be possible to share a particular URL that crashes kget?
> > 
> > If I can reproduce the crash, it might help to debug this problem. ;-)
> 
> Although, your latest crash seems to be a different one.
Sorry, I didn't look well enough,
It's actually still in kio too.
> #7  KMountPoint::mountType (this=0x0) at 
> /usr/src/debug/kf5-kio-5.88.0-1.fc35.x86_64/src/core/kmountpoint.cpp:412
> #8  0x7fed7435b08f in DataSourceFactory::start() () from 
> /lib64/libkgetcore.so.5

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #9 from Frank Kruger  ---
(In reply to Wolfgang Bauer from comment #3)
> Hm. kget 21.08.3 doesn't crash here.
> Is it still happening?
> 
> The crash apparently was in kio, actually.
> Maybe it got fixed there already?

Kget 21.08.3 still crashes  at start up with up-to-date openSUSE Tumbleweed
20211207.  Shall I open a bug report there?

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #8 from Wolfgang Bauer  ---
(In reply to Wolfgang Bauer from comment #7)
> (In reply to Kārlis Kavacis from comment #5)
> > Yeah! It's something to do with the download URL or server responses -
> > Fedora Workstation 35 ISO from Fedora home page downloads successfully
> > without crashing KGet!
> 
> Would it be possible to share a particular URL that crashes kget?
> 
> If I can reproduce the crash, it might help to debug this problem. ;-)

Although, your latest crash seems to be a different one.
So my question in comment#3 still stands.
@Frank Kruger: what's your experience meanwhile?

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #7 from Wolfgang Bauer  ---
(In reply to Kārlis Kavacis from comment #5)
> Yeah! It's something to do with the download URL or server responses -
> Fedora Workstation 35 ISO from Fedora home page downloads successfully
> without crashing KGet!

Would it be possible to share a particular URL that crashes kget?

If I can reproduce the crash, it might help to debug this problem. ;-)

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #6 from Kārlis Kavacis  ---
Installed Packages
Name : kget
Version  : 21.08.3
Release  : 1.fc35
Architecture : x86_64
Size : 8.9 M
Source   : kget-21.08.3-1.fc35.src.rpm
Repository   : @System
>From repo: copr:copr.fedorainfracloud.org:zawertun:kde
Summary  : Download manager
URL  : https://cgit.kde.org/kget.git
License  : GPLv2+ and GFDL
Description  : Download manager.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #5 from Kārlis Kavacis  ---
Yeah! It's something to do with the download URL or server responses - Fedora
Workstation 35 ISO from Fedora home page downloads successfully without
crashing KGet!

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #4 from Kārlis Kavacis  ---
Created attachment 144403
  --> https://bugs.kde.org/attachment.cgi?id=144403=edit
New crash information added by DrKonqi

kget (21.08.3) using Qt 5.15.2

Just tried to repeat the download to see if the problem still persists and it
happened again. I'm suspecting something funky with the download URL or
something at fault at server end causing KGet to crash.

Additional info/context in case anything is missing in any of the reports
attached:

Fedora release 35 (Thirty Five)

VERSION="35 (KDE Plasma)"
Kernel="5.15.6-200.fc35.x86_64"
KDEPlasmaVersion="5.23.4"
KDEFrameworksVersion="5.88.0"
KDE install source: https://copr.fedorainfracloud.org/coprs/zawertun/kde/

-- Backtrace (Reduced):
#6  QString::QString (other=..., this=, this=,
other=...) at /usr/include/qt5/QtCore/qstring.h:1093
#7  KMountPoint::mountType (this=0x0) at
/usr/src/debug/kf5-kio-5.88.0-1.fc35.x86_64/src/core/kmountpoint.cpp:412
#8  0x7fed7435b08f in DataSourceFactory::start() () from
/lib64/libkgetcore.so.5
#9  0x7fed7253f3e9 in QtPrivate::QSlotObjectBase::call (a=0x7ffce6acb9e0,
r=, this=0x558d9f1f80e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate (sender=0x558d9f1d0e20, signal_index=3,
argv=0x7ffce6acb9e0) at kernel/qobject.cpp:3886

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

Kārlis Kavacis  changed:

   What|Removed |Added

 CC||karlis.kava...@gmail.com

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-12-09 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #3 from Wolfgang Bauer  ---
Hm. kget 21.08.3 doesn't crash here.
Is it still happening?

The crash apparently was in kio, actually.
Maybe it got fixed there already?

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-11-04 Thread Frank Kruger
https://bugs.kde.org/show_bug.cgi?id=444591

Frank Kruger  changed:

   What|Removed |Added

 CC||fkrue...@mailbox.org

--- Comment #2 from Frank Kruger  ---
Created attachment 143189
  --> https://bugs.kde.org/attachment.cgi?id=143189=edit
Backtrace_kget_21.08.2_20211104

Given openSUSE Tumbleweeed 20211102 with 

KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

and kget-21.08.2-1.1.x86_64 I am also experiencing kget crashing, even if I
just start the application. Backtrace enclosed.

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-10-29 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

Kārlis Kavacis  changed:

   What|Removed |Added

   Platform|Fedora RPMs |Compiled Sources

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

[kget] [Bug 444591] KGet crashes when attempting to download anything

2021-10-29 Thread Kārlis Kavacis
https://bugs.kde.org/show_bug.cgi?id=444591

--- Comment #1 from Kārlis Kavacis  ---
Clarification - KGet is not installed from stock Fedora repositories but from
Copr, it can be considered as "KDE Platform Compiled from sources".

Name : kget
Version  : 21.08.2
Release  : 1.fc34
Architecture : x86_64
Size : 8.9 M
Source   : kget-21.08.2-1.fc34.src.rpm
Repository   : @System
>From repo: copr:copr.fedorainfracloud.org:zawertun:kde
Summary  : Download manager
URL  : https://cgit.kde.org/kget.git
License  : GPLv2+ and GFDL
Description  : Download manager.

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