Opened 8 years ago

Closed 8 years ago

#210 closed defect (fixed)

rpld tries to write with with len=-1

Reported by: ph3-der-loewe Owned by: ph3-der-loewe
Priority: major Milestone:
Component: RoarAudio PlayList Daemon Version: 0.1rc7
Keywords: codec-helper Cc:
Architecture: Compiler:
Difficulty: Kernel:
Operating System: Parent Tickets: #198
Patch attached: no Protocol: HTTP
Sound driver: virtual Topic: Bug Fix

Description

Data Source: HTTP
Codec Helper in use: Yes

After some time it starts to work (when more input data is ready?)
rpld needs a lot CPU time while this happens.

select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
read(6, "\25PVVq\345\0\301\232P\0\222\245JT\305\211\7\2212@\223"..., 1024) = 1024
write(11, "\25PVVq\345\0\301\232P\0\222\245JT\305\211\7\2212@\223"..., 1024) = 1024
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
read(6, 0xbfe04b64, 1024)               = -1 EAGAIN (Resource temporarily unavailable)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
select(12, [7], [11], NULL, {3600, 0})  = 1 (out [11], left {3600, 0})
write(11, "\25PVVq\345", 4294967295)    = -1 EFAULT (Bad address)
[...]

Subtickets

Change History (2)

comment:1 Changed 8 years ago by ph3-der-loewe

  • Owner set to ph3-der-loewe
  • Parent Tickets set to 198
  • Status changed from new to assigned

The corresponding code was completely rewritten for #198. Hopefully this bug is gone, too.

comment:2 Changed 8 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from current to 0.1rc7
Note: See TracTickets for help on using tickets.