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

 
 

bug #16816: graveman hangs on --scan_drives

Submitted by:  Li-Lun Wang <llwang>
Submitted on:  Sun 11 Jun 2006 12:28:57 PM UTC  
 
Severity: 3 - NormalStatus: None
Assigned to: NoneOriginator Name: llwang
Open/Closed: OpenRelease: 0.3.12
Fixed Release: Nonecdrecord version: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sun 11 Jun 2006 12:28:58 PM UTCllwangAttached File-=>Added patch-src_cdrecord.c, #10162

Back to the top


Powered by Savane 3.1-cleanup1