[cfe-dev] Quit Application Error.

Paul Griffiths gafferuk at gmail.com
Mon Aug 23 00:45:45 PDT 2010


Ni im not deleting anything, Im running each instance of clang in it's
own thread, when I want to quit the app, the thread calles
llvm::llvm_shutdown()  and exits.

Even if theres only one instance of clang running, it throws an error
when I quit.

On 22 August 2010 22:44, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Sun, Aug 22, 2010 at 2:32 PM, Paul Griffiths <gafferuk at gmail.com> wrote:
>> Hi when I run line Clang.ExecuteAction(*Act), when i quit my
>> application, it throws an error saying "Virtual Function Call"..
>>
>> It only throws this error when the line gets called and later I quit
>> my app. Ive narrowed it down to this line being called.
>>
>> Any ideas?
>
> Are you sure you didn't mess up the object ownership somewhere?
> Trying to delete an already-freed object could easily cause an error
> like that.
>
> -Eli
>



More information about the cfe-dev mailing list