-
Notifications
You must be signed in to change notification settings - Fork 93
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
NGREST Crashes after some time running #48
Comments
Please check if it works. |
sorry. Will try tonight and come back to you. Same with the other issue |
Fixed. |
Hi, sorry, I spoke too soon. This error happened again (with your latest code): E/05-02-2018 23:33:17.499 Server.cpp:325 closeConnection: Failed to remove client No such file or directory |
Can you please send me a clean example on how to reproduce this issue. A service and the curl/wrk command? And how many requests you've done to reproduce? |
Hi, i reproduced it again, with debug build. The core says the following: [Thread debugging using libthread_db enabled] Also attached the valgrind core file |
HI Cam you provide a test case/ code /etc to rteproduce the exact issue? The logs you have given are a great help but I would like to reproduce the problem. Yours sincerely, |
Dear all,
When running ngrest for a while, I get a crash. I have compiled in debug, and got the following stack trace. If you can give me some advise on this, I would appreciate it.
Thanks,
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by
./bin/kpsr_bst_eventloop_example -a 9090'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fc076698428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7fc074e38700 (LWP 4402))] b(gdb) bt #0 0x00007fc076698428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007fc07669a02a in __GI_abort () at abort.c:89 #2 0x00007fc0766da7ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fc0767f3e98 "*** Error in
%s': %s: 0x%s **\n")at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007fc0766e64aa in malloc_printerr (ar_ptr=0x3, ptr=, str=, action=3) at malloc.c:5006
#4 _int_realloc (av=av@entry=0x7fc058000020, oldp=oldp@entry=0x7fc058002db0, oldsize=oldsize@entry=7162798707571975528, nb=nb@entry=4112)
at malloc.c:4252
#5 0x00007fc0766e7839 in __GI___libc_realloc (oldmem=0x7fc058002dc0, bytes=4096) at malloc.c:3045
#6 0x00007fc075ed5d6d in ngrest::MemPool::newChunk (this=0x7fc06c002e60, size=4096)
at /home/pablogh/thirdparties/ngrest/core/utils/src/MemPool.cpp:156
#7 0x00007fc0777be82d in ngrest::MemPool::grow (this=0x7fc06c002e60, growSize=32)
at /home/pablogh/thirdparties/klepsydra/kpsr-admin/../../ngrest/build/deploy/include/ngrest/utils/MemPool.h:211
#8 0x00007fc0777ced1e in ngrest::MemPool::alloc<ngrest::NamedNode, char const> (this=0x7fc06c002e60, p1=0x7fc0777dc666 "type")
at /home/pablogh/thirdparties/klepsydra/kpsr-admin/../../ngrest/build/deploy/include/ngrest/utils/MemPool.h:74
#9 0x00007fc0777d3b67 in kpsr::admin::PublisherStatisticsSerializer::serialize (context=0x7fc06c003c58, value=..., node=0x7fc058006c5c)
at /home/pablogh/thirdparties/klepsydra/kpsr-admin/build/modules/core/ngrest_codegen/publisher_statisticsWrapper.cpp:60
#10 0x00007fc0777c716c in kpsr::admin::restapi::RestAdminInterfaceWrapper::Callback_getAllPublisherStatistics::success (this=0x7fc058005e08,
result=std::vector of length 17, capacity 17 = {...})
at /home/pablogh/thirdparties/klepsydra/kpsr-admin/build/modules/core/ngrest_codegen/rest_admin_interfaceWrapper.cpp:209
The text was updated successfully, but these errors were encountered: