[opensuse] rpm segfaulting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, My rpm command segfaults when installing Mesa (and only that rpm that I know): nimrodel:~ # rpm --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm Preparing packages for installation... Segmentation fault nimrodel:~ # rpm --verbose --checksig Mesa-6.4.2-19.12.i586.rpm Mesa-6.4.2-19.12.i586.rpm: Header SHA1 digest: OK (d1eadd125e0e7ee61a45bc7f57ca5039819ddece) MD5 digest: OK (fb27c05e81c827c8919022389d900b3a) V3 DSA signature: OK, key ID 9c800aca It doesn't say why it segfaults, so I thought I would install rpm-debug, thinking that it would produce a coredump, perhaps. But Yast complains (hand copied): This would invalidate atom:rpm-... | atom:rpm-4.4.2-43.4.i586 has unfulfilled requirements - Conflict Resolution O delete rpm delete atom: rpm-4.4.2-43.4.i586 Obviously, I can't delete that package without hossing my system. What do I do? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFcV8rtTMYHG2NR9URAtSxAKCMr/lfFIr04HiGmXWhEIysBM9pWwCgkbTI 2VV9MD2sdkMbO+DqbqXU4hk= =K2mn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 December 2006 06:10, Carlos E. R. wrote: <snip>
nimrodel:~ # rpm --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm
Hi Carlos, Does it give you more information with the --test flag? (Maybe separating the 'committed/writing' bits from the inspect/analysis bits will bypass the segfault?) Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-12-02 at 07:49 -0500, Carl Hartung wrote:
Does it give you more information with the --test flag? (Maybe separating the 'committed/writing' bits from the inspect/analysis bits will bypass the segfault?)
No. nimrodel:~ # rpm --test --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm Mesa-devel-6.4.2-19.12.i586.rpm Preparing packages for installation... Segmentation fault nimrodel:~ # - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFcaZjtTMYHG2NR9URAhC/AKCC5kkpEzk1VUf0gtCGwxhMFdPUuACeKiXO fwpifvQMVRSQd9LkCzezrrA= =2a0I -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 December 2006 12:10, Carlos E. R. wrote:
Hi,
My rpm command segfaults when installing Mesa (and only that rpm that I know):
nimrodel:~ # rpm --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm Preparing packages for installation... Segmentation fault
When rpm segfaults, the first thing to try is rpm --rebuilddb
It doesn't say why it segfaults, so I thought I would install rpm-debug, thinking that it would produce a coredump, perhaps. But Yast complains (hand copied):
You can get a coredump without the debug rpm, by setting "ulimit -c unlimited" before running the crashing command. You need the -debuginfo rpm to get some sensible, readable information from that coredump
This would invalidate atom:rpm-...
| atom:rpm-4.4.2-43.4.i586 has unfulfilled requirements
- Conflict Resolution O delete rpm delete atom: rpm-4.4.2-43.4.i586
Obviously, I can't delete that package without hossing my system. What do I do?
Well, not so obvious. the -debug rpm has the same functionality, except with debugging enabled. So you wouldn't be just deleting it, you would be replacing it But you don't need to -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-12-02 at 14:00 +0100, Anders Johansson wrote:
When rpm segfaults, the first thing to try is rpm --rebuilddb
nimrodel:~ # rpm --rebuilddb Segmentation fault nimrodel:~ # Seems recursive advice :-P
It doesn't say why it segfaults, so I thought I would install rpm-debug, thinking that it would produce a coredump, perhaps. But Yast complains (hand copied):
You can get a coredump without the debug rpm, by setting "ulimit -c unlimited" before running the crashing command.
nimrodel:~ # rpm --test --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm Preparing packages for installation... Segmentation fault (core dumped) nimrodel:~ # l *core* /bin/ls: *core*: No such file or directory Ah. nimrodel:~ # l /*core* -rw------- 1 root root 14397440 Dec 2 17:34 /core Now what do I do from that, open a bugzilla and atach it?
You need the -debuginfo rpm to get some sensible, readable information from that coredump
This would invalidate atom:rpm-...
| atom:rpm-4.4.2-43.4.i586 has unfulfilled requirements
- Conflict Resolution O delete rpm delete atom: rpm-4.4.2-43.4.i586
Obviously, I can't delete that package without hossing my system. What do I do?
Well, not so obvious. the -debug rpm has the same functionality, except with debugging enabled. So you wouldn't be just deleting it, you would be replacing it
Then the Yast message is not clear. Typical programmer's speak, only understandable by those in the know. What the heck is an atom and what do I care? Simply tell me that I have to choose rpm or rpm-devel because they are mutually excluyent. :-/
But you don't need to
Do yo think I should install it before sending the coredump to bugzilla? I'm no developer, I can't do anything with it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFca0YtTMYHG2NR9URAlSaAJ9fQF2KZ+95MkVMyS88Qh93meVB9wCeKQ5n QKip6BdRKRZz/onngg+upno= =Gn5P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Saturday 2006-12-02 at 14:00 +0100, Anders Johansson wrote:
When rpm segfaults, the first thing to try is rpm --rebuilddb
nimrodel:~ # rpm --rebuilddb Segmentation fault nimrodel:~ #
Seems recursive advice :-P
Not nice :) Try this: - boot single user (init 1) - make sure you have stopped everything related to zmd. Eventually rename /usr/lib/zmd/zmd.exe (I guess, I don't have it installed, unfortunately it's still way too horribly broken to use it). - rm /var/lib/rpm/_db* && rpm --rebuilddb If it still crashes, try running it using strace, e.g.: strace -f -ff -F -e trace=open rpm --rebuilddb In the end, try to do what Anders said: get a core file, install debuginfo rpm package and send the backtrace to rpm maintainers. -- Adi Pircalabu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2006-12-02 at 04:16 +0200, Adi Pircalabu wrote:
Not nice :) Try this: - boot single user (init 1) - make sure you have stopped everything related to zmd. Eventually rename /usr/lib/zmd/zmd.exe (I guess, I don't have it installed, unfortunately it's still way too horribly broken to use it). - rm /var/lib/rpm/_db* && rpm --rebuilddb If it still crashes, try running it using strace, e.g.: strace -f -ff -F -e trace=open rpm --rebuilddb In the end, try to do what Anders said: get a core file, install debuginfo rpm package and send the backtrace to rpm maintainers.
I have a coredump and a valgrind report, all of them sent to suse maintainers (Bugzillla: 225630 & 225631). I intend to restore the package database from backup and rerun the - --rebuilddb, but I'll wait for comments from Novell before destroying the faulty status quo of the database - but I wont wait for ever, of course. I don't think zmd has to do with rpm segfaulting - that's a no-no for any program - but I may try another day. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdD9EtTMYHG2NR9URAlegAJwLso2msOTPVVu63Yo8/HMDINuAOgCgkHvy fCBm8pHLsH9G9yrn+rfCp0Q= =sFas -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 December 2006 17:43, Carlos E. R. wrote:
nimrodel:~ # l /*core* -rw------- 1 root root 14397440 Dec 2 17:34 /core
Now what do I do from that, open a bugzilla and atach it?
Yes, that would be best
Do yo think I should install it before sending the coredump to bugzilla? I'm no developer, I can't do anything with it.
Then you don't need to bother with it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, Dec 02, 2006 at 12:10:33PM +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
My rpm command segfaults when installing Mesa (and only that rpm that I know):
nimrodel:~ # rpm --verbose --upgrade Mesa-6.4.2-19.12.i586.rpm Preparing packages for installation... Segmentation fault
Does 'rpm --rebuilddb' help? is there more output if you use '-vv' instead of the single '--verbose'? Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2006-12-04 at 13:12 +0100, Michael Schroeder wrote:
Does 'rpm --rebuilddb' help? is there more output if you use '-vv' instead of the single '--verbose'?
No, it crashes, as already said. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdD3UtTMYHG2NR9URAgNkAKCHPzdNCef8ObBB/t3QfzZTjz8pcQCfcPHf setOw3MBi9xlZHhifwjk1ww= =0ywJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Adi Pircalabu
-
Anders Johansson
-
Carl Hartung
-
Carlos E. R.
-
Michael Schroeder