View Issue Details

IDProjectCategoryView StatusLast Update
0000777FreeCADBugpublic2012-07-05 11:25
Reporterhobbes1069 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.12 
Fixed in Version0.13 
Summary0000777: Shared libraries call exit
DescriptionWhile working on my package for Fedora I found the following issue:

$ rpmlint rpmbuild/freecad/RPMS/x86_64/freecad-0.12-6.fc16.x86_64.rpm | grep shared-lib-calls-exit
freecad.x86_64: W: shared-lib-calls-exit /usr/lib64/freecad/lib/libFreeCADGui.so exit@GLIBC_2.2.5
freecad.x86_64: W: shared-lib-calls-exit /usr/lib64/freecad/lib/libFreeCADApp.so exit@GLIBC_2.2.5
freecad.x86_64: W: shared-lib-calls-exit /usr/lib64/freecad/lib/libFreeCADBase.so exit@GLIBC_2.2.5

Explanation:
$ rpmlint -I shared-lib-calls-exit
shared-lib-calls-exit:
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.

TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2012-07-05 11:25

administrator   ~0002279

git show 857454a

Issue History

Date Modified Username Field Change
2012-07-04 21:39 hobbes1069 New Issue
2012-07-05 11:25 wmayer Note Added: 0002279
2012-07-05 11:25 wmayer Status new => closed
2012-07-05 11:25 wmayer Resolution open => fixed
2012-07-05 11:25 wmayer Fixed in Version => 0.13