[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2020-11-10 Thread Daniel van Vugt
** Changed in: xorg-server (Ubuntu) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1675481 Title: Xmir crashes when using the '-fd' option To

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-04-03 Thread Daniel van Vugt
https://git.launchpad.net/~xmir-team/xorg- server/+git/xmir/commit/?id=e8435ece23017fb4153487f6157eb11cac985697 ** Changed in: xorg-server (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-27 Thread Daniel van Vugt
... and if moving the block is insufficient and the timer is your only option, I pre-approve of that landing too. Makes sense either of those should fix it. ** Changed in: xorg-server (Ubuntu) Assignee: (unassigned) => Christopher Townsend (townsend) ** Changed in: xorg-server (Ubuntu)

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-26 Thread Daniel van Vugt
Your diff appears to be what I was suggesting in comment #2. Please try just moving that whole block to near the end of the function (without using timers). If that works then please do commit. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-24 Thread Christopher Townsend
The following diff seems to fix the crash: http://pastebin.ubuntu.com/24242549/ I haven't committed it yet since I'm really not sure if this method is valid or if there is a bug. After a client connects to the X socket and Xmir is started with the fd returned from accept(), the client just

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-24 Thread Daniel van Vugt
I was wrong. What I was reproducing is a different crash with large FDs not specific to Xmir. I'm really not sure how to reproduce your crash or if your use case is valid. Only one theory: the logic for the -fd client connection is executed early before Xmir has started properly. We can try

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-23 Thread Daniel van Vugt
I'm not familiar with the -fd option myself, but confirm it can be made to crash: Xmir :1 -fd ** Changed in: xorg-server (Ubuntu) Status: New => Confirmed ** Changed in: xorg-server (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-23 Thread Christopher Townsend
** Description changed: I'm trying to use the '-fd' option in Xmir and get a crash when Xmir starts up. This is what I'm doing: I'm using socket()/bind()/listen()/accept() on a AF_UNIX socket at /tmp/.X11-unix/X0 (or whatever available display number). DISPLAY is then set based

[Ubuntu-x-swat] [Bug 1675481] Re: Xmir crashes when using the '-fd' option

2017-03-23 Thread Christopher Townsend
** Description changed: I'm trying to use the '-fd' option in Xmir and get a crash when Xmir starts up. This is what I'm doing: I'm using socket()/bind()/listen()/accept() on a AF_UNIX socket at /tmp/.X11-unix/X0 (or whatever available display number). DISPLAY is then set based