Bug 2044694 - Crashes with unhandled exception when launched
Summary: Crashes with unhandled exception when launched
Keywords:
Status: CLOSED DUPLICATE of bug 2039108
Alias: None
Product: Fedora
Classification: Fedora
Component: bless
Version: 35
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Timotheus Pokorra
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-25 02:19 UTC by Ian Chapman
Modified: 2022-01-27 04:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-27 04:55:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.