Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有任何修改,运行simple_quic_server出现segmentation fault #25

Open
myk12 opened this issue Oct 8, 2023 · 0 comments
Open

Comments

@myk12
Copy link

myk12 commented Oct 8, 2023

编译完成之后按照README.md执行simple_quic_server时出现段错误。
环境:
Linux MSN-Desktop-myk 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

尝试过切换多个tag版本的代码,均有这个问题。

以下是简单的log(执行simle_quic_server时候没有加选项,但是不影响结果)。

编译:

myk@MSN-Desktop-myk:~/Project/quiche/build$ make simple_quic_server
[  3%] Built target gurl
[  5%] Built target fmt
[  5%] Built target absl_log_severity
[  6%] Built target absl_raw_logging_internal
[  6%] Built target absl_spinlock_wait
[  6%] Built target absl_base
[  6%] Built target absl_malloc_internal
[  6%] Built target absl_throw_delegate
[  6%] Built target absl_strerror
[  7%] Built target absl_time_zone
[  7%] Built target absl_debugging_internal
[  7%] Built target absl_stacktrace
[  7%] Built target absl_strings_internal
[  7%] Built target absl_demangle_internal
[  7%] Built target absl_int128
[ 10%] Built target absl_strings
[ 10%] Built target absl_symbolize
[ 11%] Built target absl_exponential_biased
[ 11%] Built target absl_graphcycles_internal
[ 12%] Built target absl_civil_time
[ 13%] Built target absl_time
[ 15%] Built target absl_synchronization
[ 16%] Built target absl_hashtablez_sampler
[ 17%] Built target absl_bad_optional_access
[ 17%] Built target absl_raw_hash_set
[ 18%] Built target absl_flags_program_name
[ 20%] Built target absl_flags_config
[ 20%] Built target absl_str_format_internal
[ 20%] Built target absl_flags_marshalling
[ 20%] Built target absl_flags_commandlineflag_internal
[ 20%] Built target absl_flags_commandlineflag
[ 20%] Built target absl_flags_private_handle_accessor
[ 20%] Built target absl_bad_variant_access
[ 20%] Built target absl_city
[ 21%] Built target absl_low_level_hash
[ 21%] Built target absl_hash
[ 22%] Built target absl_cord_internal
[ 22%] Built target absl_cordz_functions
[ 22%] Built target absl_cordz_handle
[ 22%] Built target absl_cordz_info
[ 22%] Built target absl_cord
[ 22%] Built target absl_flags_reflection
[ 22%] Built target absl_flags_internal
[ 22%] Built target absl_flags
[ 22%] Built target absl_flags_usage_internal
[ 22%] Built target absl_flags_usage
[ 22%] Built target absl_flags_parse
[ 22%] Built target absl_status
[ 24%] Built target absl_statusor
[ 24%] Built target global_target
[ 27%] Built target fipsmodule
[ 55%] Built target crypto
[ 59%] Built target ssl
[ 98%] Built target quiche
Consolidate compiler generated dependencies of target simple_quic_server
[ 98%] Building CXX object CMakeFiles/simple_quic_server.dir/gquiche/quic/tools/quic_server_bin.cc.o
[ 98%] Building CXX object CMakeFiles/simple_quic_server.dir/gquiche/quic/tools/quic_toy_server.cc.o
[ 98%] Linking CXX executable simple_quic_server
[100%] Built target simple_quic_server
myk@MSN-Desktop-myk:~/Project/quiche/build$ ls
CMakeCache.txt  Makefile  cmake_install.cmake  gquiche      simple_quic_client  test.c
CMakeFiles      a.out     googleurl            libquiche.a  simple_quic_server  third_party
myk@MSN-Desktop-myk:~/Project/quiche/build$

执行:

myk@MSN-Desktop-myk:~/Project/quiche/build$ ./simple_quic_server
Segmentation fault
myk@MSN-Desktop-myk:~/Project/quiche/build$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant