SDL2_init Program received signal SIGSEGV, Segmentation fault.

#0  0x00007ffff7daf48c in process_line (line=0x7ffff7a8f920 "# /etc/nsswitch.conf\n", data=0x7fffffffacf0) at ../include/ctype.h:41
#1  nss_database_reload_1 (fp=0x7ffff7a8f740, data=0x7fffffffacf0) at ./nss/nss_database.c:294
#2  nss_database_reload (initial=0x7fffffffac30, staging=0x7fffffffacf0) at ./nss/nss_database.c:332
#3  nss_database_check_reload_and_get (local=0x7ffff7a8f660, result=result@entry=0x7fffffffaea8, database_index=database_index@entry=nss_database_hosts) at ./nss/nss_database.c:448
#4  0x00007ffff7dafaff in __GI___nss_database_get (db=db@entry=nss_database_hosts, actions=actions@entry=0x7fffffffaea8) at ./nss/nss_database.c:472
#5  0x00007ffff7d64c81 in get_nss_addresses (res=0x7fffffffaec0, tmpbuf=0x7fffffffb010, req=0x7fffffffb580, name=0x7ffff7a8f640 "localhost") at ../sysdeps/posix/getaddrinfo.c:611
#6  gaih_inet (tmpbuf=0x7fffffffb010, naddrs=<synthetic pointer>, pai=0x7fffffffae90, req=<optimized out>, service=<optimized out>, name=<optimized out>) at ../sysdeps/posix/getaddrinfo.c:1179
#7  __GI_getaddrinfo (name=<optimized out>, service=<optimized out>, hints=<optimized out>, pai=<optimized out>) at ../sysdeps/posix/getaddrinfo.c:2397
#8  0x00007ffff7e8f48c in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#9  0x00007ffff7e91d09 in xcb_connect_to_display_with_auth_info () from /lib/x86_64-linux-gnu/libxcb.so.1
#10 0x00007ffff7eebeea in _XConnectXCB () from /lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007ffff7edbb69 in XOpenDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
#12 0x00000000005760cd in X11_CreateDevice ()
#13 0x0000000000473931 in SDL_VideoInit_REAL ()
#14 0x00000000005a030c in SDL_InitSubSystem_REAL ()
#15 0x00000000005a0479 in SDL_Init_REAL ()
#16 0x0000000000401ff8 in SDL_Init_DEFAULT ()
#17 0x000000000040bc18 in SDL_Init ()
#18 0x0000000000401ed1 in SDL2_init(int, int) ()
#19 0x0000000000401f65 in main ()
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值