Bug#542028: iceweasel: fails to parse -remote openurl()

Mike Hommey mh at glandium.org
Sat Dec 19 19:27:13 UTC 2009


Hi,

Sorry for the delayed answer.

On Tue, Aug 18, 2009 at 12:32:44PM +0200, Michel Briand wrote:
> I've used strace to investigate this, to trace my shell script that
> used to work (that because it used to work for year that I posted to
> reopen the bug) :
> 
> $ strace -s 128 -o totolog2 -f sh -c "/usr/lib/iceweasel/firefox-bin -remote 'openurl(http://www.debian.org,new-tab)'"
> Error: Failed to send command: 500 command not parseable
> $ grep exec totolog2
> 5728  execve("/bin/sh", ["sh", "-c", "/usr/lib/iceweasel/firefox-bin -remote 'openurl(http://www.debian.org,new-tab)'"], [/* 57 vars */]) = 0
> 5728  set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f276b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> 5729  execve("/usr/lib/iceweasel/firefox-bin", ["/usr/lib/iceweasel/firefox-bin", "-remote", "openurl(http://www.debian.org,new-tab)"], [/* 57 vars */]) = 0
> 5729  set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d778d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> ...
> 5729  write(2, "Error: Failed to send command: 500 command not parseable\n"..., 57) = 57
> ...
> 
> You see: no " in argument to execve, just the string openurl....
> 
> Strange, isn't it ?

Running directly with firefox-bin should work properly, and it does work
properly on my system (both lenny and squeeze tested).

Are you sure the strace command above does trigger the bug ?

Mike





More information about the pkg-mozilla-maintainers mailing list