[Bug 328546] New: libzypp crashes on non-translated pattern file
https://bugzilla.novell.com/show_bug.cgi?id=328546 Summary: libzypp crashes on non-translated pattern file Product: openSUSE 10.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: visnov@novell.com QAContact: kkaempf@novell.com Found By: --- Created an attachment (id=174868) --> (https://bugzilla.novell.com/attachment.cgi?id=174868) Pattern introducing the crash I've tried to generate add-on product via add-on product creator. The generated product cannot be installed via YaST, because libzypp crash. -- 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=328546#c1
--- Comment #1 from Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=328546#c2
--- Comment #2 from Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=328546
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=328546
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=328546#c3
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=328546
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=328546#c5
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c6
--- Comment #6 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=328546#c7
--- Comment #7 from Jiří Suchomel
why would any pattern writter change the order?
The order was not changed, it was created for new pattern. You can see that the order is aplhabetical. I think it is really strange becasuse add-on-creator uses this order for a while and nobody complained about broken patterns. -- 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=328546#c8
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c9
--- Comment #9 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=328546#c10
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c11
--- Comment #11 from Michael Andres
For example SLEPOS team uses Add-On created by yast2-add-on-creator at: http://sleposlab.suse.cz/repository/ and they say it is working.
In fact by chance, not by design. As http://en.opensuse.org/Libzypp/Metadata/YaST/packages says, =Ver: is a header keyword denoting the syntax version used in that file. If not specified at the beginning it's ignored, and you get what the parser guesses. Each data entry is introduced by the NVRA (NameVersionReleaseArch), and ends at the next NVRA (or end of file). This is how susetags works, you can 'cat *pat' and parse it. Fixing the segv. is handling the situation that a tag occurs outside a data entry, but the '+Des:/-Des:' is not associated with the pattern entry. If someone as well requests to legalize the broken pattern files produced by add-on-creator, we must reduce the pattern parser to susetags-light. -- 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=328546#c12
--- Comment #12 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c13
--- Comment #13 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=328546#c14
--- Comment #14 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=328546#c15
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=328546#c16
--- Comment #16 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c17
--- Comment #17 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c18
--- Comment #18 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=328546#c19
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=328546
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c20
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=328546#c21
Harald Mueller-Ney
https://bugzilla.novell.com/show_bug.cgi?id=328546#c22
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=328546
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=328546#c23
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=328546#c24
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com