You are not logged in.

#1 2020-08-02 15:22:55

retogenes
Member
Registered: 2016-01-21
Posts: 33

rapid photo downloader segmentation fault

Long time ago I installed rapid photo downloader from the Arch Linux repositories. It was working fine, but now it gives me segmentation fault when executing it.

$rapid-photo-downloader -v
INFO: Rapid Photo Downloader is starting
Fatal Python error: Segmentation fault

Current thread 0x00007f2e15d72740 (most recent call first):
  File "/usr/lib/python3.8/site-packages/raphodo/rapid.py", line 5827 in __init__
  File "/usr/lib/python3.8/site-packages/raphodo/rapid.py", line 6647 in main
  File "/usr/bin/rapid-photo-downloader", line 11 in <module>
Segmentation fault (core dumped)
$ rapid-photo-downloader --detailed-version
Rapid Photo Downloader: 0.9.24
Platform: Linux-5.7.10-arch1-1-x86_64-with-glibc2.2.5
Memory: 2.26 GB used of 16.73 GB
Confinement: none
Installed using pip: no
Python: 3.8.5
Python executable: /usr/bin/python
Qt: 5.15.0
PyQt: 5.15.0
SIP: 5.3.0
ZeroMQ: 4.3.2
Python ZeroMQ: 19.0.1 (cython backend)
gPhoto2: 2.5.25
Python gPhoto2: 2.2.1
ExifTool: 12.00
pymediainfo: 4.2.1
GExiv2: 0.12.01
Gstreamer: 1.16.2
PyGObject: 3.36.1
libraw: 0.20.0
rawkit: 0.6.0 (not functional)
psutil: 5.7.1
Exiv2: 0.27.2
glibc: 2.31
Arrow: 0.15.7
Tornado: 6.0.4
Can read HEIF/HEIC metadata: yes
Session: x11
Desktop scaling: not set
Desktop scaling detection: undetected
Desktop: GNOME (gnome)
Default file manager: nautilus (select)

No info in the logs. Last time I could open the program was on the 3rd of July. 

Any idea about how could I diagnose/fix this problem?

Offline

#2 2020-08-02 18:56:02

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: rapid photo downloader segmentation fault

Did you do a full system update?

If so, please create a new virgin user and start rapid-photo-downloader as this user. Does it also segfault?

Offline

#3 2020-08-02 19:07:31

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: rapid photo downloader segmentation fault

Thank you for your answer. I have just created a new user and started rapid-photo-downloader from it, and I am afraid I still get a segfault...

EDIT: Also, my system is completely up to date.

Last edited by retogenes (2020-08-02 19:12:20)

Offline

#4 2020-08-02 22:20:41

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: rapid photo downloader segmentation fault

I'd say, file a bug report. For me, the program does not immediatly segfault, but sometimes it gets stalled, depending on the filemanager it detects.

Offline

#5 2020-08-03 08:02:27

JohnD
Member
Registered: 2007-02-12
Posts: 17

Re: rapid photo downloader segmentation fault

I have the same problem.

% rapid-photo-downloader -v    
            
INFO: Rapid Photo Downloader is starting
Fatal Python error: Segmentation fault

Current thread 0x00007f824109c740 (most recent call first):
  File "/usr/lib/python3.8/site-packages/raphodo/rapid.py", line 5827 in __init__
  File "/usr/lib/python3.8/site-packages/raphodo/rapid.py", line 6647 in main
  File "/usr/bin/rapid-photo-downloader", line 11 in <module>
zsh: segmentation fault (core dumped)  rapid-photo-downloader -v
%rapid-photo-downloader --detailed-version

Rapid Photo Downloader: 0.9.24
Platform: Linux-5.7.11-arch1-1-x86_64-with-glibc2.2.5
Memory: 2.12 GB used of 16.78 GB
Confinement: none
Installed using pip: no
Python: 3.8.5
Python executable: /usr/bin/python
Qt: 5.15.0
PyQt: 5.15.0
SIP: 5.3.0
ZeroMQ: 4.3.2
Python ZeroMQ: 19.0.1 (cython backend)
gPhoto2: 2.5.25
Python gPhoto2: 2.2.1
ExifTool: 12.00
pymediainfo: 4.2.1
GExiv2: 0.12.01
Gstreamer: 1.16.2
PyGObject: 3.36.1
libraw: 0.20.0
rawkit: 0.6.0 (not functional)
psutil: 5.7.1
Exiv2: 0.27.2
glibc: 2.31
Arrow: 0.15.7
Tornado: 6.0.4
Can read HEIF/HEIC metadata: yes
Session: tty
Desktop scaling: not set
Desktop scaling detection: undetected (xsetting not running)
Desktop: None (unknown)
Default file manager: dolphin (select)

I think it might have something to do with this earlier bug, but i'm not sure.
I'll file a bug report.

Thanks.

Edit: Bug report here

Last edited by JohnD (2020-08-03 08:14:07)

Offline

#6 2020-08-03 10:42:44

Kopfweh
Member
Registered: 2011-08-06
Posts: 77

Re: rapid photo downloader segmentation fault

I've had this problem for weeks now, was too busy to get my back up, though.



edit: All I wanted to say is: You're not alone.

Last edited by Kopfweh (2020-08-03 10:43:05)

Offline

#7 2020-08-12 18:49:29

Kopfweh
Member
Registered: 2011-08-06
Posts: 77

Re: rapid photo downloader segmentation fault

So how do we go on from here with the pyqt5 issue that's Arch-specific? It's kinda annoying to have that nice piece of software not working for so long.

Last edited by Kopfweh (2020-08-12 18:49:45)

Offline

#8 2020-08-12 20:45:29

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: rapid photo downloader segmentation fault

If it is really Arch specific, someone needs to file a bug report in Arch's bug tracker.

Offline

#9 2020-08-14 17:25:04

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: rapid photo downloader segmentation fault

I reported the bug (please let me know if this is the right way, as it is the first bug I report in Arch Linux bug tracker) https://bugs.archlinux.org/task/67582

Any idea about how to circumvent the problem int he meantime? I made:

python -m pip install --user PyQt5==5.14.2
python -m pip install --user PyQt5-sip==12.7.2

and made .local/bin part of PATH but still I was unable to make rapid-photo-downloader work

Last edited by retogenes (2020-08-14 17:25:17)

Offline

#10 2020-08-31 12:53:35

Kopfweh
Member
Registered: 2011-08-06
Posts: 77

Re: rapid photo downloader segmentation fault

Okay, got it to run with nasty hack-around. No liability granted! Might eat your cat!

sudo pacman -Rc pyqt5
pip install pyqt5
sudo pacman -S rapid-photo-downloader

1st of all: I have no idea, why it works now and didn't before.
2nd: Check the packages you uninstall when uninstalling pyqt5, it's nasty having to uninstall it along with every package depending on it.
3rd: I guess pip installs that stuff in some nasty user/home directory, rather then system-wide? No idea.
4rd: Then pyqt5 is re-installed again the Arch-ish way. Does it override the pip installation? No idea.
5ft: Afterwards it starts up without segfaulting...but...why?

Offline

#11 2020-08-31 14:45:17

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: rapid photo downloader segmentation fault

Kopfweh wrote:

Okay, got it to run with nasty hack-around. No liability granted! Might eat your cat!

sudo pacman -Rc pyqt5
pip install pyqt5
sudo pacman -S rapid-photo-downloader

1st of all: I have no idea, why it works now and didn't before.
2nd: Check the packages you uninstall when uninstalling pyqt5, it's nasty having to uninstall it along with every package depending on it.

Don't force uninstall pyqt5 using pacman, pip has an option for this:
pip install --force-reinstall PyQt5

Kopfweh wrote:

3rd: I guess pip installs that stuff in some nasty user/home directory, rather then system-wide? No idea.

Yes, it does.

Kopfweh wrote:

4rd: Then pyqt5 is re-installed again the Arch-ish way. Does it override the pip installation? No idea.

No, it doesn't.

Kopfweh wrote:

5ft: Afterwards it starts up without segfaulting...but...why?

Apparently due to some difference in the PyQt5 wheel with bundled Qt5. There is a bug report for it, but no one else has figured out the cause...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#12 2020-12-04 10:03:32

Kopfweh
Member
Registered: 2011-08-06
Posts: 77

Re: rapid photo downloader segmentation fault

So I just updated my system again and realized the problem still persists. I also made a short comment about the still-persistance in the launchpad-bug-ticket.

My current way of working around it is like eschwartz described:

1.

sudo pacman -Syu

(2.

sudo pacman -S rapid-photo-downloader

)
3.

pip install --force-reinstall PyQt5

I really wish this would be solved to work the regular way.

Offline

Board footer

Powered by FluxBB