Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8561 closed defect (fixed)

Segfault when starting to play .nuv recording

Reported by: gigem Owned by: JYA
Priority: minor Milestone: 0.24
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I get a segfault almost every time when starting to play .nuv recording recorded from v4l framegrabber card. I suspect either the new audio code is at fault or it is exposing a bug in NVR. The segault appears to be occurring in toFloat16. See the backtrace for details.

Attachments (3)

gdb.log (56.8 KB) - added by gigem 9 years ago.
mf.log (19.0 KB) - added by gigem 9 years ago.
gdb2.log (52.7 KB) - added by gigem 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by gigem

Attachment: gdb.log added

Changed 9 years ago by gigem

Attachment: mf.log added

comment:1 Changed 9 years ago by JYA

Resolution: fixed
Status: newclosed

(In [25103]) buffer needs to be 16 bytes aligned. Fixes #8561

Changed 9 years ago by gigem

Attachment: gdb2.log added

comment:2 Changed 9 years ago by gigem

Resolution: fixed
Status: closednew

I'm still seeing what appears to be the same segfault in toFloat16 as shown in gdb2.log.

comment:3 Changed 9 years ago by JYA

Are you sure you upgraded ?

0x418b0de9 in toFloat16 (out=0x50720150, in=0x50ea1008, len=512) at audiooutpututil.cpp:217

in is 0x50ea1008, that's not a 16 bytes aligned address. Which just can't happened now following r25103

comment:4 Changed 9 years ago by JYA

Resolution: fixed
Status: newclosed

(In [25107]) Another buffer that needs to be 16 bytes aligned. Fixes #8561

comment:5 in reply to:  4 Changed 9 years ago by anonymous

Replying to jyavenard:

(In [25107]) Another buffer that needs to be 16 bytes aligned. Fixes #8561

That appears to have fixed it. Thanks.

comment:6 Changed 9 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.