buggraveman - Bugs: bug #16816, graveman hangs on --scan_drives

 
 

bug #16816: graveman hangs on --scan_drives

Submitter:  Li-Lun Wang <llwang>
Submitted:  Sun 11 Jun 2006 12:28:57 PM UTC
   
 
Severity:  3 - Normal Status:  None
Assigned to:  None Originator Name:  llwang
Open/Closed:  Open Release:  * 0.3.12
Fixed Release:  None cdrecord version: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 11 Jun 2006 12:28:57 PM UTC, original submission:  

graveman hangs when using --scan_drives option.
Tracing the source shows that I was encountering a condition where in scan_callback() Acond is G_IO_HUP|G_IO_IN, which != G_IO_HUP. g_io_channel_read_line returns G_IO_STATUS_EOF, but Lbuffer is still NULL, causing scan_callback() to return TRUE and continues looping.
Checking Lstatus for G_IO_STATUS_EOF solves this problem.

Li-Lun Wang <llwang>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10162:  patch-src_cdrecord.c added by llwang (432B - application/octet-stream - patch to check Lstatus for G_IO_STATUS_EOF in scan_callback())

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-11 llwang Attached File- Added patch-src_cdrecord.c, #10162

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code