Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Takashi Iwai
On Mon, 15 Feb 2016 16:15:49 +0100, Dmitry Vyukov wrote: > > > Hm, this looks like the issue triggered by concurrent writes to the > > same client. Does the patch fix the problem? > > Yes, it fixes the leak for me. > > Tested-by: Dmitry Vyukov Thanks for the quick test.

Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Takashi Iwai
On Mon, 15 Feb 2016 16:15:49 +0100, Dmitry Vyukov wrote: > > > Hm, this looks like the issue triggered by concurrent writes to the > > same client. Does the patch fix the problem? > > Yes, it fixes the leak for me. > > Tested-by: Dmitry Vyukov Thanks for the quick test. FWIW, below is the

Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Dmitry Vyukov
On Mon, Feb 15, 2016 at 11:21 AM, Takashi Iwai wrote: > On Mon, 15 Feb 2016 10:35:22 +0100, > Dmitry Vyukov wrote: >> >> Hello, >> >> The following program causes memory leak of a 24K object allocated in >> snd_seq_pool_init: >> >> // autogenerated by syzkaller

Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Dmitry Vyukov
On Mon, Feb 15, 2016 at 11:21 AM, Takashi Iwai wrote: > On Mon, 15 Feb 2016 10:35:22 +0100, > Dmitry Vyukov wrote: >> >> Hello, >> >> The following program causes memory leak of a 24K object allocated in >> snd_seq_pool_init: >> >> // autogenerated by syzkaller

Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Takashi Iwai
On Mon, 15 Feb 2016 10:35:22 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program causes memory leak of a 24K object allocated in > snd_seq_pool_init: > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #include > #include > #include > #include > #include >

Re: sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Takashi Iwai
On Mon, 15 Feb 2016 10:35:22 +0100, Dmitry Vyukov wrote: > > Hello, > > The following program causes memory leak of a 24K object allocated in > snd_seq_pool_init: > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #include > #include > #include > #include > #include >

sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Dmitry Vyukov
Hello, The following program causes memory leak of a 24K object allocated in snd_seq_pool_init: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include long r[148]; void* thr(void* arg) { switch ((long)arg) { case 0: r[0] =

sound: memory leak in snd_seq_pool_init

2016-02-15 Thread Dmitry Vyukov
Hello, The following program causes memory leak of a 24K object allocated in snd_seq_pool_init: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include long r[148]; void* thr(void* arg) { switch ((long)arg) { case 0: r[0] =