Open Bug 820231 Opened 13 years ago Updated 3 years ago

Programs executed by Thunderbird are executed with Thunderbird's environment variables

Categories

(Thunderbird :: General, defect)

17 Branch
defect

Tracking

(Not tracked)

People

(Reporter: mozilla, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 Build ID: 20121129165506 Steps to reproduce: 1) Started Thunderbird with the -no-remote flag 2) Tried to open a link in Thunderbird using Firefox 3) Firefox opens with -no-remote Actual results: Firefox started with -no-remote when it shouldn't. Running an 'strace' on Thunderbird shows execve is being called with the following environment variables set: "MOZ_APP_LAUNCHER=/usr/bin/thunde"... "MOZ_CRASHREPORTER_DATA_DIRECTORY"... "MOZ_CRASHREPORTER_RESTART_ARG_1="... "MOZ_CRASHREPORTER_RESTART_ARG_2="... "MOZ_CRASHREPORTER_RESTART_ARG_3=" "MOZ_LAUNCHED_CHILD=" "MOZ_NO_REMOTE=1" Expected results: The link should have opened in a new tab in the current Firefox window.
I experienced this as well (TB 17, Win7 x64). In fact, if Firefox is already running, then clicking a link in Thunderbird causes an error message that Firefox is already running and is not responding. Processes are indeed designed to inherit environment variables from the parent process, so I am guessing that this is where this comes from.
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Depends on: 842209
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.