[strongSwan] Strongswan 5.6.2: Segfault if charondebug = cfg > 2

Sven Anders anders at anduras.de
Wed Jun 6 10:35:28 CEST 2018


Thanks,

with -O2 it works. My previous version (5.5.1) worked with -O3 and the same compiler
without problems.
Is this a common problem and are there any recommendations regarding the optimization
or compiler flags to use (or not to use)?

Regards
 Sven

Am 05.06.2018 um 22:16 schrieb Noel Kuntze:
> Hi,
> 
> Try with O2, not O3.
> 
> Kind regards
> 
> Noel
> 
> On 05.06.2018 22:11, Sven Anders wrote:
>> Hello!
>>
>> I'm experiencing a segmentation fault, if I set charondebug = cfg to a value greater than 2.
>> I'm using Strongwan 5.6.2 on Linux kernel 4.1.39 on a 32 bit system.
>>
>> Strongswan was compiled with:
>>
>> ./configure CFLAGS="-g -march=core2 -O3 -fstack-protector" LDFLAGS="-D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro,-z,now" --prefix=/usr
>> --sysconfdir=/etc --enable-aes --enable-bliss --enable-blowfish --enable-ccm --enable-chapoly --enable-cmac --enable-ctr --enable-des ...



Mit freundlichen Grüßen
 Sven Anders

-- 
 Sven Anders <anders at anduras.de>                 () UTF-8 Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS intranet security AG
 Messestraße 3 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht: Passau HRB 6032
Mitglieder des Vorstands: Dipl.-Inf. Sven Anders, Dipl.-Inf. Marcus Junker
Vorsitzender des Aufsichtsrats: RA Mark Peters
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anders.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/users/attachments/20180606/1d542a8f/attachment.vcf>


More information about the Users mailing list