Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161055 - app-portage/portage-utils quse -D crashes
Summary: app-portage/portage-utils quse -D crashes
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
: 161191 162900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-09 02:29 UTC by Kevin Bryan
Modified: 2007-01-20 10:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quse-bug-161055.patch (quse-bug-161055.patch,313 bytes, patch)
2007-01-09 07:41 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Bryan 2007-01-09 02:29:56 UTC
"quse -D anything" crashes with a segfault when one of the files is missing/can't be opened.  The reason seems to be that it's doing an fclose on an invalid handle.  (quse.c:159 in 0.1.22)

Reproducible: Always

Steps to Reproduce:
1. quse -D ifp


Actual Results:  
 local:ifp:media-sound/amarok: Enable support for iRiver devices access through libifp
Segmentation fault (core dumped)


Expected Results:  
 local:ifp:media-sound/amarok: Enable support for iRiver devices access through libifp

When built with debugging information, it says it can't open lang.desc.  Apparently this has been recently removed from /usr/portage/profiles.
Comment 1 TGL 2007-01-09 07:41:20 UTC
Created attachment 106159 [details, diff]
quse-bug-161055.patch

> The reason seems to be that it's doing an fclose on
> an invalid handle.  (quse.c:159 in 0.1.22)

Right. This patch fixes that.
Comment 2 SpanKY gentoo-dev 2007-01-09 13:15:49 UTC
thanks, fixed in cvs :)
Comment 3 SpanKY gentoo-dev 2007-01-09 20:20:36 UTC
*** Bug 161191 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2007-01-20 10:24:12 UTC
*** Bug 162900 has been marked as a duplicate of this bug. ***