Mailinglist Archive: opensuse-bugs (9397 mails)

< Previous Next >
[Bug 366548] satsolver-tools's rpmdb2solv runs for ages
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 3 Mar 2008 10:40:41 -0700 (MST)
  • Message-id: <20080303174041.96A6424538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=366548

User burnus@xxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=366548#c7





--- Comment #7 from Tobias Burnus <burnus@xxxxxx> 2008-03-03 10:40:41 MST ---
I really need debug symbols for this, where's that debug package?
Good question, at least not here:
http://download.opensuse.org/pub/opensuse/distribution/SL-OSS-factory-debug/inst-source-debug/suse/x86_64/

Hmm, I think I found something by code inspection.
Can you make a satsolver-tools RPM (w/ debug symbols) or a rpmdb2solv
available? (I'm on x86-64).

.. OK, I found one packages which has debug symbols. Judging from the
changelog it is the same version. Running it and pressing then Ctrl-C gives the
following backtrace. The package was found at:
http://download.opensuse.org/repositories/zypp:/svn/openSUSE_Factory/x86_64/
Note: I only extracted rpmdb2solv and run it as user.

(gdb) bt
#0 0x000000000040c05d in stringpool_strn2id (ss=0xda2010, str=0x7fff7d616dd6
"", len=<value optimized out>, create=1)
at /usr/src/packages/BUILD/satsolver-0.0.20/src/hash.h:49
#1 0x000000000040bcd6 in str2id (pool=0xda2010, str=0xd57 <Address 0xd57 out
of bounds>, create=2103537110)
at /usr/src/packages/BUILD/satsolver-0.0.20/src/poolid.c:30
#2 0x0000000000414819 in repo_fix_legacy (repo=0xdbb220, provides=<value
optimized out>, supplements=131)
at /usr/src/packages/BUILD/satsolver-0.0.20/src/repo.c:399
#3 0x0000000000404875 in rpm2solv (pool=0xda2010, repo=0xdbb220,
repodata=0xdbb2c0, s=0xdb7310, rpmhead=0x2b322d503010)
at /usr/src/packages/BUILD/satsolver-0.0.20/tools/repo_rpmdb.c:630
#4 0x00000000004062de in repo_add_rpmdb (repo=0xd57, ref=0x0, rootdir=0x41b099
"/")
at /usr/src/packages/BUILD/satsolver-0.0.20/tools/repo_rpmdb.c:813
#5 0x0000000000402e64 in main (argc=<value optimized out>,
argv=0x7fff7d618468)
at /usr/src/packages/BUILD/satsolver-0.0.20/tools/rpmdb2solv.c:59


--
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.

< Previous Next >
References