THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Dean Scarff (dos) 

Attached to Project - awesome
Summary - awful.util.spawn crashes during startup, works fine afterwards
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - 3.4.15
Due in Version - Undecided
Due Date - Undecided
Details - This was reported independently in Debian and Ubuntu a while ago:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705011
https://bugs.launchpad.net/ubuntu/+source/awesome/+bug/1176862

I can reproduce in 3.4.15-1ubuntu1.  This was definitely a regression (my 
rc.lua didn't change, I just upgraded awesome and probably some other packages).

Steps to reproduce:
1. In rc.lua:
awful.util.spawn("/bin/echo")
2. Start awesome from GDM

Observed behaviour:
In .xsession-errors:
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  595
  Current serial number in output stream:  596

Then awesome crashes.

If I replace "/bin/echo" with "/usr/bin/yes", the "yes" process can be observed 
still running.

Expected behaviour:
echo gets run.
Awesome doesn't crash.

Workaround:
If I remove the relevant awful.util.spawn call from my rc.lua, awesome doesn't 
crash on startup.  Then I can run awful.util.spawn("/bin/echo") from 
awesome-client fine.

(Obviously I don't actually want to run echo specifically, I'm actually running 
a script, but I'm using echo as en example here because it's an innocent and 
ubiquitous command for testing).

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1311

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to