[opensuse-support] gdb debuginfo hint not working
Hi all, I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump Reading symbols from /usr/bin/perl...Missing separate debuginfo for /usr/bin/perl Try: zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" (no debugging symbols found)...done. [...] So I tried: # sudo zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" Loading repository data... Reading installed packages... No provider of 'debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4' found. ['--plus-content debug'?] Shall I open a bug for this? Anyone knows how to install the perl debuginfos to debug the perl script? Regards, Matthias -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
08.01.2019 14:39, Matthias Brugger пишет:
Hi all,
I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump Reading symbols from /usr/bin/perl...Missing separate debuginfo for /usr/bin/perl Try: zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" (no debugging symbols found)...done. [...]
So I tried: # sudo zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" Loading repository data... Reading installed packages... No provider of 'debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4' found. ['--plus-content debug'?]
Shall I open a bug for this?
Are debug repositories enabled?
Anyone knows how to install the perl debuginfos to debug the perl script?
Regards, Matthias
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 08/01/2019 12:39, Matthias Brugger wrote:
Hi all,
I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump Reading symbols from /usr/bin/perl...Missing separate debuginfo for /usr/bin/perl Try: zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" (no debugging symbols found)...done. [...]
So I tried: # sudo zypper install -C "debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4" Loading repository data... Reading installed packages... No provider of 'debuginfo(build-id)=f5c0216c2b10d8e820097e6230026e83fc9906b4' found. ['--plus-content debug'?]
Shall I open a bug for this? Anyone knows how to install the perl debuginfos to debug the perl script?
Never mind, I forgot to add the debug repository in zypper. Sorry for the noise. Matthias -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Tue, 8 Jan 2019 12:39:11 +0100
Matthias Brugger
Hi all,
I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump
Anyone knows how to install the perl debuginfos to debug the perl script?
I'm not clear what you're trying to debug. Are you trying to find a bug in the perl executable, or in a perl program run by the interpreter? If the latter then use perl's built-in debugger rather than gdb. $ perl -d prog-name If the former then what is making it crash? (i.e. what program) -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 08/01/2019 17:02, Dave Howorth wrote:
On Tue, 8 Jan 2019 12:39:11 +0100 Matthias Brugger
wrote: Hi all,
I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump
Anyone knows how to install the perl debuginfos to debug the perl script?
I'm not clear what you're trying to debug. Are you trying to find a bug in the perl executable, or in a perl program run by the interpreter?
If the latter then use perl's built-in debugger rather than gdb.
$ perl -d prog-name
If the former then what is making it crash? (i.e. what program)
It is a crash in perl. Issue is already halfway fixed. My initial report is here: https://bugzilla.suse.com/show_bug.cgi?id=1120759 The real problem can be find here: https://bugzilla.suse.com/show_bug.cgi?id=1120759 Regards, Matthias -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On Wed, 9 Jan 2019 12:24:22 +0100
Matthias Brugger
On 08/01/2019 17:02, Dave Howorth wrote:
On Tue, 8 Jan 2019 12:39:11 +0100 Matthias Brugger
wrote: Hi all,
I'm trying to debug a coredump and I get the following message(s) in gdb: # gdb /usr/bin/perl my-coredump
Anyone knows how to install the perl debuginfos to debug the perl script?
I'm not clear what you're trying to debug. Are you trying to find a bug in the perl executable, or in a perl program run by the interpreter?
If the latter then use perl's built-in debugger rather than gdb.
$ perl -d prog-name
If the former then what is making it crash? (i.e. what program)
It is a crash in perl. Issue is already halfway fixed. My initial report is here: https://bugzilla.suse.com/show_bug.cgi?id=1120759
The real problem can be find here: https://bugzilla.suse.com/show_bug.cgi?id=1120759
Ah OK, sorry for the noise and thanks for the heads-up.
Regards, Matthias
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Dave Howorth
-
Matthias Brugger