mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Sebastian Kemper <sebastian_ml@gmx.net>
To: musl@lists.openwall.com, ericonr@disroot.org
Subject: Re: [musl] Re: freeswitch and musl 1.2.x (time64 most likely)
Date: Thu, 28 Oct 2021 23:34:00 +0200	[thread overview]
Message-ID: <YXsXSK9QcBDiQpKV@darth.lan> (raw)
In-Reply-To: <YXsGU32OHJsnlJS+@darth.lan>

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=0x77d70c71 <mout>, arg=0x76c98a70, useExtended=0, fmt=0x77ee2b8e "q'", ap=0x76c98c4c) at src/switch_mprintf.c:689
689					for (i = n = 0; (ch = escarg[i]) != 0; i++) {
(gdb) bt
#0  0x77d7093f in vxprintf (func=0x77d70c71 <mout>, arg=0x76c98a70, useExtended=0, fmt=0x77ee2b8e "q'", ap=0x76c98c4c) at src/switch_mprintf.c:689
#1  0x77d70df7 in base_vprintf (xRealloc=0x77d70e6d <printf_realloc>, useInternal=0,
    zInitBuf=0x76c98acc "delete from registrations where expires > 0 and expires <= 2012362356 and hostname='", nInitBuf=350,
    zFormat=0x77ee2b40 "delete from registrations where expires > 0 and expires <= %ld and hostname='%q'", ap=0x76c98c44) at src/switch_mprintf.c:860
#2  0x77d70f81 in switch_mprintf (zFormat=0x77ee2b40 "delete from registrations where expires > 0 and expires <= %ld and hostname='%q'")
    at src/switch_mprintf.c:903
#3  0x77d8d395 in switch_core_expire_registration (force=0) at src/switch_core_sqldb.c:3554
#4  0x77d85975 in switch_core_sql_db_thread (thread=0x770b9ee0, obj=0x0) at src/switch_core_sqldb.c:1538
#5  0x77ec5f19 in dummy_worker (opaque=0x770b9ee0) at threadproc/unix/thread.c:151
#6  0x77fc5014 in start (p=0x76c98d54) at src/thread/pthread_create.c:203
#7  0x77f5523c in __clone () at src/thread/mips/clone.s:33
Backtrace stopped: frame did not save the PC
(gdb)

  reply	other threads:[~2021-10-28 21:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 22:16 [musl] " Sebastian Kemper
2021-10-27 23:24 ` Érico Nogueira
2021-10-28 20:21 ` [musl] " Sebastian Kemper
2021-10-28 21:34   ` Sebastian Kemper [this message]
2021-10-29  3:10     ` Érico Nogueira
2021-10-29 14:40       ` Sebastian Kemper
2021-10-29 21:04         ` Szabolcs Nagy
2021-10-29 22:44           ` Sebastian Kemper
2021-10-30  1:00             ` Rich Felker
2021-10-30 10:57               ` Sebastian Kemper
2021-10-30 17:56                 ` Rich Felker
2021-10-30 19:07                   ` Sebastian Kemper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YXsXSK9QcBDiQpKV@darth.lan \
    --to=sebastian_ml@gmx.net \
    --cc=ericonr@disroot.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).