[Bug 48199] Re: multimon crashes Xorg when window is closed
** Changed in: multimon (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/48199 Title: multimon crashes Xorg when window is closed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multimon/+bug/48199/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 48199] Re: multimon crashes Xorg when window is closed
Yes, the author applied my patch to his upstream version right after my complain. On 2010-02-13 01:35:36 -, Kamal Mostafa ka...@whence.com wrote in 20100213013537.15639.43037.mal...@potassium.ubuntu.com: This bug was fixed in the package multimon 1.0-5, which is scheduled to be released in Ubuntu Lucid. I have also made available a build of multimon 1.0-5 for Ubuntu Karmic in my PPA: https://launchpad.net/~kamalmostafa/+archive/multimon-1.0-5 Thanks to everyone involved with the diagnosis and resolution of this issue. - multimon (1.0-5) unstable; urgency=low * Include newer gen.c and xdisplay.c versions from Thomas Sailer dated 2009-03-24. (Closes: #247857) * Include Joerg Woelke's patch to run sox correctly. (Closes: #536228) * depend upon sox. (Closes: #555391) * The man pages added in 1.0-4 must help, no recent complaints. (Closes: #205003) -- Ubuntu Archive Auto-Sync arch...@ubuntu.com Sat, 05 Dec 2009 21:32:06 + ** Changed in: multimon (Ubuntu) Status: Confirmed = Fix Released -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a direct subscriber of the bug. -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg when window is closed
** Bug watch added: Debian Bug tracker #247857 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247857 ** Also affects: multimon (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247857 Importance: Unknown Status: Unknown -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg when window is closed
This bug was fixed in the package multimon 1.0-5, which is scheduled to be released in Ubuntu Lucid. I have also made available a build of multimon 1.0-5 for Ubuntu Karmic in my PPA: https://launchpad.net/~kamalmostafa/+archive/multimon-1.0-5 Thanks to everyone involved with the diagnosis and resolution of this issue. - multimon (1.0-5) unstable; urgency=low * Include newer gen.c and xdisplay.c versions from Thomas Sailer dated 2009-03-24. (Closes: #247857) * Include Joerg Woelke's patch to run sox correctly. (Closes: #536228) * depend upon sox. (Closes: #555391) * The man pages added in 1.0-4 must help, no recent complaints. (Closes: #205003) -- Ubuntu Archive Auto-Sync arch...@ubuntu.com Sat, 05 Dec 2009 21:32:06 + ** Changed in: multimon (Ubuntu) Status: Confirmed = Fix Released -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg when window is closed
I've traced the problem, and found out that in xdisplay.c the code leads to a kil(-1, SIGTERM) [in fact 2^32-1). This kills all processes down to init (or at least all processes owned by a user. And you know, as soon as your session-manager dies, it's the end of your session ;) Tom Sailor (the author) did actually fix the problem in his upstream version at http://www.baycom.org/~tom/ham/linux/multimon.tar.bz2 and I confirm that his solution fixes the problem. Tom's fix in that version is: diff -Naur multimon-1.0/ xdisplay.c --- multimon-1.0/xdisplay.c 2005-07-26 21:09:38.0 +0200 +++ xdisplay.c 2009-03-24 19:07:58.0 +0100 @@ -1,8 +1,8 @@ /* * xdisplay.c -- actually displaying things * - * Copyright (C) 1996 - * Thomas Sailer (sai...@ife.ee.ethz.ch, hb9...@hb9w.che.eu) + * Copyright (C) 1996, 2009 + * Thomas Sailer (t.sai...@alumni.ee.ethz.ch) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -336,6 +336,8 @@ { if (cnum 0 || cnum = NUMCLI) return; + if (!cli[cnum].used) + return; kill(cli[cnum].pid, SIGTERM); } @@ -403,6 +405,8 @@ if (cnum 0 || cnum = NUMCLI) return 0; + if (!cli[cnum].used) + return 0; i = read(cli[cnum].cmdfd, c, 1); if (i 0 errno != EAGAIN) { perror(read); 73, - Thomas dl9sau -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
Setting In Progress = Confirmed as the bug hasn't had an assignee in over a year. Confirming that it happens to me too. ** Changed in: multimon (Ubuntu) Status: In Progress = Confirmed ** Summary changed: - multimon crashes Xorg + multimon crashes Xorg when window is closed -- multimon crashes Xorg when window is closed https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
Ok, unassigning and refiling against multimon. ** Changed in: multimon (Ubuntu) Sourcepackagename: xorg = multimon Assignee: Bryce Harrington (bryceharrington) = (unassigned) -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
I don't see how this is related to X, if the patch is for multimon.. -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
..or is the original post about multimonitor with mga, and the patch for multimon, the linux radio decoder? :) -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
** Changed in: xorg (Ubuntu) Assignee: (unassigned) = Bryce Harrington (bryceharrington) Status: New = Fix Committed ** Changed in: xorg (Ubuntu) Status: Fix Committed = In Progress -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
** Changed in: xorg (Ubuntu) Sourcepackagename: None = xorg -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
I also found this. Killing the program from another shell doesn't cause the error - just when the scope window is closed by clicking the close window dialog. It is a problem with the scope function. A simple way to prevent the error is to compile out the scope function: In multimon.h, change the #define ALL_DEMOD removing the scope module (monfix.patch) It's not a perfect fix, but the important function of the program is restored (genfix.patch) In the gen.c file there is also a bug which prevents creation of non-raw format files. Fix attached attached. ** Attachment added: Patch to disable broken x scope feature which causes hard crash of X http://launchpadlibrarian.net/7920404/monfix.patch -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 48199] Re: multimon crashes Xorg
Now for the genfix patch to enable saving in non-raw formats. ** Attachment added: Fix for bug in gen.c preventint non-raw output files to be created. http://launchpadlibrarian.net/7920406/genfix.patch -- multimon crashes Xorg https://bugs.launchpad.net/bugs/48199 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs