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

BUG [hyperion.ng, macOS] Crashes on connection

Discussion in 'Bug Reports' started by NicolasHaeffner, 25 November 2017.

  1. NicolasHaeffner

    NicolasHaeffner New Member

    Messages:
    2
    Hardware:
    32/64bit, +Arduino
    Hello everybody,

    I have hyperion.ng running successfully on a intel NUC with ubuntu, and I wanted to use myremaining LEDs on my mac.

    As soon as I connect to hyperion in any way (json, web, proto) it crashes on me. Heres the output when I start it in debug mode:

    ```
    [email protected]:~/hyperion/build$ hyperiond -d
    [hyperiond MAIN] <INFO> Selected configuration file: /Users/nicolas/.hyperion/config/hyperion_main.json
    [hyperiond LOGGER] <WARNING> Logger settings overridden by command line argument
    [hyperiond ChannelAdjust_BLACK] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ChannelAdjust_WHITE] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,255,255
    [hyperiond ChannelAdjust_RED] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,0,0
    [hyperiond ChannelAdjust_GREEN] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,255,0
    [hyperiond ChannelAdjust_BLUE] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,255
    [hyperiond ChannelAdjust_CYAN] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,255,255
    [hyperiond ChannelAdjust_MAGENTA] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,0,255
    [hyperiond ChannelAdjust_YELLOW] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,255,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond Core] <INFO> ColorAdjustment 'default' => [0; 25]
    [hyperiond Core] <DEBUG> <Hyperion.cpp:315:getLedLayoutGridSize()> led layout grid: 10x7
    [hyperiond ComponentRegister] <INFO> Json/Proto forwarder: off
    [hyperiond LedDevice] <DEBUG> <LedDeviceAdalight.cpp:53:init()> Adalight header for 26 leds: Ada 0x00 0x19 0x4c
    [hyperiond LedDevice] <INFO> LedDevice 'adalight' configured.
    [hyperiond LedDevice] <INFO> Opening UART: /dev/tty.wchusbserial1410
    [hyperiond LedDevice] <ERROR> An error occurred while attempting to open an already opened device by another process or a user not having enough permission and credentials to open. Device disabled.
    [hyperiond LedDevice] <ERROR> Unable to open RS232 device (/dev/tty.wchusbserial1410)
    [hyperiond Core] <INFO> Creating linear smoothing
    [hyperiond Smoothing] <INFO> smoothing cfg 0: interval: 40 ms, settlingTime: 200 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 1: pause
    [hyperiond ComponentRegister] <INFO> Smoothing: activated
    [hyperiond ComponentRegister] <INFO> LED device: activated
    [hyperiond Smoothing] <INFO> smoothing cfg 2: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 3: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 4: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 5: interval: 50 ms, settlingTime: 500 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 6: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 7: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 8: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 9: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 10: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 11: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 12: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 13: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 14: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 15: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 16: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 17: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 18: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 19: interval: 40 ms, settlingTime: 200 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 20: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 21: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 22: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 23: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 24: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 25: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 26: interval: 40 ms, settlingTime: 200 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 27: interval: 50 ms, settlingTime: 200 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 28: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 29: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 30: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 31: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 32: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 33: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 34: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 35: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 36: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> smoothing cfg 37: interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond EFFECTENGINE] <INFO> 35 effects loaded from directory :/effects/
    [hyperiond EFFECTENGINE] <INFO> 19 effect schemas loaded from directory :/effects/schema/
    [hyperiond EFFECTENGINE] <INFO> 0 effects loaded from directory /Users/nicolas/.hyperion/custom-effects
    [hyperiond EFFECTENGINE] <DEBUG> <EffectEngine.cpp:43:EffectEngine()> Initializing Python interpreter
    [hyperiond Core] <DEBUG> <Hyperion.cpp:447:Hyperion()> configured leds: 26 hw leds: 26
    [hyperiond ChannelAdjust_BLACK] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,0
    [hyperiond ChannelAdjust_RED] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,0,0
    [hyperiond ChannelAdjust_GREEN] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,255,0
    [hyperiond ChannelAdjust_BLUE] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,0,255
    [hyperiond ChannelAdjust_CYAN] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 0,255,255
    [hyperiond ChannelAdjust_MAGENTA] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,0,255
    [hyperiond ChannelAdjust_YELLOW] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,255,0
    [hyperiond ChannelAdjust_WHITE] <DEBUG> <RgbChannelAdjustment.cpp:24:resetInitialized()> initialize mapping with 255,255,255
    [hyperiond MAIN] <INFO> Hyperion initialized
    [hyperiond MAIN] <INFO> Json server created and started on port 19444
    QObject::connect: No such slot ProtoServer::setVideoMode(VideoMode)
    [hyperiond MAIN] <INFO> Proto server created and started on port 19445
    [hyperiond MAIN] <DEBUG> <hyperiond.cpp:301:startNetworkServices()> Boblight server created
    [hyperiond ComponentRegister] <INFO> Boblight server: off
    [hyperiond Core] <INFO> Register new input source named 'UDPLISTENER' for priority channel '200'
    [hyperiond MAIN] <DEBUG> <hyperiond.cpp:320:startNetworkServices()> UDP listener created
    [hyperiond ComponentRegister] <INFO> UDP listener: off
    [hyperiond MAIN] <DEBUG> <hyperiond.cpp:343:startNetworkServices()> UDP LIstener mDNS responder started
    [hyperiond MAIN] <DEBUG> <hyperiond.cpp:350:startNetworkServices()> Json mDNS responder started
    [hyperiond MAIN] <DEBUG> <hyperiond.cpp:356:startNetworkServices()> Proto mDNS responder started
    [hyperiond ComponentRegister] <INFO> V4L capture device: off
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderDetector.cpp:26:calculateThreshold()> threshold set to 0.050000 (13)
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderProcessor.cpp:26:BlackBorderProcessor()> mode: default
    [hyperiond BLACKBORDER] <DEBUG> <ImageProcessor.cpp:62:setLedMappingType()> set led mapping to type 0
    [hyperiond ComponentRegister] <INFO> Blackborder detector: activated
    [hyperiond OSXGRABBER] <DEBUG> <Grabber.cpp:33:setVideoMode()> setvideomode 0
    [hyperiond OSXGRABBER] <INFO> Display opened with resolution: [email protected]
    [hyperiond Core] <INFO> Register new input source named 'OSX FrameGrabber' for priority channel '250'
    [hyperiond MAIN] <INFO> OSX grabber created and started
    [hyperiond Core] <INFO> Unregister input source named 'OSX FrameGrabber' from priority register
    [hyperiond OSX FrameGrabber] <INFO> grabber change state to disabled
    [hyperiond ComponentRegister] <INFO> Framegrabber: off
    [hyperiond MAIN] <INFO> Hyperion started
    [hyperiond EFFECTENGINE] <INFO> run effect Rainbow swirl fast on channel 0
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderDetector.cpp:26:calculateThreshold()> threshold set to 0.050000 (13)
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderProcessor.cpp:26:BlackBorderProcessor()> mode: default
    [hyperiond BLACKBORDER] <DEBUG> <ImageProcessor.cpp:62:setLedMappingType()> set led mapping to type 0
    [hyperiond Core] <INFO> Register new input source named 'Rainbow swirl fast' for priority channel '0'
    [hyperiond MAIN] <INFO> Inital foreground effect 'Rainbow swirl fast' started
    [hyperiond EFFECTENGINE] <INFO> run effect Warm mood blobs on channel 254
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderDetector.cpp:26:calculateThreshold()> threshold set to 0.050000 (13)
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderProcessor.cpp:26:BlackBorderProcessor()> mode: default
    [hyperiond BLACKBORDER] <DEBUG> <ImageProcessor.cpp:62:setLedMappingType()> set led mapping to type 0
    [hyperiond Core] <INFO> Register new input source named 'Warm mood blobs' for priority channel '254'
    [hyperiond MAIN] <INFO> Inital background effect 'Warm mood blobs' started
    [hyperiond WEBSERVER] <DEBUG> <WebConfig.cpp:38:WebConfig()> WebUI initialized, document root: :/webconfig
    [hyperiond WEBSERVER] <INFO> started on port 8090 name 'Hyperion WebConfig'
    [hyperiond WEBSERVER] <DEBUG> <StaticFileServing.cpp:61:eek:nServerStarted()> Web Config mDNS responder started
    [hyperiond MAIN] <INFO> start systray
    libpng warning: iCCP: known incorrect sRGB profile
    [hyperiond Smoothing] <INFO> set smoothing cfg: 25, interval: 40 ms, settlingTime: 1 ms, updateDelay: 0 frames
    [hyperiond Smoothing] <INFO> set smoothing cfg: 19, interval: 40 ms, settlingTime: 200 ms, updateDelay: 0 frames
    [hyperiond EFFECTENGINE] <INFO> effect finished
    [hyperiond Core] <INFO> Unregister input source named 'Rainbow swirl fast' from priority register
    [hyperiond Core] <DEBUG> <Hyperion.cpp:536:bonjourRecordResolved()> found hyperion session: NUC.local.:8099
    [hyperiond Core] <DEBUG> <Hyperion.cpp:536:bonjourRecordResolved()> found hyperion session: Nicolass-MacBook-Pro.local.:8090
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderDetector.cpp:26:calculateThreshold()> threshold set to 0.050000 (13)
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderProcessor.cpp:26:BlackBorderProcessor()> mode: default
    [hyperiond BLACKBORDER] <DEBUG> <ImageProcessor.cpp:62:setLedMappingType()> set led mapping to type 0
    Segmentation fault: 11​
    ```


    (sorry I could not find any option to format as code..)

    I am running macOS High Sierra 10.13.2 Beta (17C79a) btw.
    Any help is greatly appreciated!