[gecode-users] Fedora packaging Gecode

Guido Tack tack at gecode.org
Wed Aug 22 08:30:12 CEST 2012


Hi Julian,

this has come up a number of times.  The exit is only called when a buggy callback (i.e. user code) throws an exception in Gist.  I'll have a look and display an error dialog instead.

Cheers,
Guido

-- 
Guido Tack
http://www.csse.monash.edu/~guidot/



On 22/08/2012, at 4:53 AM, "Julian C. Dunn" <jdunn at aquezada.com> wrote:

> All:
> 
> I am working on packaging Gecode into Fedora Linux. During the review process, my reviewer pointed out this problem with Gecode:
> 
> ---
> 
> gecode.x86_64: W: shared-lib-calls-exit /usr/lib64/libgecodegist.so.32.0 exit at GLIBC_2.2.5
> 
> 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.
> 
> ---
> 
> While they told me that this is not a blocker to inclusion in Fedora, they advised me to inform upstream (you) such that you might consider fixing it. Could you give me some feedback about that so I can append it to the review request?
> 
> - Julian
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20120822/6019d746/attachment.html>


More information about the users mailing list