[vlc-devel] commit: Always call _exit() at end to avoid buggy exit handlers ( Rémi Denis-Courmont )

Rémi Denis-Courmont remi at remlab.net
Thu Nov 4 16:17:25 CET 2010


On Thu, 4 Nov 2010 16:03:33 +0100, Rafaël Carré <rafael.carre at gmail.com>
wrote:
>> On Sun,  8 Aug 2010 22:06:47 +0200 (CEST)
>> git at videolan.org wrote:
>> 
>> > vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun
>> > Aug  8 23:06:02 2010 +0300|
>> > [725cf4eb04ab02491301a83d8ce6a5c3f5d80794] | committer: Rémi
>> > Denis-Courmont 
>> > 
>> > Always call _exit() at end to avoid buggy exit handlers
>> > 
>> > Removes the KDE scheduler hack.
>> > 
>> > >
>
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=725cf4eb04ab02491301a83d8ce6a5c3f5d80794
>> 
>> This prevents VLC built with --enable-gprof to dump the gmon.out file
> 
> I can't get any usable output from gprof anyway, it doesn't seem to
> like dlopen()ed code (should try with static plugins)

gprof has a bad reputation with multi-threading also. But the problem might
be with dlclose() rather than with dlopen(). --enable-gprof should probably
disable dlclose(), just like running under valgrind. Otherwise the valgrind
leak traces would be mostly question marks.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list