Re: [emailrelay-help] Segmentation fault in emailrelay on armhf architecture
SMTP email proxy and relay server
Brought to you by:
graeme_walker
From: Christoph P. <Chr...@pl...> - 2017-09-10 11:18:06
|
Hello, I now added some calls of prctl(PR_SET_DUMPABLE, 1), so that a core dump is created even after setuid and its variants, and re-compiled with appropriate debugger options. After emailrelay had crashed, a gdb 'bt' call showed: #0 size (this=this@entry=0xbe8a91d0) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.h:725 #1 std::string::find (this=this@entry=0xbe8a91d0, __c=__c@entry=61 '=', __pos=__pos@entry=0) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.tcc:763 #2 0x0001e3ec in Main::Configuration::listeningInterfaces (this=this@entry=0x1a51470, protocol="smtp") at configuration.cpp:90 #3 0x0002127a in Main::Run::checkPorts (this=this@entry=0xbe8a94b8) at run.cpp:229 #4 0x000220f2 in Main::Run::runCore (this=this@entry=0xbe8a94b8) at run.cpp:302 #5 0x00022a8c in Main::Run::run (this=this@entry=0xbe8a94b8) at run.cpp:251 #6 0x00015b64 in main (argc=<optimized out>, argv=0xbe8a96f4) at main.cpp:54 Regards Christoph |