← Back to team overview

desktop-packages team mailing list archive

[Bug 882125] Re: nsIProcess doesn't work for some executables

 

AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  mamedov    2041 F.... pulseaudio
BuildID: 20111008085652
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 47'
   Mixer name	: 'Conexant CX20561 (Hermosa)'
   Components	: 'HDA:14f15051,1179ff56,00100000'
   Controls      : 14
   Simple ctrls  : 7
Channel: release
DistroRelease: Ubuntu 11.10
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
IpRoute:
 default via 192.168.137.25 dev wlan0  proto static 
 169.254.0.0/16 dev wlan0  scope link  metric 1000 
 192.168.56.0/24 dev vboxnet0  proto kernel  scope link  src 192.168.56.1 
 192.168.137.0/24 dev wlan0  proto kernel  scope link  src 192.168.137.104  metric 2
Package: firefox 7.0.1+build1+nobinonly-0ubuntu2
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Profiles: Profile0 (Default) - LastVersion=7.0.1/20110928134238 (Out of date)
RunningIncompatibleAddons: False
Tags:  oneiric running-unity
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (12 days ago)
UserGroups: adm admin cdrom davfs2 dialout lpadmin netdev plugdev sambashare users vboxusers
UserJS:
 network.protocol-handler.external.picasa - true
 network.protocol-handler.app.picasa - /usr/bin/picasa
dmi.bios.date: 07/16/2008
dmi.bios.vendor: TOSHIBA
dmi.bios.version: V3.60
dmi.board.name: Satellite A300
dmi.board.vendor: TOSHIBA
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnTOSHIBA:bvrV3.60:bd07/16/2008:svnTOSHIBA:pnSatelliteA300:pvrPSAJ0E-00V00NRU:rvnTOSHIBA:rnSatelliteA300:rvrNotApplicable:cvnTOSHIBA:ct10:cvrN/A:
dmi.product.name: Satellite A300
dmi.product.version: PSAJ0E-00V00NRU
dmi.sys.vendor: TOSHIBA


** Tags added: apport-collected oneiric running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/882125

Title:
  nsIProcess doesn't work for some executables

Status in “firefox” package in Ubuntu:
  Incomplete

Bug description:
  Hello!

  I'm the author of the Firefox extension "It's All Text!".  This
  extension launches a local editor (like emacs or gvim) with the
  contents of a textarea to make editing web pages (wikis, etc.) easier.

  I have discovered a bug in Ubuntu's firefox:
  https://github.com/docwhat/itsalltext/issues/18

  It appears that the nsIProcess run*() methods fail for *some*
  binaries.

  In the issue I referenced above, the user was able to use
  /usr/bin/gedit but not /usr/bin/sublime-text-2.  It would fail to
  launch and return an exit code 1.

  The user was nice enough to let me screen share with him and we tried
  runwAsync() (the default), runAsync(), and run() to launch the editor
  but it failed in all cases.

  We then downloaded Firefox from the official site (both the Ubuntu one
  and the official one were 7.0.1) and nsIProcess then worked.

  I am unable to figure out:

  * How /usr/bin/gedit and /usr/bin/sublime-text-2 differ that one fails and one succeeds.
  * How the Ubuntu Firefox and the Official Firefox differ.

  I haven't a clue about what's going on here.

  I am unable to reproduce this problem in my VM.  I'll ask the user to
  subscribe to this bug in case you want to ask him additional
  questions.

  Ciao!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/882125/+subscriptions


References