Bug 1541394

Summary: Segmentation fault each start
Product: [Fedora] Fedora Reporter: Bengt Månsson <bengt.mansson+bz>
Component: swamiAssignee: Brendan Jones <brendan.jones.it>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: axel.sommerfeldt, brendan.jones.it, nando, oget.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: swami-2.0.0-18.20110806svn386.fc28 swami-2.0.0-18.20110806svn386.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-07 02:04:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bengt Månsson 2018-02-02 13:26:43 UTC
Description of problem:
Segmentation fault each start

Version-Release number of selected component (if applicable):
swami-2.0.0-14.20110806svn386.fc27.x86_64

How reproducible:
each time

Steps to Reproduce:
$ swami


Actual results:
libswami-Message: Loading plugins from /usr/lib64/swami/
libswami-Message: Loaded 4 plugins
Segmentation fault (core dumped)

No GUI started


Expected results:
No output but GUI start

Additional info:
Installed fc27 as full net installation (no dnf). Reformatted everything except /home.
I think it worked with fc25 but I'm not planning to go back.

Comment 1 Axel Sommerfeldt 2018-10-22 07:22:14 UTC
Same problem on Fedora 28 and 29.

Upstream bug report in devel mailing list:

https://sourceforge.net/p/swami/mailman/message/36413093/

(Unfortunately without response)

Comment 2 Orcan Ogetbil 2018-10-23 00:30:11 UTC
I suspect it is because of the invalid pointer cast (with GPOINTER_TO_INT) on 64bit systems. If my conjecture is correct the crash wouldn't happen with the 32bit builds.

I am not a glib programmer but I made this quick test build. Could you try it out?

https://koji.fedoraproject.org/koji/taskinfo?taskID=30404132

Comment 3 Axel Sommerfeldt 2018-10-23 08:02:48 UTC
Hi Orcan,

Yes, now Swami starts again (F29 x86_64), thank you very much.

Have you checked if this bug was already fixed upstream? (It seems the version offered in Fedora is about 7 years old?)

Comment 4 Orcan Ogetbil 2018-10-24 01:17:13 UTC
Hi Axel,
I just checked. The upstream code base got modified a lot, but they didn't make a release in years. Updating swami quite likely entails updating libinstpatch as well. This would be a bigger update which requires more time than I have right now.

Comment 5 Fedora Update System 2018-10-24 01:31:02 UTC
swami-2.0.0-18.20110806svn386.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-abac0a7330

Comment 6 Fedora Update System 2018-10-24 01:31:34 UTC
swami-2.0.0-18.20110806svn386.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-305e2ad46e

Comment 7 Fedora Update System 2018-10-24 15:41:07 UTC
swami-2.0.0-18.20110806svn386.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-abac0a7330

Comment 8 Fedora Update System 2018-10-25 22:35:22 UTC
swami-2.0.0-18.20110806svn386.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-305e2ad46e

Comment 9 Fedora Update System 2018-11-07 02:04:31 UTC
swami-2.0.0-18.20110806svn386.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-11-07 02:39:32 UTC
swami-2.0.0-18.20110806svn386.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.