[Bug 623899] New: missing debuginfo file for 93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b
http://bugzilla.novell.com/show_bug.cgi?id=623899 http://bugzilla.novell.com/show_bug.cgi?id=623899#c0 Summary: missing debuginfo file for 93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 psql (from postgresql) core'd on me. So I cracked open gdb (after installing a bunch of debuginfo packages) and got this: Reading symbols from /usr/bin/psql...Reading symbols from /usr/lib/debug/usr/bin/psql.debug...done. done. (gdb) core core [New Thread 5844] Missing separate debuginfo for Try: zypper install -C "debuginfo(build-id)=93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b" So I gave that a try: sudo zypper install -C "debuginfo(build-id)=93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b" root's password: Loading repository data... Reading installed packages... No provider of 'debuginfo(build-id) = 93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b' found. Resolving package dependencies... Nothing to do. I have both the http://download.opensuse.org/debug/distribution/11.3/repo/oss/ and http://download.opensuse.org/debug/update/11.3/ enabled. (at the same priority) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c1
Reinhard Max
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c2
--- Comment #2 from Jon Nelson
Jon, the debuginfo packages are distributed in a separate repository, which gets added through a standard installation, but is disabled by default: http://download.opensuse.org/debug/distribution/11.3/repo/oss/
You'll note in the initial comment that I have *both* the standard oss 'debug' repo *and* the update 'debug' repo enabled (and at the same priority). The debuginfo is still missing as of this writing. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c3
--- Comment #3 from Reinhard Max
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c4
--- Comment #4 from Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c5
Reinhard Max
postgresql-8.4.4-2.3.x86_64
or, rpm -qi: [...] The version, release, build host and time, etc... all match *exactly* the version of postgresql that comes off of the openSUSE 11.3 x86_64 DVD.
Same here. But reading your initial post once more, I realized that postgresql-debuginfo is already installed on your system (right?) and the requested build-id is for something else. This could mean two things: (a) one of the libs /usr/bin/psql is linked against is not the same build as the one that ships with 11.3, or (b) gdb reports a bogus build-id as a consequence of the segfault. I think (b) is more likely, because gdb doesn't even mention a shared object file name in the "Missing separate debuginfo for" line, as it should. Two more questions: 1. Do you get the same build-id when you run /usr/bin/psql through gdb without the core file? 2. When running gdb with the core file, how does the backtrace look like and does it indicate from which file the debugging information is actually missing? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c6
Jon Nelson
http://bugzilla.novell.com/show_bug.cgi?id=623899
http://bugzilla.novell.com/show_bug.cgi?id=623899#c7
Reinhard Max
In the mean time, perhaps bug 623902 contains something useful?
Ah - yes, I didn't realize those two were related. I can now reproduce the core dump with Ctrl-\ and then I get the unknown and probably bogus build-id. Richard, can you explain how gdb gets to that build-id? If you need to reproduce it yourself: 1. instal postgresql and postgresql-server 2. # rcpostgresql start 3. # su - postgres 4. $ ulimit -c unlimited 5. $ psql 6. press Ctrl-\ 7. gdb psql core [...] Missing separate debuginfo for Try: zypper install -C "debuginfo(build-id)=93d15bb9cb6d9eed20f0b2f07472c4af42a24c8b" [...] -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623899
https://bugzilla.novell.com/show_bug.cgi?id=623899#c8
--- Comment #8 from Ján Kupec
Jan, how about extending zypper so that it prints out a hint when a debuginfo capability is requested while no debuginfo repository is present and enabled?
Not a bad idea, i'll add it to my TODO list. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623899
https://bugzilla.novell.com/show_bug.cgi?id=623899#c11
Rob Somers
(In reply to comment #1)
Jan, how about extending zypper so that it prints out a hint when a debuginfo capability is requested while no debuginfo repository is present and enabled?
Not a bad idea, i'll add it to my TODO list.
I would second that suggestion. In my case (which was quite similar to the OP), I only had one debug repo enabled (http://download.opensuse.org/debug/distribution/11.3/repo/oss/), whereas I needed http://download.opensuse.org/debug/update/11.3/ Before I knew this, I ended up downloading _all_ of the debuginfo (Talk about trying to swat a fly with a sledgehammer! - It was over 7Gb of data) to no avail. It was not until I found this bug that I was able to get a proper solution. Once I enabled the other repo, and updated my system (another 3Gb+), the problem went away. Anyway, I would like to also be clear that this is not a complaint, but an encouragement to add this functionality as soon as you can make the time. Thanks for your consideration. Rob -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623899
https://bugzilla.novell.com/show_bug.cgi?id=623899#c12
Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com