From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10723 invoked from network); 28 Oct 2021 21:34:17 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 28 Oct 2021 21:34:17 -0000 Received: (qmail 28439 invoked by uid 550); 28 Oct 2021 21:34:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28404 invoked from network); 28 Oct 2021 21:34:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1635456842; bh=wzka98fgVzJXMdVGm0gAHOn+UTSjhSffItD1k2BcDCQ=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=cRzhZ7T+Nh8QY/B5THfCfYVlkgYrAlaQOVric0XO6yNS4LSxHXn4/DzDf930ghJKs DXJ2RJJ2DdVIU/8tepahC+VlaYqXEJGYzhfRxStRg1FWigsivcw65VxJn+nCCfFoPj 5v2M22Sr4DjiSaQGBc5RoRBVPiJSoxxpJ27u3cL4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Date: Thu, 28 Oct 2021 23:34:00 +0200 From: Sebastian Kemper To: musl@lists.openwall.com, ericonr@disroot.org Message-ID: Mail-Followup-To: musl@lists.openwall.com, ericonr@disroot.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:Yhgwes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z Q/fMh+HioU87MuyXDv+oT9KbPQYFwSE9x71eIjm2Qye/6jBj0yXtsvf/VdvUAz5MDI700wJwb 1x04HEqKWzhLHydMgwakcZ/IohQPZ9T4wiXaUWpz5606fuWZWyCmuDN72Veag9tmravGTD+YA RY0FBeyDGOp1gKTnauOxWNaTdfXrTTbRhLf3Y8ezTKTX90X6GSPqn11Y32TuaiRt+GYPgeCW6 kKwGaWEbnLNAMsM5g6YJsY1TyrJCGB1CjY3F1p5MpqLjzRsU/IcZbkeDbZzRDTDxEZEnI2oGU Bz7UBRNuoajB0s= Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] Re: freeswitch and musl 1.2.x (time64 most likely) Am Thu, Oct 28, 2021 at 10:21:39PM +0200 schrieb Sebastian Kemper: > > I hope the "optimized out" items aren't too much of an issue. Would be > great if you could take a look. Recompiled with "-O0", now it looks better: 0x77f55320 in _dlstart () from /home/sk/tmp/openwrt/scripts/../staging_dir= /target-mips_24kc_musl/root-ath79/lib/ld-musl-mips-sf.so.1 (gdb) c Continuing. warning: Could not load shared library symbols for /usr/lib/libwolfssl.so.= 4.8.1.d8795272. Do you need "set solib-search-path" or "set sysroot"? process 12781 is executing new program: /usr/bin/freeswitch warning: Could not load shared library symbols for /usr/lib/libwolfssl.so.= 4.8.1.d8795272. Do you need "set solib-search-path" or "set sysroot"? [New Thread 12781.12810] [New Thread 12781.12782] [New Thread 12781.12783] [New Thread 12781.12785] [New Thread 12781.12796] [New Thread 12781.12809] Thread 2 "freeswitch" received signal SIGSEGV, Segmentation fault. [Switching to Thread 12781.12810] 0x77d7093f in vxprintf (func=3D0x77d70c71 , arg=3D0x76c98a70, useExt= ended=3D0, fmt=3D0x77ee2b8e "q'", ap=3D0x76c98c4c) at src/switch_mprintf.c= :689 689 for (i =3D n =3D 0; (ch =3D escarg[i]) !=3D 0; i++) { (gdb) bt #0 0x77d7093f in vxprintf (func=3D0x77d70c71 , arg=3D0x76c98a70, us= eExtended=3D0, fmt=3D0x77ee2b8e "q'", ap=3D0x76c98c4c) at src/switch_mprin= tf.c:689 #1 0x77d70df7 in base_vprintf (xRealloc=3D0x77d70e6d , us= eInternal=3D0, zInitBuf=3D0x76c98acc "delete from registrations where expires > 0 and= expires <=3D 2012362356 and hostname=3D'", nInitBuf=3D350, zFormat=3D0x77ee2b40 "delete from registrations where expires > 0 and = expires <=3D %ld and hostname=3D'%q'", ap=3D0x76c98c44) at src/switch_mpri= ntf.c:860 #2 0x77d70f81 in switch_mprintf (zFormat=3D0x77ee2b40 "delete from regist= rations where expires > 0 and expires <=3D %ld and hostname=3D'%q'") at src/switch_mprintf.c:903 #3 0x77d8d395 in switch_core_expire_registration (force=3D0) at src/switc= h_core_sqldb.c:3554 #4 0x77d85975 in switch_core_sql_db_thread (thread=3D0x770b9ee0, obj=3D0x= 0) at src/switch_core_sqldb.c:1538 #5 0x77ec5f19 in dummy_worker (opaque=3D0x770b9ee0) at threadproc/unix/th= read.c:151 #6 0x77fc5014 in start (p=3D0x76c98d54) at src/thread/pthread_create.c:20= 3 #7 0x77f5523c in __clone () at src/thread/mips/clone.s:33 Backtrace stopped: frame did not save the PC (gdb)