Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

someone has the same core information?? #130

Open
jacksu opened this issue Mar 15, 2019 · 2 comments
Open

someone has the same core information?? #130

jacksu opened this issue Mar 15, 2019 · 2 comments

Comments

@jacksu
Copy link

jacksu commented Mar 15, 2019

(gdb) bt
#0 0x000000000043ce8b in htparser_run ()
#1 0x00000000004358f5 in htp__connection_readcb_ ()
#2 0x00007f5a10d6c24c in bufferevent_run_deferred_callbacks_locked (cb=Unhandled dwarf expression opcode 0xf3
) at bufferevent.c:149
#3 0x00007f5a10d7611f in event_process_active_single_queue (base=0x2be3b650, activeq=0x2d975020, max_to_process=2147483647, endtime=0x0) at event.c:1675
#4 0x00007f5a10d76bef in event_process_active (base=0x2be3b650, flags=0) at event.c:1738
#5 event_base_loop (base=0x2be3b650, flags=0) at event.c:1961
#6 0x000000000040c365 in main (argc=Unhandled dwarf expression opcode 0xf3
) at ors/ranker.cc:74

@NathanFrench
Copy link
Collaborator

Can you provide any more information? The more detailed you are, the better I can help you.

@jacksu
Copy link
Author

jacksu commented Mar 17, 2019

Thanks. When I run evhtp, when the client concurrently is large, the core dump will be in this place.The code is below:

evbase_t *evbase = event_base_new();
evhtp_t *htp = evhtp_new(evbase, NULL);

/* 设置回调函数 /
evhtp_set_cb(htp, "/rank", vrains_rank, NULL);
evhtp_set_cb(htp, "/ping", vrains_ping, NULL);
evhtp_enable_flag(htp, EVHTP_FLAG_ENABLE_ALL);
/
监听本地所有IP的8080端口, backlog为1024 /
evhtp_bind_socket(htp, "0.0.0.0", 9875, 1024);
/
进入循环、监听连接,http server开始工作 */
event_base_loop(evbase, 0);

@NathanFrench

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants