{"id":20756502,"url":"https://github.com/basiliscos/p5-gdb-bt","last_synced_at":"2025-06-27T08:34:06.109Z","repository":{"id":153550139,"uuid":"289053306","full_name":"basiliscos/p5-GDB-bt","owner":"basiliscos","description":"get backtraces from perl5 coredump","archived":false,"fork":false,"pushed_at":"2020-08-21T10:26:12.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T04:31:45.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basiliscos.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-20T16:18:51.000Z","updated_at":"2020-08-21T12:18:20.000Z","dependencies_parsed_at":"2023-05-19T11:00:32.139Z","dependency_job_id":null,"html_url":"https://github.com/basiliscos/p5-GDB-bt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basiliscos%2Fp5-GDB-bt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basiliscos%2Fp5-GDB-bt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basiliscos%2Fp5-GDB-bt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basiliscos%2Fp5-GDB-bt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basiliscos","download_url":"https://codeload.github.com/basiliscos/p5-GDB-bt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243064398,"owners_count":20230559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T09:32:47.796Z","updated_at":"2025-03-11T15:49:20.667Z","avatar_url":"https://github.com/basiliscos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nGDB::bt - Get perl backtraces from coredump files\n\n# SYNOPSIS\n\n    $ gdb-bt.pl core.17373\n    Reading symbols from perl...\n    [New LWP 17373]\n    [Thread debugging using libthread_db enabled]\n    Using host libthread_db library \"/usr/lib/libthread_db.so.1\".\n    Core was generated by `rpc                                    '.\n    Program terminated with signal SIGABRT, Aborted.\n    #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50\n        50../sysdeps/unix/sysv/linux/raise.c: No such file or directory.\n    Perl version =  32 ' '\n    [0] 0x5597599303b2 \"lib/Panda/XServer/RPC/Async/WClientImpl.pm\":119\n    [1] 0x5597599303b2 \"lib/Panda/XServer/RPC/Async/WClientImpl.pm\":63\n    [2] 0x559757a89492 \"lib/Panda/XServer/RPC/WClientImpl.pm\":162\n    [3] 0x559757a89492 \"lib/Panda/XServer/RPC/WClientImpl.pm\":106\n    [4] 0x5597560d1e12 \"t/03-xserver/01-rpc-async.t\":35\n    [5] 0x5597575113f2 \"lib/Panda/Timer.pm\":48\n    [6] 0x559756ca0c42 \"/home/b/development/crazy-panda/core-dev/t/lib/Panda/TestEnvironment.pm\":192\n    [7] 0x559756ca0c42 \"/home/b/development/crazy-panda/core-dev/t/lib/Panda/TestEnvironment.pm\":192\n    [8] 0x5597560d1e12 \"t/03-xserver/01-rpc-async.t\":56\n\n# DESCRIPTION\n\nIf your perl program segfaults you can easily extract `C` backtraces, however perl bactraces are\nnot available. Usually you can _guess_ correctly them (e.g. from logs), but that takes time\nand it is error-prone. The proposed script solves at least partially solves the problem.\n\nThe script target audience is: XS-modules writers and bug-reporters (for perl core and XS-modules).\n\n# LIMITATIONS\n\nCurrently it was tested on the following configurations:\n\n- 5.30 (non threaded, linux)\n- 5.32 (non-threaded, linux)\n\nIf it works on your perl and it is not listed here, please, let us know.\n\n# INTERNALS\n\nThe main script is written in Python, as gdb out of the box has official Python-bindings.\nTo extend it, you should look a the perl sources somewhere around `pp_ctl.c / caller_cx`\nand duplicate the code in the Python script. Yes, you have to expand all perl macroses,\nundocumented perl internals etc., to let it work. There is no other way. \n\n# AUTHOR\n\nIvan Baidakou \u003cdmol@cpan.org\u003e, Crazy Panda LTD\n\n# LICENSE\n\nYou may distribute this code under the same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasiliscos%2Fp5-gdb-bt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasiliscos%2Fp5-gdb-bt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasiliscos%2Fp5-gdb-bt/lists"}