Skip Menu |

This queue is for tickets about the App-Stacktrace CPAN distribution.

Report information
The Basics
Id: 131907
Status: new
Priority: 0/
Queue: App-Stacktrace

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.09
Fixed in: (no value)



Subject: Misleading diagnostics if gdb is not installed
If gdb is not installed, then perl-stacktrace prints the following: $ perl-stacktrace gdb -quiet -batch -nx -p -x /tmp/wq1Xz3NpN1.gdb killed by signal 127 at /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux/App/Stacktrace.pm line 264. gdb -quiet -batch -nx -p -x /tmp/wq1Xz3NpN1.gdb core dumped at /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux/App/Stacktrace.pm line 265. However, gdb was neither killed nor had dumped core. Maybe the code should check if $? is -1, and in this case print "gdb is probably not installed" or something similar.