[Bug 586979] New: zypper ref causes SIGSEGV
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c0
Summary: zypper ref causes SIGSEGV
Classification: openSUSE
Product: openSUSE 11.3
Version: Factory
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: libzypp
AssignedTo: zypp-maintainers@forge.provo.novell.com
ReportedBy: jslaby@novell.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
$ gdb --args zypper ref
..
Program received signal SIGSEGV, Segmentation fault.
SendReport (this=<value optimized out>) at
/usr/src/debug/libzypp-6.30.4/zypp/Callback.h:214
214 { Distributor::instance()->reportbegin(); }
Looks like _report in distributor is NULL:
(gdb) info regs
rdi 0x0 0
..
r13 0x343d2b84b0 224364561584
..
rip 0x343cee341b 0x343cee341b
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c1
--- Comment #1 from Jiri Slaby
rdi (i.e. _report) is 47 times 0xaa3320 in SendReport, then it becomes NULL. Dunno why.
Ah, beacuse r13 also changes. This means Distributor::instance changed? -- 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=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c2
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c3
--- Comment #3 from Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c4
Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c5
--- Comment #5 from Michael Andres
What to do with code in comment #2? I just pasted it to illustrate what the code should do.
-- 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=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c6
--- Comment #6 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c7
--- Comment #7 from Jiri Slaby
If I should help I'd need a reproducer (preferably a machine where the bug happens), compile options and compiler version and the like.
It's a package from factory, I think a version compiled with gcc45 20100302. (In reply to comment #6)
You can also try re-building with a more recent gcc snapshot from devel:gcc.
Compiling now with 20100311. Will let you know. -- 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=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c8
Jiri Slaby
Compiling now with 20100311. Will let you know.
Yup, seems to work now. What I did is mkdir /tmp/repo cd /tmp/repo osc getbinaries devel:gcc gcc45 openSUSE_Factory x86_64 cd /tmp osc co zypp:Head cd zypp:Head/libsatsolver abuild ... -D head-x86_64 --prefer-rpms=/tmp/repo/ libsatsolver.spec cp .../*rpm /tmp/repo/ cd ../libzypp abuild ... -D head-x86_64 --prefer-rpms=/tmp/repo/ libzypp.spec cp .../*rpm /tmp/repo/ cd ../zypper abuild ... -D head-x86_64 --prefer-rpms=/tmp/repo/ zypper.spec cp .../*rpm /tmp/repo/ rpm -Fvh /tmp/repo/*rpm As Richard already pushed 20100311 into factory and it's building now, closing as fixed. -- 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=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c9
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c10
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c11
--- Comment #11 from Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c12
--- Comment #12 from Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c13
--- Comment #13 from Jiri Slaby
Our prelink version is very old, it got some development meanwhile:
Though no change with 20100106 and repeated steps in comment #11. -- 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=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c14
--- Comment #14 from Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c15
Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c16
--- Comment #16 from Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c17
Michael Matz
http://bugzilla.novell.com/show_bug.cgi?id=586979
http://bugzilla.novell.com/show_bug.cgi?id=586979#c18
Petr Baudis
participants (1)
-
bugzilla_noreply@novell.com