Molunerfinn / PicGo

:rocket:A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
https://molunerfinn.com/PicGo/
MIT License
24.24k stars 2.24k forks source link

[Bug]: 第 2 行: 372019 追踪与中断点陷阱(核心已转储) #1157

Open slcnx opened 1 year ago

slcnx commented 1 year ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

2.3.1

系统信息 | System Information

Linux

问题重现 | Bug reproduce

slc@leo-song:~/apps/picgo$ cat picgo.service 
[Unit]
Description=Picgo Service, Typora used

[Service]
Type=simple
ExecStart=bash -c '/home/slc/apps/picgo/start-picgo.sh'
#ExecStart=/home/slc/apps/picgo/picgo
User=slc
Group=slc
Restart=on-failure
LimitNOFILE=16384

[Install]
WantedBy=multi-user.target
slc@leo-song:~/apps/picgo$ cat start-picgo.sh 
. /etc/profile
/home/slc/apps/picgo/picgo
tail -f /etc/hosts
slc@leo-song:~/apps/picgo$ cat start-command.sh 
sudo cp picgo.service /etc/systemd/system/
sudo systemctl daemon-reload ; systemctl restart picgo ; systemctl status picgo

我通过start-command.sh脚本跑起来服务

相关日志 | Logs

7月 19 08:21:09 leo-song bash[380414]: ff02::2 ip6-allrouters 7月 19 08:21:09 leo-song bash[380414]: ff02::1 ip6-allnodes 7月 19 08:21:09 leo-song bash[380414]: ff00::0 ip6-mcastprefix 7月 19 08:21:09 leo-song bash[380414]: fe00::0 ip6-localnet 7月 19 08:21:09 leo-song bash[380414]: ::1 ip6-localhost ip6-loopback 7月 19 08:21:09 leo-song bash[380414]: # The following lines are desirable for IPv6 capable hosts 7月 19 08:21:09 leo-song bash[380414]: 127.0.1.1 slc-MS-7D18 7月 19 08:21:09 leo-song bash[380414]: 127.0.0.1 localhost 7月 19 08:21:09 leo-song bash[380171]: /home/slc/apps/picgo/start-picgo.sh: 第 2 行: 380190 追踪与中断点陷阱(核心已转储) /home/slc/apps/picgo/picgo

Molunerfinn commented 1 year ago

没法帮助 我用的不是linux 对linux生态的玩法也不熟悉