Re: [PATCH] lib/drmtest: don't use asprintf on signal paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 04, 2014 at 09:15:14PM +0200, Imre Deak wrote:
> It's not signal safe and I got kms_flip in hung state with the backtrace
> below, while the parent process waiting for the signal helper to exit.
> It was quite easy to reproduce the bug by running
> 
> kms_flip --run-subtest=flip-vs-dpms-off-vs-modeset

snprintf is not signalsafe either (man 7 signal). X goes as far as
implementing its own limited pnprintf() instead.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux