Bug 207164

Summary: kio_man terminates unexpectly when opening missing man category
Product: [Frameworks and Libraries] kio Reporter: Gustaw Smolarczyk <wielkiegie>
Component: manAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gustaw Smolarczyk 2009-09-12 11:54:31 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Ubuntu Packages

When I try to process something like 'man:/(9)' in konqueror it says, that slave terminated unexpectly.

'man:/(X)' construction gives list of manpages in category X. When I try to get list of non-existing category, it crashes. However it should give an error message, that user tried to access wrong category.

The example in the first line is from khelpcenter. There is a hard-coded list of manpages categories, from 1 to 9 and (n), but on my kubuntu system there are only 1 to 8 categories.
Comment 1 Martin Koller 2011-01-03 19:48:48 UTC
SVN commit 1211341 by mkoller:

BUG: 207164  do not crash when no single man page for a section index is found


 M  +11 -0     kio_man.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1211341
Comment 2 Martin Koller 2011-01-03 19:49:48 UTC
SVN commit 1211343 by mkoller:

Backport r1211341 by mkoller from trunk to the 4.6 branch:

CCBUG: 207164  do not crash when no single man page for a section index is found



 M  +11 -0     kio_man.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1211343