Date: Fri, 06 Jan 2023 20:21:42 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268791] security/i2pd: Problems with build options in version 2.45.0 Message-ID: <bug-268791-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268791 Bug ID: 268791 Summary: security/i2pd: Problems with build options in version 2.45.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: driesm@freebsd.org Reporter: admin@support.od.ua Assignee: driesm@freebsd.org Flags: maintainer-feedback?(driesm@freebsd.org) Problems with build options in version 2.45.0. The project repository has a Makefile.bsd file that needs to be moved to the port's Makefile. Now, after about half an hour, i2pd is crashing. # uname -a FreeBSD 12.3-STABLE #0 r372170M: Mon Jun 27 19:29:31 EEST 2022 # clang++ -dumpversion 13.0.0 (gdb) bt #0 memcpy () at /usr/src/lib/libc/amd64/string/memmove.S:306 #1 0x00000000005b9cd7 in i2p::data::LeaseSet::LeaseSet (this=3D0x802e13158, buf=3D0x803e660a3 "=C7=8A=CC=8F\247\353\266S\303\353\212\005\065\ad\214)=DA=AA\021\246\025>A= =DB=9B9\034\202i$]\316U=CC=AC\336\367\023\276\355XuZT\005Q+\241\213\345W\26= 4\025p`\375\201\027c\254%\302FH\360\357=3D\353\224y\a\332f\266\260\374\331= =DA=B45\025\020=C5=88\016=D8=AD\225\226Mi+\300\060\323[Q\305\061\355.\341\2= 73a\022\325\363dy\376\245\203\035n\031\253v8bl\021J\035+o:\215\215\071\232y= F[\246\322\323\036\200\217\341`\341\024\250\263\343\017Sg=D8=8E\f\021l\035h= \360\212z\304\022\065\223\362\215\234\323`\344d\030P\223\247\340\310\034\24= 0\205@b\267\021\256$c\214\071;~\214\240\060\271\020\234ck\271"..., len=3D47124, storeLeases=3Dfalse) at libi2pd/LeaseSet.cpp:33 #2 0x00000000005f8668 in std::__1::__shared_ptr_emplace<i2p::data::LeaseSe= t, std::__1::allocator<i2p::data::LeaseSet> >::__shared_ptr_emplace<unsigned c= har const*&, int&, bool> (this=3D0x802e13140, __a=3D..., __args=3D@0x7fffdfdfbe= 27: false, __args=3D@0x7fffdfdfbe27: false, __args=3D@0x7fffdfdfbe27: false) at /usr/include/c++/v1/__memory/shared_ptr.h:298 #3 0x00000000005f8518 in std::__1::allocate_shared<i2p::data::LeaseSet, std::__1::allocator<i2p::data::LeaseSet>, unsigned char const*&, int&, bool, void> (__a=3D..., __args=3D@0x7fffdfdfbe27: false, __args=3D@0x7fffdfdfbe27: false, __args=3D@0x7fffdfdfbe27: false) at /usr/include/c++/v1/__memory/shared_ptr.h:1106 #4 0x00000000005e80a5 in std::__1::make_shared<i2p::data::LeaseSet, unsign= ed char const*&, int&, bool, void> (__args=3D@0x7fffdfdfbe27: false, __args=3D@0x7fffdfdfbe27: false, __args=3D@0x7fffdfdfbe27: false) at /usr/include/c++/v1/__memory/shared_ptr.h:1115 #5 0x00000000005da5af in i2p::data::NetDb::AddLeaseSet (this=3D0xe0b700 <i2p::data::netdb>, ident=3D..., buf=3D0x803e660a3 "=C7=8A=CC=8F\247\353\266S\303\353\212\005\065\ad\214)=DA=AA\021\246\025>A= =DB=9B9\034\202i$]\316U=CC=AC\336\367\023\276\355XuZT\005Q+\241\213\345W\26= 4\025p`\375\201\027c\254%\302FH\360\357=3D\353\224y\a\332f\266\260\374\331= =DA=B45\025\020=C5=88\016=D8=AD\225\226Mi+\300\060\323[Q\305\061\355.\341\2= 73a\022\325\363dy\376\245\203\035n\031\253v8bl\021J\035+o:\215\215\071\232y= F[\246\322\323\036\200\217\341`\341\024\250\263\343\017Sg=D8=8E\f\021l\035h= \360\212z\304\022\065\223\362\215\234\323`\344d\030P\223\247\340\310\034\24= 0\205@b\267\021\256$c\214\071;~\214\240\060\271\020\234ck\271"..., len=3D47124) at libi2pd/NetDb.cpp:354 #6 0x00000000005d530c in i2p::data::NetDb::HandleDatabaseStoreMsg (this=3D0xe0b700 <i2p::data::netdb>, m=3D...) at libi2pd/NetDb.cpp:815 #7 0x00000000005d454e in i2p::data::NetDb::Run (this=3D0xe0b700 <i2p::data::netdb>) at libi2pd/NetDb.cpp:128 #8 0x00000000005f5cc9 in std::__1::__invoke<void (i2p::data::NetDb::*&)(), i2p::data::NetDb*&, , void>(void (i2p::data::NetDb::*&)(), i2p::data::NetDb= *&) ( __f=3D@0x802760508: (void (i2p::data::NetDb::*)(i2p::data::NetDb * cons= t)) 0x5d4380 <i2p::data::NetDb::Run()>, __a0=3D@0x802760518: 0xe0b700 <i2p::data::netdb>) at /usr/include/c++/v1/type_traits:3859 #9 0x00000000005f5c4d in std::__1::__apply_functor<void (i2p::data::NetDb::*)(), std::__1::tuple<i2p::data::NetDb*>, 0ul, std::__1::tuple<> >(void (i2p::data::NetDb::*&)(), std::__1::tuple<i2p::data::NetDb*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) ( __f=3D@0x802760508: (void (i2p::data::NetDb::*)(i2p::data::NetDb * cons= t)) 0x5d4380 <i2p::data::NetDb::Run()>, __bound_args=3D..., __args=3D...) at /usr/include/c++/v1/__functional/bind.h:257 #10 0x00000000005f5bee in std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*>::operator()<>() (this=3D0x802760508) at /usr/include/c++/v1/__functional/bind.h:292 #11 0x00000000005f5b85 in std::__1::__invoke<std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*>>(std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*>&&) (__f=3D...) at /usr/include/c++/v1/type_traits:3918 #12 0x00000000005f5b65 in std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*>>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread= _struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*>>&, std::__1::__tuple_indices<>) (__t=3D...) at /usr/include/c++/v1/thread:280 #13 0x00000000005f58e0 in std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__t= hread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (i2p::data::NetDb::*)(), i2p::data::NetDb*> > > (__vp=3D0x802760500) at /usr/include/c++/v1/thread:291 #14 0x000000080135708c in thread_start (curthread=3D0x8017bfe00) at /usr/src/lib/libthr/thread/thr_create.c:292 #15 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdfdfd000 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268791-7788>