Skip to content

OSX: illegal hardware instruction osx10.14 Mojave #1250

Closed
@haowanxing

Description

I finished the upgrade of my OS which up to 10.14 (the latest version) but found that SRS was not runnable again. I tried configure and make command. there is no trouble but run the "./objs/srs -c my.conf".

------------------------------------------------------------
~/git/srs/trunk(master) » ./objs/srs -c my.conf                                                                                                                                         anthony@Anthony-Air
'

Translation: The command './objs/srs -c my.conf' is being executed in the directory '~/git/srs/trunk' by the user 'anthony' on the device 'Anthony-Air'.
[2018-10-24 15:55:37.729][trace][13375][0] XCORE-SRS/2.0.257(ZhouGuowen)
[2018-10-24 15:55:37.730][trace][13375][0] config parse complete
[2018-10-24 15:55:37.730][trace][13375][0] write log to console
[2018-10-24 15:55:37.730][trace][13375][0] srs checking config...
[2018-10-24 15:55:37.731][trace][13375][0] detect intranet address: 127.0.0.1, ifname=lo0
[2018-10-24 15:55:37.731][trace][13375][0] retrieve local ipv4 ip=192.168.123.5, index=0
[2018-10-24 15:55:37.731][trace][13375][0] detect intranet address: 192.168.123.5, ifname=en0
[2018-10-24 15:55:37.731][warn][13375][0][0] stats network use index=0, ip=192.168.123.5
[2018-10-24 15:55:37.731][warn][13375][0][0] stats disk list: vda vda1 
[2018-10-24 15:55:37.731][trace][13375][0] write log to console
[2018-10-24 15:55:37.731][trace][13375][0] SRS/2.0.257(ZhouGuowen), stable is SRS/2.0release
[2018-10-24 15:55:37.731][trace][13375][0] license: The MIT License (MIT), Copyright (c) 2013-2015 SRS(ossrs)
[2018-10-24 15:55:37.731][trace][13375][0] primary/master: SRS/2.0release
[2018-10-24 15:55:37.731][trace][13375][0] authors: winlin,wenjie.zhao
[2018-10-24 15:55:37.731][trace][13375][0] contributors: winlin<winlin@vip.126.com> wenjie.zhao<740936897@qq.com> xiangcheng.liu<liuxc0116@foxmail.com> naijia.liu<youngcow@youngcow.net> alcoholyi<alcoholyi@qq.com> byteman<wangchen2011@gmail.com> chad.wang<chad.wang.cn@gmail.com> suhetao<suhetao@gmail.com> Johnny<fengjihu@163.com> karthikeyan<keyanmca@gmail.com> StevenLiu<lq@chinaffmpeg.org> zhengfl<zhengfl_1989@126.com> tufang14<breadbean1449@gmail.com> allspace<allspace@gmail.com> niesongsong<nie950@gmail.com> rudeb0t<nimrod@themanxgroup.tw> CallMeNP<np.liamg@gmail.com> synote<synote@qq.com> lovecat<littlefawn@163.com> panda1986<542638787@qq.com> YueHonghui<hongf.yue@hotmail.com> JuntaoLiu<juntliu@gmail.com> 
[2018-10-24 15:55:37.731][trace][13375][0] uname: Darwin Anthony-Air.lan 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64
[2018-10-24 15:55:37.731][trace][13375][0] build: 2018-10-24 15:54:16, little-endian
[2018-10-24 15:55:37.731][trace][13375][0] configure:  --with-http-callback --with-http-api --with-stream-caster --with-ingest --osx
[2018-10-24 15:55:37.731][trace][13375][0] features: --prefix=/usr/local/srs --with-hls --with-hds --with-dvr --without-nginx --with-ssl --without-ffmpeg --with-transcode --with-ingest --with-stat --with-http-callback --with-http-server --with-stream-caster --with-http-api --with-librtmp --without-research --without-utest --without-gperf --without-gmc --without-gmp --without-gcp --without-gprof --without-arm-ubuntu12 --without-mips-ubuntu12 --log-trace
[2018-10-24 15:55:37.731][trace][13375][0] conf: my.conf, limit: 249
[2018-10-24 15:55:37.731][trace][13375][0] SRS for OSX
[2018-10-24 15:55:37.731][trace][13375][0] writev limits write 1024 iovs a time
[2018-10-24 15:55:37.731][warn][13375][0][0] stream caster is experiment feature.
[2018-10-24 15:55:37.731][trace][13375][0] check feature rtmp handshake: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature hls: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature hds: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature http callback: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature http api: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature http server: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature http parser: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature dvr: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature transcode: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature ingest: on
[2018-10-24 15:55:37.731][trace][13375][0] check feature system stat: on
[2018-10-24 15:55:37.731][warn][13375][0][0] check feature compile nginx: off
[2018-10-24 15:55:37.731][warn][13375][0][0] check feature compile ffmpeg: off
[2018-10-24 15:55:37.731][trace][13375][0] stream caster: on
[2018-10-24 15:55:37.731][trace][13375][0] MR(merged-read): on, @see https://github.com/ossrs/srs/issues/241
[2018-10-24 15:55:37.731][trace][13375][0] MR(merged-read) default 0 sleep 350
[2018-10-24 15:55:37.731][trace][13375][0] MW(merged-write) default sleep 350
[2018-10-24 15:55:37.731][trace][13375][0] read chunk stream cache cid [0, 16)
[2018-10-24 15:55:37.731][trace][13375][0] default gop cache 1, play queue 30s
[2018-10-24 15:55:37.731][trace][13375][0] complex send algorithm enabled.
[2018-10-24 15:55:37.731][warn][13375][0][0] TCP_NODELAY enabled, may hurts performance.
[2018-10-24 15:55:37.731][trace][13375][0] auto guess socket send buffer by merged write
[2018-10-24 15:55:37.731][trace][13375][0] system default latency in ms: mw(0-350) + mr(0-350) + play-queue(0-30000)
[2018-10-24 15:55:37.731][trace][13375][0] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv
[2018-10-24 15:55:37.731][trace][13375][0] http: root mount to ./objs/nginx/html
[2018-10-24 15:55:37.731][trace][13375][0] st_set_eventsys to kqueue
[2018-10-24 15:55:37.732][trace][13375][0] st_init success, use kqueue
[2018-10-24 15:55:37.732][trace][13375][100] server main cid=100, pid=13375, ppid=477, asprocess=0
[2018-10-24 15:55:37.732][trace][13375][100] write pid=13375 to ./objs/srs.pid success!
[1]    13375 illegal hardware instruction  ./objs/srs -c my.conf
------------------------------------------------------------

TRANS_BY_GPT3

Metadata

Assignees

Labels

BugIt might be a bug.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions