Bug 2044694

Summary: Crashes with unhandled exception when launched
Product: [Fedora] Fedora Reporter: Ian Chapman <packages>
Component: blessAssignee: Timotheus Pokorra <mailinglists>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 35CC: adel.gadllah, claudiorodrigo, mailinglists
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-27 04:55:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Chapman 2022-01-25 02:19:42 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Build Identifier: 

bless
Warning: Could not add built-in Courier font, will fall back to system Courier font as needed.

Unhandled Exception:
System.IO.DirectoryNotFoundException: /usr/lib/mono/bless/../../data or /builddir/build/BUILDROOT/bless-0.6.3-3.fc35.x86_64/usr/share/bless/
  at Bless.Util.FileResourcePath.GetDataPath (System.String[] dirs) [0x0009b] in <0e0ff530a6284ca195d5355515060880>:0 
  at BlessMain..ctor (System.String[] args) [0x0004d] in <4b733e7cab994ee983281155ad35f8ea>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <4b733e7cab994ee983281155ad35f8ea>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: /usr/lib/mono/bless/../../data or /builddir/build/BUILDROOT/bless-0.6.3-3.fc35.x86_64/usr/share/bless/
  at Bless.Util.FileResourcePath.GetDataPath (System.String[] dirs) [0x0009b] in <0e0ff530a6284ca195d5355515060880>:0 
  at BlessMain..ctor (System.String[] args) [0x0004d] in <4b733e7cab994ee983281155ad35f8ea>:0 
  at BlessMain.Main (System.String[] args) [0x00000] in <4b733e7cab994ee983281155ad35f8ea>:0 


The bug is the binary referencing a build directory - see /builddir/build/BUILDROOT/bless-0.6.3-3.fc35.x86_64/usr/share/bless/

If I create that directory, then bless launches




Reproducible: Always

Steps to Reproduce:
1. bless
2.
3.
Actual Results:  
Unhandled exception due to the binary incorrectly looking in a build directory whichd ooesn't exist

Expected Results:  
Bless should launch

Almost certainly an incorrect RPM build.

Comment 1 Timotheus Pokorra 2022-01-27 04:55:20 UTC
This has already been reported, and has been submitted for stable last night:
https://bodhi.fedoraproject.org/updates/FEDORA-2022-f7f8f59d7e

*** This bug has been marked as a duplicate of bug 2039108 ***