Re: [LAD] c/jack question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Egor Sanin <egor.sanin@...>
Cc: <linux-audio-dev@...>
Date: Sunday, April 8, 2012 - 5:43 pm

On 04/08/2012 12:01 PM, Egor Sanin wrote:

Because it's valid to do this according to the docs:

If pos is NULL it just ignores it. It's not an error at all.

OTOH, if pos is uninitialized, then jack will try to write the data to
whatever random address in in pos... and that will usually segfault.

> If I remove the line

This suggests that pos is indeed NULL, and you tried to dereference a
null pointer... which will always segfault.

Linux-audio-dev mailing list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] c/jack question, Egor Sanin, (Sun Apr 8, 4:36 pm)
Re: [LAD] c/jack question, Mark McCurry, (Sun Apr 8, 4:49 pm)
Re: [LAD] c/jack question, Egor Sanin, (Sun Apr 8, 5:02 pm)
Re: [LAD] c/jack question, Gabriel M. Beddingfield, (Sun Apr 8, 5:43 pm)
Re: [LAD] c/jack question, Egor Sanin, (Sun Apr 8, 10:49 pm)
Re: [LAD] c/jack question, Dennis Schulmeister, (Sun Apr 8, 5:21 pm)