On Tue, Feb 25, 2014 at 12:56:32PM -0800, Jamie Zawinski wrote:
> Under what circumstances would xscreensaver be launched with no $PATH?
I had different situations lately where no PATH was set in the environment.

And it always ended up in:

[8060651.170293] xscreensaver[27148]: segfault at 0 ip 00007fbd2e06aedf sp 
00007fff27f08588 error 4 in libc-2.13.so[7fbd2df50000+182000]

An example would be running

/usr/bin/Xephyr :99 &
DISPLAY=:99 xscreensaver

in a shell that was started after fork/execve with envp set to NULL.

Anyway. Even if this isn't probably the common use case I would expect a
program *not* to segfault if an expected environment variable, like
PATH in this case, isn't set.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to