python3-libunity package dumps core on Fedora

Bug #1909904 reported by Olof Söderström
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Fix Released
Medium
Damon Lynch

Bug Description

Hi,

I am not able to start the application. I receive the following crash info:

**
ERROR:../gi/gimodule.c:1826:_wrap_pyg_hook_up_vfunc_implementation: assertion failed: (G_TYPE_IS_CLASSED (implementor_gtype))
Bail out! ERROR:../gi/gimodule.c:1826:_wrap_pyg_hook_up_vfunc_implementation: assertion failed: (G_TYPE_IS_CLASSED (implementor_gtype))
Aborted (core dumped)

My system:
Linux xxx 5.9.16-200.fc33.x86_64 #1 SMP Mon Dec 21 14:08:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

python install.py --version:
Rapid Photo Downloader installer 0.3.9

python install.py:

...
Successfully installed rapid-photo-downloader-0.9.26

I first tried upgarding earlier version with the same crash described above. Then removed the installation with "python install.py --uninstall" and then "python install.py" as described above.

I have other similar installations working with the new version.

Related branches

Revision history for this message
Olof Söderström (olof-soderstrom) wrote :

Tried stepping through the code (correctly?) by:

python -m pudb .local/lib/python3.9/site-packages/raphodo/rapid.py

crashes it seems on:
68 from gi.repository import Unity

Revision history for this message
Damon Lynch (dlynch3) wrote :

That indicates there is a bug in the distro package for the gobject introspection bindings for libunity.

Are you running the distro packaged version of Rapid Photo Downloader in Fedora 33? In the changelog for Rapid Photo Downloader 0.9.25, there is this entry:

 - Don't install support library libunity on Fedora. Libunity has a serious
   bug on Fedora 33. Libunity provides emblems and progress bars on launchers on
   desktops like KDE and Ubuntu's flavor of Gnome.

If you uninstall the distro package for the gobject introspection bindings for libunity, Rapid Photo Downloader will work.

Revision history for this message
Olof Söderström (olof-soderstrom) wrote :

Thanks,

I will try that out!

/Olof

Revision history for this message
Damon Lynch (dlynch3) wrote :

Were you able to eliminate the problem by uninstalling the appropriate package?

Revision history for this message
Olof Söderström (olof-soderstrom) wrote :

Hi,

Yes in short and thanks for the quick reply! :-) Below more on what I did. I surprised that my configuration was still present even after uninstall though... but happy since I do not know where my settings are stored.

I have been trying to make sure I do not remove something I need for something else. Since I was not 100% sure which packaged you refereed to I did some snooping around and found, hopefully, the correct packages by locating where the offending packet was installed by: "locate site-packages/gi/__init__.py" and then finding the packaged by issuing: "rpm -qfi /usr/lib64/python3.9/site-packages/gi/__init__.py". This pointed to the these packages:

libunity-7.1.4-23.20190319.fc33.x86_64
python3-libunity-7.1.4-23.20190319.fc33.x86_64

So I checked for any package dependencies with: 'rpm -q rpm -q --whatrequires libunity and rpm -q --whatrequires python3-libunity both coming up with no dependencies. I also check the other installation that works and that one did not have this packaged installed. So I then removed them with: "sudo rpm -e libunity python3-libunity"

I then stared the application and it works!

This took some extra time since I'm not so used to python way of things but hopefully learning. I wrote what I did so if someone like me missed the changelog info and need to fix things running Fedora 33.

On my wish list: someone at RedHat(?) would packaged Rapid Photo Downloader :-)

Regards
Olof

Revision history for this message
Damon Lynch (dlynch3) wrote :

Based on your experience, I might need to adjust the install.py script to remove the libunity / python3-libunity packages if they are present on Fedora 33.

Sorry I didn't specify exactly which packages to remove. Are you on Fedora 33 or CentOS?

A bug report should be filed against python3-libunity on Fedora 33, because that package is clearly broken. I'm unsure if it's an upstream problem, or strictly a problem with the Fedora package. Are you willing to file the bug report?

Rapid Photo Downloader 0.9.24 is packaged by Fedora for Fedora 33. Fortunately it does not install libunity / python3-libunity by default.

Revision history for this message
Olof Söderström (olof-soderstrom) wrote :

Hi,

I will look into that and see what I can do. I'll post the result here.

Thanks for the pointer to the package! I have not been looking in the repository because I thought that it still was a very old version with was not kept up to date. Now it's only a few versions behind so I might consider using that in the future, at lest on my "production" computer.

Regards
Olof

Revision history for this message
Riley (photos-g) wrote :

Hello,

You're a lifesaver Olof!

I upgraded to Fedora 33 and Rapid Photo Downloader wouldn't launch for me. I followed your steps and was able to resolve the problem.

Riley

Revision history for this message
Damon Lynch (dlynch3) wrote :

I have modified the install script to remove python3-libunity on Fedora, as this serious package bug is still present in Fedora 34.

summary: - Core dump on start
+ python3-libunity package dumps core on Fedora
Damon Lynch (dlynch3)
Changed in rapid:
milestone: none → 0.9.27a3
status: New → Fix Committed
assignee: nobody → Damon Lynch (dlynch3)
importance: Undecided → Critical
importance: Critical → Medium
Damon Lynch (dlynch3)
Changed in rapid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.