1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Hyperion "failed state 'signal'" starting issue

Discussion in 'Software Support' started by Toaster120, 29 August 2018.

  1. Toaster120

    Toaster120 New Member

    Messages:
    2
    Hardware:
    RPi3
    Hello,
    a friend of mine and me (German) are currently trying to install hyperion on raspbian and sadly encountered a strange problem.

    Hyperion sadly doesn't seem to start.

    First it seemed that we had trouble to parse the configuration file (which seemed to be a part which accidently wasn't commented out) but right now we are exiting the program with an error 'signal'.


    The configuration has been generated by hypercon but written manually into "/etc/hyperion/hyperion.config.json" since hypercon wasn't able to put it there somehow by it's own.


    We are currently running out of ideas and we are hoping that you can help us.

    Thanks.

    Sincerely.


    ******************************************
    sudo journalctl -u hyperion:

    Aug 29 01:08:16 raspberrypi systemd[1]: Started Hyperion Systemd service.
    Aug 29 01:08:16 raspberrypi hyperiond[1605]: Hyperion Ambilight Deamon (1605)
    Aug 29 01:08:16 raspberrypi hyperiond[1605]: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    Aug 29 01:08:16 raspberrypi hyperiond[1605]: Build Time: Apr 5 2018 01:57:25
    Aug 29 01:08:16 raspberrypi hyperiond[1605]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Main process exited, code=killed, status=11/SEGV
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Unit entered failed state.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Failed with result 'signal'.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Service hold-off time over, scheduling restart.
    Aug 29 01:08:16 raspberrypi systemd[1]: Stopped Hyperion Systemd service.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Start request repeated too quickly.
    Aug 29 01:08:16 raspberrypi systemd[1]: Failed to start Hyperion Systemd service.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Unit entered failed state.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Failed with result 'signal'.



    *******************************************
    sudo hyperion status:

    sudo service hyperion status
    ● hyperion.service - Hyperion Systemd service
    Loaded: loaded (/etc/systemd/system/hyperion.service; enabled; vendor preset: enabled)
    Active: failed (Result: signal) since Wed 2018-08-29 01:08:16 CEST; 25min ago
    Main PID: 1605 (code=killed, signal=SEGV)

    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Unit entered failed state.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Failed with result 'signal'.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Service hold-off time over, scheduling restart.
    Aug 29 01:08:16 raspberrypi systemd[1]: Stopped Hyperion Systemd service.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Start request repeated too quickly.
    Aug 29 01:08:16 raspberrypi systemd[1]: Failed to start Hyperion Systemd service.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Unit entered failed state.
    Aug 29 01:08:16 raspberrypi systemd[1]: hyperion.service: Failed with result 'signal'.
     
  2. Toaster120

    Toaster120 New Member

    Messages:
    2
    Hardware:
    RPi3
    Using a preinstalled Image has fixed this problem! It must have been dependent on which hyperion version we had used on our pi in the first place.
     
  3. Epe

    Epe New Member

    Messages:
    5
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Hi, what does mean "preinstalled image"? Newly downloaded image of raspbian?

    I have same problem with raspbian (RPi3) and hyperion: "hyperion.service: main process exited, code=killed, status=11/SEGV"
     
  4. saxesn

    saxesn New Member

    Messages:
    22
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +AtmoOrb, +nodeMCU/ESP8266
    plz run:
    Code:
     sudo service hyperion status
    and then start the command of the output manually...

    for example
    Code:
     /opt/hyperion/bin/hyperiond /opt/hyperion/config/hyperion.config.json 
    /usr/share/hyperion/hyperiond  /etc/hyperion/hyperion.config.json
    
    and post the output
     
  5. Epe

    Epe New Member

    Messages:
    5
    Hardware:
    RPi1/Zero, RPi2, RPi3
  6. Epe

    Epe New Member

    Messages:
    5
    Hardware:
    RPi1/Zero, RPi2, RPi3
    new installation of LibreELEC (on Raspberry Pi Zero) and same behavior: "Segmentation fault"

    output of hyperiond:
    Code:
    /storage/hyperion/bin/./hyperiond.sh /storage/.config/hyperion.config.json
    Hyperion Ambilight Deamon (755)
      Version  : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
      Build Time: Apr  5 2018 01:57:25
    INFO: Selected configuration file: /storage/.config/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 59]
    HYPERION INFO: ColorCorrection 'default' => [0; 59]
    HYPERION INFO: ColorAdjustment 'default' => [0; 59]
    LEDDEVICE INFO: configuration:
    {
      "colorOrder" : "rgb",
      "leds" : 60,
      "name" : "MyHyperionConfig",
      "type" : "ws281x"
    }
    
    whiteAlgorithm ::
    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    started
    INFO: Json server created and started on port 19444
    INFO: Proto server created and started on port 19445
    DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Frame grabber created and started
    Segmentation fault (core dumped)
    config:
    Code:
    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)
    
    {
      // DEVICE CONFIGURATION
      "device" :
      {
      "name"  : "MyHyperionConfig",
      "type"  : "ws281x",
      "leds"  : 60,
      "colorOrder" : "rgb"
      },
    
      // COLOR CALIBRATION CONFIG
      "color" :
      {
      "channelAdjustment" :
      [
      {
      "id"  : "default",
      "leds" : "*",
      "pureRed" :
      {
      "redChannel"  : 255,
      "greenChannel"  : 0,
      "blueChannel"  : 0
      },
      "pureGreen" :
      {
      "redChannel"  : 0,
      "greenChannel"  : 255,
      "blueChannel"  : 0
      },
      "pureBlue" :
      {
      "redChannel"  : 0,
      "greenChannel"  : 0,
      "blueChannel"  : 255
      }
      }
      ],
      "temperature" :
      [
      {
      "id"  : "default",
      "leds" : "*",
      "correctionValues" :
      {
      "red"  : 255,
      "green" : 255,
      "blue"  : 255
      }
      }
      ],
      "transform" :
      [
      {
      "id"  : "default",
      "leds" : "*",
      "hsl" :
      {
      "saturationGain"  : 1.0000,
      "luminanceGain"  : 1.0000,
      "luminanceMinimum"  : 0.0000
      },
      "red" :
      {
      "threshold"  : 0.0000,
      "gamma"  : 2.5000
      },
      "green" :
      {
      "threshold"  : 0.0000,
      "gamma"  : 2.5000
      },
      "blue" :
      {
      "threshold"  : 0.0000,
      "gamma"  : 2.5000
      }
      }
      ],
      // SMOOTHING CONFIG
      "smoothing" :
      {
      "type"  : "linear",
      "time_ms"  : 200,
      "updateFrequency" : 20.0000,
      "updateDelay"  : 0
      }
      },
    
      // NO V4L2 GRABBER CONFIG
      // FRAME GRABBER CONFIG
      "framegrabber" :
      {
      "width" : 64,
      "height" : 64,
      "frequency_Hz" : 10.0,
      "priority" : 890
      },
    
      // BLACKBORDER CONFIG
      "blackborderdetector" :
      {
      "enable" : true,
      "threshold" : 0.0,
      "unknownFrameCnt" : 600,
      "borderFrameCnt" : 50,
      "maxInconsistentCnt" : 10,
      "blurRemoveCnt" : 1,
      "mode" : "default"
      },
    
      // BOOTEFFECT CONFIG
      "bootsequence" :
      {
      "color" : [0,0,0],
      "effect" : "Rainbow swirl fast",
      "duration_ms" : 3000,
      "priority" : 700
      },
    
      // JSON SERVER CONFIG
      "jsonServer" :
      {
      "port" : 19444
      },
    
      // PROTO SERVER CONFIG
      "protoServer" :
      {
      "port" : 19445
      },
    
      // EFFECT PATH
      "effects" :
      {
      "paths" :
      [
      "/storage/hyperion/effects",
      "/usr/share/hyperion/effects"
      ]
      },
    
      // NO KODI CHECK CONFIG
      // NO BOBLIGHT SERVER CONFIG
      // NO JSON/PROTO FORWARD CONFIG
    
      // LED CONFIGURATION
      "leds" :
      [
      {
      "index" : 0,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0667 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 1,
      "hscan" : { "minimum" : 0.0667, "maximum" : 0.1333 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 2,
      "hscan" : { "minimum" : 0.1333, "maximum" : 0.2000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 3,
      "hscan" : { "minimum" : 0.2000, "maximum" : 0.2667 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 4,
      "hscan" : { "minimum" : 0.2667, "maximum" : 0.3333 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 5,
      "hscan" : { "minimum" : 0.3333, "maximum" : 0.4000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 6,
      "hscan" : { "minimum" : 0.4000, "maximum" : 0.4667 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 7,
      "hscan" : { "minimum" : 0.4667, "maximum" : 0.5333 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 8,
      "hscan" : { "minimum" : 0.5333, "maximum" : 0.6000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 9,
      "hscan" : { "minimum" : 0.6000, "maximum" : 0.6667 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 10,
      "hscan" : { "minimum" : 0.6667, "maximum" : 0.7333 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 11,
      "hscan" : { "minimum" : 0.7333, "maximum" : 0.8000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 12,
      "hscan" : { "minimum" : 0.8000, "maximum" : 0.8667 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 13,
      "hscan" : { "minimum" : 0.8667, "maximum" : 0.9333 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 14,
      "hscan" : { "minimum" : 0.9333, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
      },
      {
      "index" : 15,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0667 }
      },
      {
      "index" : 16,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.0667, "maximum" : 0.1333 }
      },
      {
      "index" : 17,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.1333, "maximum" : 0.2000 }
      },
      {
      "index" : 18,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.2000, "maximum" : 0.2667 }
      },
      {
      "index" : 19,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.2667, "maximum" : 0.3333 }
      },
      {
      "index" : 20,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.3333, "maximum" : 0.4000 }
      },
      {
      "index" : 21,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.4000, "maximum" : 0.4667 }
      },
      {
      "index" : 22,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.4667, "maximum" : 0.5333 }
      },
      {
      "index" : 23,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.5333, "maximum" : 0.6000 }
      },
      {
      "index" : 24,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.6000, "maximum" : 0.6667 }
      },
      {
      "index" : 25,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.6667, "maximum" : 0.7333 }
      },
      {
      "index" : 26,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.7333, "maximum" : 0.8000 }
      },
      {
      "index" : 27,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.8000, "maximum" : 0.8667 }
      },
      {
      "index" : 28,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.8667, "maximum" : 0.9333 }
      },
      {
      "index" : 29,
      "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.9333, "maximum" : 1.0000 }
      },
      {
      "index" : 30,
      "hscan" : { "minimum" : 0.9333, "maximum" : 1.0000 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 31,
      "hscan" : { "minimum" : 0.8667, "maximum" : 0.9333 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 32,
      "hscan" : { "minimum" : 0.8000, "maximum" : 0.8667 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 33,
      "hscan" : { "minimum" : 0.7333, "maximum" : 0.8000 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 34,
      "hscan" : { "minimum" : 0.6667, "maximum" : 0.7333 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 35,
      "hscan" : { "minimum" : 0.6000, "maximum" : 0.6667 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 36,
      "hscan" : { "minimum" : 0.5333, "maximum" : 0.6000 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 37,
      "hscan" : { "minimum" : 0.4667, "maximum" : 0.5333 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 38,
      "hscan" : { "minimum" : 0.4000, "maximum" : 0.4667 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 39,
      "hscan" : { "minimum" : 0.3333, "maximum" : 0.4000 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 40,
      "hscan" : { "minimum" : 0.2667, "maximum" : 0.3333 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 41,
      "hscan" : { "minimum" : 0.2000, "maximum" : 0.2667 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 42,
      "hscan" : { "minimum" : 0.1333, "maximum" : 0.2000 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 43,
      "hscan" : { "minimum" : 0.0667, "maximum" : 0.1333 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 44,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0667 },
      "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
      },
      {
      "index" : 45,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.9333, "maximum" : 1.0000 }
      },
      {
      "index" : 46,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.8667, "maximum" : 0.9333 }
      },
      {
      "index" : 47,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.8000, "maximum" : 0.8667 }
      },
      {
      "index" : 48,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.7333, "maximum" : 0.8000 }
      },
      {
      "index" : 49,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.6667, "maximum" : 0.7333 }
      },
      {
      "index" : 50,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.6000, "maximum" : 0.6667 }
      },
      {
      "index" : 51,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.5333, "maximum" : 0.6000 }
      },
      {
      "index" : 52,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.4667, "maximum" : 0.5333 }
      },
      {
      "index" : 53,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.4000, "maximum" : 0.4667 }
      },
      {
      "index" : 54,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.3333, "maximum" : 0.4000 }
      },
      {
      "index" : 55,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.2667, "maximum" : 0.3333 }
      },
      {
      "index" : 56,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.2000, "maximum" : 0.2667 }
      },
      {
      "index" : 57,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.1333, "maximum" : 0.2000 }
      },
      {
      "index" : 58,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.0667, "maximum" : 0.1333 }
      },
      {
      "index" : 59,
      "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
      "vscan" : { "minimum" : 0.0000, "maximum" : 0.0667 }
      }
      ],
    
      "endOfJson" : "endOfJson"
    }