drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
171 stars 119 forks source link

Core Dump #109

Closed vandykew closed 1 year ago

vandykew commented 1 year ago

Hello after successfully compiling FS I'm getting a core dump any ideas ?

freeswitch[96195]: segfault at 20 ip 00007f5a43635682 sp 00007fff13f4dc00 error 4 in libprotobuf.so.3.15.8.0[7f5a43614000+171000]

Process 96195 (freeswitch) of user 0 dumped core.#012#012Stack trace of thread 96195:#012#0 0x00007f5a43635682 _ZN6google8protobuf8internal12ExtensionSet14MutableMessageEihRKNS0_11MessageLiteEPKNS0_15FieldDescriptorE (libprotobuf.so.3.15.8.0 + 0xe0682)#012#1 0x00007f5a436dec85 _ZN6google8protobuf8internal12ExtensionSet27ParseFieldWithExtensionInfoINS0_15UnknownFieldSetEEEPKcibRKNS1_13ExtensionInfoEPNS1_16InternalMetadataES6_PNS1_12ParseContextE (libprotobuf.so.3.15.8.0 + 0x189c85)#012#2 0x00007f5a436ddd69 _ZN6google8protobuf8internal12ExtensionSet10ParseFieldEmPKcPKNS0_7MessageEPNS1_16InternalMetadataEPNS1_12ParseContextE (libprotobuf.so.3.15.8.0 + 0x188d69)#012#3 0x00007f5a436c1199 _ZN6google8protobuf13MethodOptions14_InternalParseEPKcPNS0_8internal12ParseContextE (libprotobuf.so.3.15.8.0 + 0x16c199)#012#4 0x00007f5a436c148c _ZN6google8protobuf8internal12ParseContext12ParseMessageINS0_13MethodOptionsEEEPKcPT_S6_ (libprotobuf.so.3.15.8.0 + 0x16c48c)#012#5 0x00007f5a436c1998 _ZN6google8protobuf8internal12ParseContext12ParseMessageINS0_21MethodDescriptorProtoEEEPKcPT_S6_ (libprotobuf.so.3.15.8.0 + 0x16c998)#012#6 0x00007f5a436c4b25 _ZN6google8protobuf8internal12ParseContext12ParseMessageINS0_22ServiceDescriptorProtoEEEPKcPT_S6_ (libprotobuf.so.3.15.8.0 + 0x16fb25)#012#7 0x00007f5a43653020 _ZN6google8protobuf8internal13MergeFromImplILb0EEEbNS0_11StringPieceEPNS0_11MessageLiteENS4_10ParseFlagsE (libprotobuf.so.3.15.8.0 + 0xfe020)#012#8 0x00007f5a436d5198 _ZN6google8protobuf25EncodedDescriptorDatabase3AddEPKvi (libprotobuf.so.3.15.8.0 + 0x180198)#012#9 0x00007f5a43681ce0 _ZN6google8protobuf14DescriptorPool24InternalAddGeneratedFileEPKvi (libprotobuf.so.3.15.8.0 + 0x12cce0)#012#10 0x00007f5a436e04a7 AddDescriptorsImpl (libprotobuf.so.3.15.8.0 + 0x18b4a7)#012#11 0x00007f5a449bafe2 n/a (ld-linux-x86-64.so.2 + 0xffe2)#012#12 0x00007f5a449bb0e9 n/a (ld-linux-x86-64.so.2 + 0x100e9)#012#13 0x00007f5a449ac0ca n/a (ld-linux-x86-64.so.2 + 0x10ca)

davehorton commented 1 year ago

Not really. I use module continously with no problem, but I use my own build scripts and run mostly on debian 10/11

davehorton commented 1 year ago

this script, part of a packer install, is known to work you should adapt this for your needs https://github.com/jambonz/jambonz-infrastructure/blob/main/packer/jambonz-feature-server/scripts/install_freeswitch.sh