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

Michel Briand michelbriand at free.fr
Mon Dec 21 10:07:22 UTC 2009


Mike Hommey <mh at glandium.org> - Mon, 21 Dec 2009 08:53:13 +0100

>On Sun, Dec 20, 2009 at 11:19:04PM +0100, Michel Briand wrote:
>> 
>> Mike Hommey <mh at glandium.org> - Sun, 20 Dec 2009 22:24:59 +0100
>> 
>> >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 ?
>> 
>> ii  xulrunner-1.9  1.9.0.15-0lenn XUL + XPCOM application runner
>> 
>> >> --> Error: Failed to send command: 500 command not parseable
>> >> 
>> >> Do you want the log file ?
>> >
>> >yes please, and the exact command line.
>> 
>> Exactly the same as in the email above.
>
>Reading the log, you are wrong ;)
>You are running /usr/lib/iceweasel/iceweasel-xremote-client -remote
>openurl...
>
>Except iceweasel-xremote-client doesn't take a -remote argument.
>
>Mike

Yes, please forgive my distraction, I tested many times and forgot to
recreate the log for the good test :).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iceweasel-remote-openurl-problem.log.gz
Type: application/x-gzip
Size: 117875 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20091221/3c965be0/attachment-0001.bin>


More information about the pkg-mozilla-maintainers mailing list