编译器的问题怎么那么多[不是编译器,是librsvg2的问题]

/bin/sh: line 4: 18069 Segmentation fault (core dumped) /usr/bin/gtk-encode-symbolic-svg ../../Adwaita/scalable/$file $size -o /builddir/build/BUILDROOT/adwaita-icon-theme-3.28.0-1.fc28.mips64el/usr/share/icons/Adwaita/$size/$context
---------------
确定是 librsvg2 的问题。2.42 有问题,降级到之前编译的 2.40 就没事了。
--------
再更新,这东西好像是 rustc 的问题。新版本 rustc 解决了这个问题。
已邀请:

xuchenghua

赞同来自:

1、随机的还是固定的segfault?
 

jiangtao9999

赞同来自:

难道是 glibc 的问题!!!!!
<mock-chroot> sh-4.4# gdb --args /usr/bin/gtk-encode-symbolic-svg ../../Adwaita/scalable/./apps/utilities-terminal-symbolic.svg 24x24 -o /builddir/build/BUILDROOT/adwaita-icon-theme-3.28.0-1.fc28.mips64el/usr/share/icons/Adwaita/24x24/./apps
GNU gdb (GDB) Fedora 8.1-11.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mips64el-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gtk-encode-symbolic-svg...Reading symbols from /usr/bin/gtk-encode-symbolic-svg...
warning: Loadable section ".note.ABI-tag" outside of ELF segments
(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: dnf debuginfo-install gtk3-devel-3.22.29-1.fc28.mips64el
(gdb) run
Starting program: /usr/bin/gtk-encode-symbolic-svg ../../Adwaita/scalable/./apps/utilities-terminal-symbolic.svg 24x24 -o /builddir/build/BUILDROOT/adwaita-icon-theme-3.28.0-1.fc28.mips64el/usr/share/icons/Adwaita/24x24/./apps
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000000fff6fa45fc in strlen () from /lib64/libc.so.6
(gdb)

要回复问题请先登录注册