Skip to content

Commit

Permalink
Show crash report dialog while stacktrace is being dumped on linux
Browse files Browse the repository at this point in the history
The stack trace dump takes a loooooong time, and isn't currently
used by the dialog
  • Loading branch information
nyalldawson committed Dec 7, 2021
1 parent 050522f commit 701995d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/main.cpp
Expand Up @@ -316,6 +316,8 @@ void qgisCrash( int signal )
{
fprintf( stderr, "QGIS died on signal %d", signal );

QgsCrashHandler::handle( 0 );

if ( access( "/usr/bin/gdb", X_OK ) == 0 )
{
// take full stacktrace using gdb
Expand Down Expand Up @@ -362,8 +364,6 @@ void qgisCrash( int signal )
}
}

QgsCrashHandler::handle( 0 );

abort();
}
#endif
Expand Down

0 comments on commit 701995d

Please sign in to comment.