[Bug 1234898] Re: upstart-local-bridge not handling all events sent to it
Ricardo Salveti
rsalveti at rsalveti.net
Thu Oct 3 23:18:50 UTC 2013
One thing I did noticed when looking at the code is that the
'socket_reader' function seems to expect the input buffer to be one-line
only, and not a block (buf could be a block when reading data from the
socket).
As a result upstart_emit_event can emit 'buf' containing more than one
event at the same time (including "\n"), which might cause issues later
on.
As I'm not that familiar with the code, will let James to comment on the
subject.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1234898
Title:
upstart-local-bridge not handling all events sent to it
Status in “upstart” package in Ubuntu:
New
Bug description:
I have this job: http://paste.ubuntu.com/6189473/
I'm running this script: http://paste.ubuntu.com/6189469/
And this is what I get: http://paste.ubuntu.com/6189493/
From it, the property says it's running, the android side (upstart-
property-watcher) says it's running, the property says it's running,
the upstart job though didn't seem to be triggered in all boots
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: upstart 1.10-0ubuntu1
Uname: Linux 3.4.0-4-manta armv7l
ApportVersion: 2.12.5-0ubuntu1
Architecture: armhf
Date: Thu Oct 3 18:53:23 2013
InstallationDate: Installed on 2013-10-03 (0 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20131003.1)
MarkForUpload: True
ProcEnviron:
TERM=linux
PATH=(custom, no user)
ProcKernelCmdline: vmalloc=512M debug_core.break_on_panic=0 debug_core.break_on_exception=0 no_console_suspend s3c2410-wdt.tmr_atboot=1 s3c2410-wdt.tmr_margin=30 s3cfb.bootloaderfb=0x60000000 androidboot.bootloader=MANTALJ12 androidboot.serialno=R32CB04SQ1J androidboot.wifimacaddr=BC:20:A4:7E:26:EC androidboot.btmacaddr=BC:20:A4:7E:26:EB
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
modified.conffile..etc.dbus.1.system.d.org.freedesktop.NetworkManager.conf: [modified]
mtime.conffile..etc.dbus.1.system.d.org.freedesktop.NetworkManager.conf: 2013-10-03T15:55:52
upstart.tty1.override: manual
upstart.tty2.override: manual
upstart.tty3.override: manual
upstart.tty4.override: manual
upstart.tty5.override: manual
upstart.tty6.override: manual
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1234898/+subscriptions
More information about the foundations-bugs
mailing list