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

Mike Hommey mh at glandium.org
Sun Dec 20 21:24:59 UTC 2009


On Sun, Dec 20, 2009 at 01:38:09PM +0100, Michel Briand wrote:
> 
> Mike Hommey <mh at glandium.org> - Sat, 19 Dec 2009 20:27:13 +0100
> 
> >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 ?
> 
> Yes. This is still an issue. I've Iceweasel 3.0.6-3.

What version of xulrunner-1.9 ?

> --> Error: Failed to send command: 500 command not parseable
> 
> Do you want the log file ?

yes please, and the exact command line.

> 
> Thank you,
> Michel
> 
> Beside this, when it's not running:
> 
> $ strace -s 128 -o totolog2 -f sh -c "/usr/lib/iceweasel/firefox-bin
> -remote 'openurl(http://www.debian.org,new-tab)'"
> Error: No running window found

This is expected.





More information about the pkg-mozilla-maintainers mailing list