[Bug 614646] New: zypper useColor = autodetect crash
http://bugzilla.novell.com/show_bug.cgi?id=614646 http://bugzilla.novell.com/show_bug.cgi?id=614646#c0 Summary: zypper useColor = autodetect crash Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lnussel@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9 when I enable useColor in zypper.conf ('autodetect' or 'always') zypper aborts: # zypper ref terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Aborted # echo $TERM linux Happens with any command. # rpm -q zypper libzypp zypper-1.4.4-1.1.i586 libzypp-7.6.0-1.2.i586 Reproducible: Always -- 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=614646
http://bugzilla.novell.com/show_bug.cgi?id=614646#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=614646
http://bugzilla.novell.com/show_bug.cgi?id=614646#c1
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=614646
http://bugzilla.novell.com/show_bug.cgi?id=614646#c2
--- Comment #2 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=614646
http://bugzilla.novell.com/show_bug.cgi?id=614646#c3
--- Comment #3 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=614646
http://bugzilla.novell.com/show_bug.cgi?id=614646#c4
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c5
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c6
Dariusz Nawrocki
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c7
--- Comment #7 from Dariusz Nawrocki
I have exactly the same problem in:
zypper-1.4.8-0.2.4.i586 libzypp-7.9.6-0.3.1.i586
I mean C++ Exception after duplicate comments. (I don't know why my comment did not appear as a reply to https://bugzilla.novell.com/show_bug.cgi?id=614646#c2) -- 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=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c9
Dominik Heidler
Looks like a bug in augeas. aug_get() should return different value when there are multiple matches for given path. This is not a bug in augeas but in zypper's augeas wrapper class.
int aug_get(augeas *aug, const char *path, const char **value) aug_get returns an int, but we're saving it in a bool. So when augeas returns -1 (= found multiple nodes) this gets true in the bool. -- 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=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c10
Dominik Heidler
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c11
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c12
--- Comment #12 from Dariusz Nawrocki
fixed in zypper 1.6.10 (git commit 8b6bf4340bed9adff4ff304aa4e6134aa69700cb)
Yeah, I confirm bug fixed. Zypper works great. Thanks a lot. Tested on openSUSE 12.1 (i586): libzypp-10.4.5-1.17.1.i586 zypper-1.6.26-5.22.1.i586 zypper-log-1.6.25-5.19.1.noarch -- 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=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c13
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=614646
https://bugzilla.novell.com/show_bug.cgi?id=614646#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com