Skip to content
Snippets Groups Projects
Commit 26811a7b authored by Fons Rademakers's avatar Fons Rademakers
Browse files

add protection in StackTrace() against gApplication being 0.

git-svn-id: http://root.cern.ch/svn/root/trunk@34174 27541ba8-7e3a-0410-8455-c3a389f83636
parent 5e123ef6
No related branches found
No related tags found
No related merge requests found
......@@ -2071,7 +2071,7 @@ void TUnixSystem::StackTrace()
if (fd && message) { } // remove unused warning (remove later)
if (!strcmp(gApplication->GetName(), "TRint"))
if (gApplication && !strcmp(gApplication->GetName(), "TRint"))
Getlinem(kCleanUp, 0);
#if defined(USE_GDB_STACK_TRACE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment