Skip to content

Your package causes compile-cache to reach 100% cpu for extended periods. #95

@envygeeks

Description

@envygeeks

_Linux: Ubuntu/GNU 14.04 w/ Kernel 3.13
_Atom Version
: atom --version 1.0.19-5f4f6d2
_Atom Package_: pigments

_Atom Install Method: Home Directory with App Armor
_Install Directory
: ~/.opt/atom
_Bin Path_:

  • ~/.local/bin/atom -> ~/.opt/atom/bin/atom
  • ~/.local/bin/apm -> ~/.opt/atom/bin/apm

_Method of Confirmation: We disabled all packages and enabled only your package.
_Method of Discovery
: We disabled all packages, enabled packages one by one one while opening and closing the file that the addon trips on and discovered that your package is the one that starts consuming 100% cpu.

_Source of the file causing problems for your software_:

#!/bin/sh
set -e
pid_file=/etc/startup2.d/stdout/supervise/daemons
touch $pid_file
pids=

if [ -d /etc/stdout.d ] && [ "$(ls -A /etc/stdout.d)" ]; then
  for v in /etc/stdout.d/*; do
    tail -qf "$path" 2>/dev/null &
    pid=$!

    echo $pid > $pid_file
    pids=$pids" $pid"
  done
else
  touch /etc/stdout.d/empty
  tail -qf /etc/stdout.d/empty &
  pid=$!

  echo $pid > $pid_file
  pids=$pids" $pid"
fi

wait $pids

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions