Skip to content

Instantly share code, notes, and snippets.

@wchristian
Created February 3, 2023 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wchristian/67e326a80de2fad567e0644e4da4bd80 to your computer and use it in GitHub Desktop.
Save wchristian/67e326a80de2fad567e0644e4da4bd80 to your computer and use it in GitHub Desktop.
Mithaldu@XENBOX /cygdrive/c/UDAG/vendorbox
$ /usr/bin/gdb --args perl -d faa.pl
GNU gdb (GDB) (Cygwin 11.2-1) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from perl...
(No debugging symbols found in perl)
(gdb) r
Starting program: /usr/bin/perl -d faa.pl
[New Thread 14420.0xd48]
[New Thread 14420.0x2c4c]
[New Thread 14420.0x6720]
[New Thread 14420.0x1910]
Loading DB routines from perl5db.pl version 1.57
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(faa.pl:7): my $f = start_tests();
[New Thread 14420.0x7164]
DB<1> c
before stackdump
panic: reference miscount on nsv in sv_replace() (2 != 1) at /usr/share/perl5/5.32/perl5db.pl line 4221.
at /usr/share/perl5/5.32/perl5db.pl line 4221.
AnyEvent::CondVar::Base::_wait(AnyEvent::CondVar=HASH(0xa0096dc68)) called at /home/Mithaldu/perl5/lib/perl5/x86_64-cygwin-threads-multi/AnyEvent.pm line 2031
AnyEvent::CondVar::Base::recv(AnyEvent::CondVar=HASH(0xa0096dc68)) called at faa.pl line 10
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
0 [main] perl 16827 cygwin_exception::open_stackdumpfile: Dumping stack trace to perl.exe.stackdump
[Thread 14420.0x5d58 exited with code 35584]
[Thread 14420.0x2c4c exited with code 35584]
[Thread 14420.0x6720 exited with code 35584]
[Thread 14420.0x7164 exited with code 35584]
[Thread 14420.0xd48 exited with code 35584]
[Inferior 1 (process 14420) exited with code 0105400]
(gdb) bt
No stack.
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment