mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jean-Marc Pigeon <jmp@safe.ca>
To: musl@lists.openwall.com
Subject: Execinfo.h, backtrace is needed.
Date: Thu, 09 Apr 2015 13:28:55 -0400	[thread overview]
Message-ID: <5526B6D7.9080601@safe.ca> (raw)
In-Reply-To: <CAKHv7phN-3SkKW12q7YRzUdzG94Dp8EQ=sZFS+8hFiZ5+c04yw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,


Noticed today, musl doesn't provide execinfo.h
nor backtrace function.

Reading mailling list as backtrace is a not needed
function as "gdb can do it".

I beg to disagree.

There is many time where backtrace capabilities
are handy.
Ex: within a daemon you want to detect and trace
a memory leak origin. This can not be done within
a testbench, as the leak is small and occur
once in a (very long) while.

I understand there is no "standard" defining
the way to implement it.
What is the musl designers position,
never ever backtrace to be implemented or
this could be good for real production
program.

May be there is a way to get backtrace
capabilities I overlooked within musl?

Comment?


- -- 

A bientôt
===========================================================
Jean-Marc Pigeon                        E-Mail: jmp@safe.ca
SAFE Inc.                             Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
     Clement' Home base <"http://www.clement.safe.ca">
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJVJrbXAAoJEAtgwJ4bBQU5/JkP/iM5s755X2gC7YgMwRtBwUi2
VnZMPeUgDlq9cn9+etvu0T5SUuYPkYI8YsNoU56Ui75VlV/VTdKfmTxQr3YGRNrQ
FaDH2o1Mkub4d9DDVkJegVuJaN7nYHjK2SM8hDsmGXMH0a7ZLPBzvRNgucoIx6Or
lDF8KnfCaExtCvEyfbTavZSkFnW5g37lSudPCdPt3ANvHYwe+rTk0QEh9kt+VifN
ug2cj5F7vnlMaFYxgpIWXL2UPv2I1Bdh6ZqMo1M+iwBYw9TFT1VwgEZFxWqAtnXe
1eLxiGiI1Y0z7iOu+ap33W0xvcRkxsgqjn/PQP46e2Q+nPIuiRVb4fMOXFaUkjQN
BEBOhKww2LmryTJvYXVcvp0z8Fh3rWOx9zXGiJp476EpHNTXIlTKshaM1RKKTIvR
Dwy9tsyAHpzKekzDuHrwUs7LR/0Q3S0vlFd/mu/BqMRkO1dZXYYYicfXDsqxiIaE
pf5IT1O4lqteiHnvZWdzqSe5Dzc2j4AtCgioA3+r792OwwAbzJakKJiShLC3TBbs
vodsj9ppx/1xWsOSf3JFm6fq7qgrwdeh5oqeEc7oJGK67YTdHKzpHvGcOaXHMA1n
myGdsd6gB7fGKIBJFxHguyBPoGFSgh/ElJo7HbdnPgqDQHpxt27lcGUfVooYVQ6H
81DkHs2uFLc2s42zKKeG
=fZW+
-----END PGP SIGNATURE-----


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4242 bytes --]

  parent reply	other threads:[~2015-04-09 17:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 15:33 musl perf, 20% slower than native build? John Mudd
2015-04-08 15:58 ` Alexander Monakov
2015-04-08 16:05 ` Szabolcs Nagy
2015-04-08 19:10   ` John Mudd
2015-04-08 19:28     ` Daniel Cegiełka
2015-04-08 20:59       ` Paul Schutte
2015-04-09  6:50         ` Daniel Cegiełka
2015-04-09 17:28         ` Jean-Marc Pigeon [this message]
2015-04-09 17:34           ` Execinfo.h, backtrace is needed Rich Felker
2015-04-09 17:57             ` Alexander Monakov
2015-04-10 14:30               ` Jean-Marc Pigeon
2015-04-08 19:33     ` musl perf, 20% slower than native build? Alexander Monakov
2015-04-08 20:16       ` John Mudd
2015-04-08 20:24         ` John Mudd
2015-04-08 21:48           ` John Mudd

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=5526B6D7.9080601@safe.ca \
    --to=jmp@safe.ca \
    --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).