You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/tcp_demo...
(gdb) r
Starting program: /home/changyao23/source_code/seastar/demos/build/tcp_demo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
seastar::noncopyable_function<seastar::future (seastar::net::packet)>::operator=(seastar::noncopyable_function<seastar::future (seastar::net::packet)>&&) (x=..., this=0x108) at /home/changyao23/source_code/seastar/include/seastar/util/noncopyable_function.hh:202
202 this->~noncopyable_function();
(gdb) bt
#0 seastar::noncopyable_function<seastar::future (seastar::net::packet)>::operator=(seastar::noncopyable_function<seastar::future (seastar::net::packet)>&&) (x=..., this=0x108) at /home/changyao23/source_code/seastar/include/seastar/util/noncopyable_function.hh:202 #1 seastar::streamseastar::net::packet::start(seastar::noncopyable_function<seastar::future (seastar::net::packet)>) (next=...,
this=0xc8) at /home/changyao23/source_code/seastar/include/seastar/core/stream.hh:69 #2 seastar::streamseastar::net::packet::listen(seastar::noncopyable_function<seastar::future (seastar::net::packet)>) (next=...,
this=0xc8) at /home/changyao23/source_code/seastar/include/seastar/core/stream.hh:89 #3 seastar::net::device::receive(std::function<seastar::future (seastar::net::packet)>) (this=0x555555847180, next_packet=...)
at /home/changyao23/source_code/seastar/src/net/net.cc:230 #4 0x00005555556c51e6 in seastar::net::interface::interface (this=0x7fffffffc940,
dev=std::shared_ptrseastar::net::device (use count 2, weak count 0) = {...}) at /home/changyao23/source_code/seastar/src/net/net.cc:258 #5 0x00005555555a51a6 in main (ac=1, av=0x7fffffffe148) at tcp_demo.cc:67
(gdb)
`
i am just new to seastar , why this error happend , looking forward to your reply, thanks in advance
The text was updated successfully, but these errors were encountered:
hi , i have installed seastar, i builded demos/tpc_demo.cc into an executable
`
g++ tcp_demo.cc
pkg-config --cflags --libs --static $SEASTAR/build/release/seastar.pc
-g -o ./build/tcp_demo`
after that , i launch that executable , but i got into Segmentation fault
`
changyao23@ubuntu:~/source_code/seastar/demos$ ./build/tcp_demo
Segmentation fault (core dumped)
`
i use gdb to show more information
`
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/tcp_demo...
(gdb) r
Starting program: /home/changyao23/source_code/seastar/demos/build/tcp_demo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
seastar::noncopyable_function<seastar::future (seastar::net::packet)>::operator=(seastar::noncopyable_function<seastar::future (seastar::net::packet)>&&) (x=..., this=0x108) at /home/changyao23/source_code/seastar/include/seastar/util/noncopyable_function.hh:202
202 this->~noncopyable_function();
(gdb) bt
#0 seastar::noncopyable_function<seastar::future (seastar::net::packet)>::operator=(seastar::noncopyable_function<seastar::future (seastar::net::packet)>&&) (x=..., this=0x108) at /home/changyao23/source_code/seastar/include/seastar/util/noncopyable_function.hh:202
#1 seastar::streamseastar::net::packet::start(seastar::noncopyable_function<seastar::future (seastar::net::packet)>) (next=...,
this=0xc8) at /home/changyao23/source_code/seastar/include/seastar/core/stream.hh:69
#2 seastar::streamseastar::net::packet::listen(seastar::noncopyable_function<seastar::future (seastar::net::packet)>) (next=...,
this=0xc8) at /home/changyao23/source_code/seastar/include/seastar/core/stream.hh:89
#3 seastar::net::device::receive(std::function<seastar::future (seastar::net::packet)>) (this=0x555555847180, next_packet=...)
at /home/changyao23/source_code/seastar/src/net/net.cc:230
#4 0x00005555556c51e6 in seastar::net::interface::interface (this=0x7fffffffc940,
dev=std::shared_ptrseastar::net::device (use count 2, weak count 0) = {...}) at /home/changyao23/source_code/seastar/src/net/net.cc:258
#5 0x00005555555a51a6 in main (ac=1, av=0x7fffffffe148) at tcp_demo.cc:67
(gdb)
`
i am just new to seastar , why this error happend , looking forward to your reply, thanks in advance
The text was updated successfully, but these errors were encountered: