Bug 15186 - segfault with empty catalogue
Summary: segfault with empty catalogue
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xorg-x11-xfs (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 00:00 MSD by Ivan Zakharyaschev
Modified: 2008-05-18 15:15 MSD (History)
0 users

See Also:


Attachments
xfs-debug-config2 (712 bytes, text/plain)
2008-04-01 00:01 MSD, Ivan Zakharyaschev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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