> Additionally, simply try to uncomment the DTOR code in Hierarchy and
> see if things changes. If so, this looks like another hint that the
> problem is in LOGCXX-430, isn't it?

Yes, the problem "goes away" when I do this:

Hierarchy::~Hierarchy()
{
    //delete loggers;
    //delete provisionNodes;
}

which is certainly a temporary workaround for our crashes which are
actually stopping our product from shipping. :(


> Changes around multithreading, destruction order, concurrent GC
> threads...? Did you change the IDE recently or recompiled using some
> different settings?

It is hard to say. There is a team here working on the overall
product, some involved in the C++ stack, some involved in the C# GUI.
The C++ binaries are all built with the same C++ run times, including
all our 3rd party code, to make sure we don't fall foul of mismatched
CRTs. So I think this problem has been in our code base for a long
time just waiting to happen, and we only noticed it recently because
crashes are pretty obvious.

-- 
Sean





On 1 March 2016 at 08:21, Thorsten Schöning <tschoen...@am-soft.de> wrote:
> Guten Tag Sean Dynan,
> am Montag, 29. Februar 2016 um 19:00 schrieben Sie:
>
>> -- I have tried statically linking to log4cxx but in that instance the
>> DLL that uses log4cxx suffers the same fate.
>> -- I have tried with and without APR_HAS_THREADS - no obvious change
>> to the stack trace.
>
> Did you try the patches of LOGCXX-430? I couldn't get them working for
> some reason, but maybe you can.
>
> https://issues.apache.org/jira/browse/LOGCXX-430
>
> Additionally, simply try to uncomment the DTOR code in Hierarchy and
> see if things changes. If so, this looks like another hint that the
> problem is in LOGCXX-430, isn't it?
>
>> -- log4cxx has been used in my application for years without any
>> problems. Is there anything I may have introduced in my own code or
>> DLL structure that might have triggered this?
>
> Changes around multithreading, destruction order, concurrent GC
> threads...? Did you change the IDE recently or recompiled using some
> different settings?
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: thorsten.schoen...@am-soft.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>



-- 
Sean

Reply via email to