运行时出现问题让我抓狂,希望得到一些调试帮助。基本上,我试图在 Debian Stretch 上安装 Google Chrome 以便与 selenium 一起使用,虽然安装顺利,但它在启动时因 SIGTRAP 崩溃
我尝试安装大约 10 个不同版本的 Chrome,得到相同的输出:
google-chrome --version
跟踪陷阱谷歌浏览器
如果我运行,strace
我会得到以下输出(截断显示最后几行)
mprotect(0x7f91db20e000, 4096, PROT_READ) = 0 mprotect(0x7f91dbaca000, 28672, PROT_READ) = 0 mprotect(0x7f91dbe13000, 20480, PROT_READ) = 0 mprotect(0x7f91db8a0000, 12288, PROT_READ) = 0 mprotect(0x560e58168000, 8253440, PROT_READ) = 0 mprotect(0x7f91dc9c7000, 4096, PROT_READ) = 0 munmap(0x7f91dc9ba000, 51848) = 0 set_tid_address(0x7f91dc90bed0) = 12969 set_robust_list(0x7f91dc90bee0, 24) = 0 , {sa_handler=0x7f91dc388bd0, sa_mask=[], sa_flags=SA_RESTORER| SA_SIGINFO, sa_restorer=0x7f91dc3940e0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f91dc388c60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_retorer=0x7f91dc3940e0}, , 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 getrandom("\31\366\336bs\314C\251", 8, 0) = 8 getrandom("\340\364w\342"\321\363\304", 8, 0) = 8 mmap(0xb8400000000, 8589934592, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (无法分配内存) mmap(0xb8400000000, 8589934592, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (无法分配内存) --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} --- +++ 被 SIGTRAP ++ 杀死+
谢谢你!!