Bug 15186

Summary: segfault with empty catalogue
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: xorg-x11-xfsAssignee: Valery Inozemtsev <shrek>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
xfs-debug-config2 none

Description Ivan Zakharyaschev 2008-04-01 00:00:18 MSD
xorg-x11-xfs-1.0.6-alt1

Of course, empty catalogue is not correct, but a segfault is also not correct,
it should exit with an error code if there is an error.

(The configfile xfs-debug-config2 with empty catalogue will be attached. I wrote
it while localizing the bug https://bugzilla.altlinux.org/show_bug.cgi?id=14896 .)
Steps to Reproduce:
# xfs -user xfs -port -1 -config ./xfs-debug-config2
xfs error: CONFIG: missing value for parameter "catalogue"
Segmentation fault
# 


Expected Results:  
It exits with an error code if there is an error.
Comment 1 Ivan Zakharyaschev 2008-04-01 00:01:20 MSD
Created attachment 2539 [details]
xfs-debug-config2

with empty catalogue.
Comment 2 Valery Inozemtsev 2008-04-04 12:36:35 MSD
а какое поведение от него ожидалось?
Comment 3 Ivan Zakharyaschev 2008-05-02 03:11:15 MSD
(In reply to comment #2)
> а какое поведение от него ожидалось?

Чтобы не было segfault и core, а только сообщение об ошибки и выход.
Comment 4 Valery Inozemtsev 2008-05-02 16:21:32 MSD
присылайте патчи
Comment 5 Valery Inozemtsev 2008-05-17 18:26:35 MSD
1.0.6-alt2