aas*_*han 1 xampp apache2 18.04
我尝试在 ubuntu 18.04 上安装 XAMPP,但通过运行以下命令从 libpng 收到此警告:
sudo ./xampp-linux-x64-7.3.9-0-installer.run
Run Code Online (Sandbox Code Playgroud)
需要考虑的是,我在所有版本的 XAMPP 上都收到此警告。有人已经在 libpng warning 中问了同样的问题:Application jmp_buf sizechanged - while Installation XAMPP但答案是无用的。这是一个卑微的请求,请帮忙。
自从过去两天以来我无法安装 XAMPP。
小智 5
通过使用 strace 运行 xampp 安装程序解决了这个问题:
sudo strace -Ff -tt ./xampp-linux-x64-7.4.2-0-installer.run 2>&1 | tee strace-xampp.log
Run Code Online (Sandbox Code Playgroud)
打开 strace-xampp.log 并在日志的最后看到 NotoColorEmoji.ttf 导致应用程序崩溃
[pid 44306] 06:00:07.874986 stat("/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", {st_mode=S_IFREG|0644, st_size=7745408, ...}) = 0
[pid 44306] 06:00:07.875040 openat(AT_FDCWD, "/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", O_RDONLY) = 23
[pid 44306] 06:00:07.875118 fcntl(23, F_SETFD, FD_CLOEXEC) = 0
[pid 44306] 06:00:07.875142 fstat(23, {st_mode=S_IFREG|0644, st_size=7745408, ...}) = 0
[pid 44306] 06:00:07.875183 mmap(NULL, 7745408, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7f2b12e49000
[pid 44306] 06:00:07.875229 close(23) = 0
[pid 44306] 06:00:07.875325 write(2, "libpng warning: Application jmp_"..., 48libpng warning: Application jmp_buf size changed) = 48
[pid 44306] 06:00:07.875359 write(2, "\n", 1
) = 1
[pid 44306] 06:00:07.875411 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x40} ---
[pid 44307] 06:00:07.875440 <... select resumed> <unfinished ...>) = ?
[pid 44307] 06:00:07.974988 +++ killed by SIGSEGV (core dumped) +++
06:00:07.975443 +++ killed by SIGSEGV (core dumped) +++
Run Code Online (Sandbox Code Playgroud)
所以我通过运行删除了整个字体
sudo rm -rf /usr/share/fonts/truetype/noto
Run Code Online (Sandbox Code Playgroud)
希望这可以帮助。
| 归档时间: |
|
| 查看次数: |
1319 次 |
| 最近记录: |