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

coredump好多,凌乱了,第三章基于cube的密码算法演示系统总是跑不成功 #4

Open
twoconk opened this issue Aug 27, 2020 · 0 comments

Comments

@twoconk
Copy link

twoconk commented Aug 27, 2020

Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64
(gdb) bt
#0 0x00007ffff657fb4e in Memcpy (dest=0x7fffb5cc6020, src=0x7fffec0dc3f4, count=775130017) at memfunc.c:34
#1 0x00007ffff6d9f617 in _elem_set_bin_value (addr=0x7fffec0dc640, data=0x7fffec0dc3f4, elem=0x696570) at struct_init.c:780
#2 0x00007ffff6d9bbda in proc_blob_2_struct (addr=0x7fffec0dc640, data=0x7fffec0dc3c0, elem=0x696570, para=0x7ffff6fa3b8c <my_para.2655>)
at struct_deal.c:873
#3 0x00007ffff6d9a3d8 in _convert_frame_func (addr=0x7fffec0dc640, data=0x7fffec0dc3c0, struct_template=0x6963a0, funcs=0x7ffff557cb40,
para=0x7ffff6fa3b8c <my_para.2655>) at struct_deal.c:151
#4 0x00007ffff6d9bc63 in blob_2_struct (blob=0x7fffec0dc3c0, addr=0x7fffec0dc640, struct_template=0x6963a0) at struct_deal.c:889
#5 0x00007ffff73bde2f in message_get_record (message=0x7fffec0dc2a0, msg_record=0x7ffff557cc08, record_no=0) at message.c:1798
#6 0x00007ffff73bc8b8 in message_load_record (message=0x7fffec0dc2a0) at message.c:966
#7 0x00007ffff598a131 in message_read_from_conn (message=0x7ffff557de48, conn=0x7fffec0008d0) at connector_process_func.c:122
#8 0x00007ffff598ae66 in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:560
#9 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6a5f20) at ex_module.c:488
#10 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#11 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff557e700 (LWP 17538)]
0x00007ffff637d4f3 in Free (pointer=0x0) at alloc.c:221
221 switch(mem_head->type)
Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64
(gdb) bt
#0 0x00007ffff637d4f3 in Free (pointer=0x0) at alloc.c:221
#1 0x00007ffff6d9b712 in proc_struct_free (addr=0x7fffec153080, data=0x0, elem=0x696570, para=0x0) at struct_deal.c:715
#2 0x00007ffff6d9a3d8 in _convert_frame_func (addr=0x7fffec153080, data=0x0, struct_template=0x6963a0, funcs=0x7ffff557cb40, para=0x0)
at struct_deal.c:151
#3 0x00007ffff6d9b780 in struct_free (addr=0x7fffec153080, struct_template=0x6963a0) at struct_deal.c:729
#4 0x00007ffff73bde69 in message_get_record (message=0x7fffec152ce0, msg_record=0x7ffff557cc08, record_no=0) at message.c:1801
#5 0x00007ffff73bc8b8 in message_load_record (message=0x7fffec152ce0) at message.c:966
#6 0x00007ffff598a131 in message_read_from_conn (message=0x7ffff557de48, conn=0x7fffec0008d0) at connector_process_func.c:122
#7 0x00007ffff598ae66 in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:560
#8 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6a5f20) at ex_module.c:488
#9 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#10 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff557e700 (LWP 21765)]
0x00007ffff6fa81dd in connector_get_type (connector=0x0) at connector.c:157
157 return this_conn->conn_type;
(gdb) bt
#0 0x00007ffff6fa81dd in connector_get_type (connector=0x0) at connector.c:157
#1 0x00007ffff598b38d in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:740
#2 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6a5f30) at ex_module.c:488
#3 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#4 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6
(gdb) p this_conn
$1 = (struct tcloud_connector *) 0x0
(gdb)

Program received signal SIGTERM, Terminated.
0x00007ffff6169017 in pthread_join () from /usr/lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64
(gdb) bt
#0 0x00007ffff6169017 in pthread_join () from /usr/lib64/libpthread.so.0
#1 0x00007ffff79d2225 in ex_module_join (ex_mod=0x6a56c0, retval=0x6a6650) at ex_module.c:559
#2 0x00000000004020e7 in main (argc=1, argv=0x7fffffffe058) at main_proc.c:334

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff537b700 (LWP 23211)]
0x00007ffff616e6fd in write () from /usr/lib64/libpthread.so.0
(gdb) bt
#0 0x00007ffff616e6fd in write () from /usr/lib64/libpthread.so.0
#1 0x00007ffff6fa9bec in connector_af_inet_write (connector=0x6a3850, buf=0x7fffec1ba600, count=1005) at connector_inet.c:888
#2 0x00007ffff598a1c4 in message_send (message=0x7fffdc0a1800, conn=0x6a3850) at connector_process_func.c:143
#3 0x00007ffff598b43a in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:764
#4 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6ab660) at ex_module.c:488
#5 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#6 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6
(gdb)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff537b700 (LWP 24726)]
0x00007ffff73ba8f0 in message_get_flag (message=0x0) at message.c:84
84 return msg_box->head.flag;
Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64
(gdb) bt
#0 0x00007ffff73ba8f0 in message_get_flag (message=0x0) at message.c:84
#1 0x00007ffff598a115 in message_read_from_conn (message=0x7ffff537ae48, conn=0x6a3850) at connector_process_func.c:119
#2 0x00007ffff598ad2b in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:525
#3 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6ab660) at ex_module.c:488
#4 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#5 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff537b700 (LWP 25468)]
0x00007ffff71b2db4 in memdb_get_template (type=1, subtype=1) at memdb_init.c:711
711 return db_list->struct_template;
(gdb) bt
#0 0x00007ffff71b2db4 in memdb_get_template (type=1, subtype=1) at memdb_init.c:711
#1 0x00007ffff73bca30 in message_load_expand (message=0x7fffec2c0980) at message.c:1026
#2 0x00007ffff598a161 in message_read_from_conn (message=0x7ffff537ae48, conn=0x6a3850) at connector_process_func.c:129
#3 0x00007ffff598ad32 in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:525
#4 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6ab660) at ex_module.c:488
#5 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#6 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6
(gdb) p db_list
$1 = (struct memdb_desc *) 0x0
(gdb)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff537b700 (LWP 26204)]
0x00007ffff5ccdb70 in __strncmp_sse42 () from /usr/lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-307.el7.1.x86_64
(gdb) bt
#0 0x00007ffff5ccdb70 in __strncmp_sse42 () from /usr/lib64/libc.so.6
#1 0x00007ffff6faae65 in hub_get_connector_byreceiver (hub=0x6a26b0, uuid=0x0, name=0x7fffdc000c48 "sender_crypthub", service=0x0)
at connect_message.c:59
#2 0x00007ffff598b3dd in proc_conn_start (sub_proc=0x6a2570, para=0x0) at connector_process_func.c:746
#3 0x00007ffff79d209d in _ex_module_passpara (pointer=0x6ab660) at ex_module.c:488
#4 0x00007ffff6167ea5 in start_thread () from /usr/lib64/libpthread.so.0
#5 0x00007ffff5c8c8dd in clone () from /usr/lib64/libc.so.6
(gdb)

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