Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847916 - >=sci-libs/opencascade-7.5.2 - Possible crash of FreeCAD
Summary: >=sci-libs/opencascade-7.5.2 - Possible crash of FreeCAD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL: https://github.com/FreeCAD/FreeCAD/is...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-28 13:20 UTC by Bernd
Modified: 2022-06-03 11:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2022-05-28 13:20:18 UTC
There has been a report of crashes of consumer applications (FreeCAD) if the cmake option BUILD_RELEASE_DISABLE_EXCEPTIONS is turned ON (the default). To avoid it, this option needs to be turned OFF, enabling some of the exception handling for the package.

Reproducible: Always

Steps to Reproduce:
1. execute FreeCAD
2. open the showcase file from the GitHub issue tracker and follow the instructions there
3.



I could not yet verify the bug, because I couldn't load the showcase file (see FreeCAD issue tracker on GitHub).
Comment 1 Larry the Git Cow gentoo-dev 2022-06-03 11:01:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba6842a473c75f691487e770716356cefbd5cd3

commit 5ba6842a473c75f691487e770716356cefbd5cd3
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-05-29 11:03:31 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-06-03 11:01:19 +0000

    sci-libs/opencascade: allow some exceptions
    
    Disabling some of the exceptions (BUILD_RELEASE_DISABLE_EXCEPTIONS=ON),
    which is the default, can lead to crashes of consumer applications. This
    patch disables this option, so those exceptions are enabled.
    
    Bug: https://github.com/FreeCAD/FreeCAD/issues/6200
    Closes: https://bugs.gentoo.org/847916
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/25673
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../{opencascade-7.5.2-r5.ebuild => opencascade-7.5.2-r6.ebuild}         | 1 +
 .../{opencascade-7.5.3-r6.ebuild => opencascade-7.5.3-r7.ebuild}         | 1 +
 .../{opencascade-7.6.0-r3.ebuild => opencascade-7.6.0-r4.ebuild}         | 1 +
 .../{opencascade-7.6.1.ebuild => opencascade-7.6.1-r1.ebuild}            | 1 +
 4 files changed, 4 insertions(+)