Opened 16 months ago

Closed 8 months ago

#1394 closed defect (fixed)

Playing a zero-length line causes an infinite loop in the alsa player

Reported by: cantabile Owned by: nielsm
Priority: normal Milestone: 3.0.0
Component: Audio Version: 2.1.9
Severity: minor Keywords:
Cc: Platform: Linux
Sub Component: APlayer - ALSA

Description

To test, open any audio file, create a line with the same time as the start and end, then play it in the audio display.

aegisub revision: r6254 (2.1.9 branch) and 6282 (trunk). They're both affected.

Attachments (1)

alsa-infinite-loop-backtrace.txt (5.3 KB) - added by cantabile 16 months ago.
backtrace - trunk

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 months ago by nielsm

  • Milestone set to 2.1.10
  • Owner set to nielsm
  • Status changed from new to accepted

Changed 16 months ago by cantabile

backtrace - trunk

comment:2 follow-up: Changed 16 months ago by plorkyeran

(In [c8099de]) Fix infinite loop in ALSA player when playing zero-length audio

Updates #1394.

comment:3 in reply to: ↑ 2 Changed 16 months ago by cantabile

Replying to plorkyeran:

(In [6339]) Fix infinite loop in ALSA player when playing zero-length audio

Updates #1394.

It works!

comment:4 Changed 8 months ago by Plorkyeran

  • Milestone changed from 2.1.10 to 3.0.0
  • Resolution set to fixed
  • Status changed from accepted to closed

Was fixed for 3.0.0 and 2.1.10 isn't happening.

Note: See TracTickets for help on using tickets.