search for: malloc_debug

Displaying 20 results from an estimated 43 matches for "malloc_debug".

2018 Feb 21
2
Asterisk crash on core show channel
Hello Asterisk list, I am facing some Asterisk crashes which are consistently pointing to the same backtrace, which is the following (using DONT_OPTIMIZE, BETTER_BACKTRACES and MALLOC_DEBUG): Thread 1 (Thread 0x7f1f08be8700 (LWP 1767)): #0 0x00007f1f9bed3395 in __strcasecmp_l_sse42 () from /lib64/libc.so.6 #1 0x00000000004a91ca in cdr_object_get_by_name_cb () #2 0x0000000000463c60 in internal_ao2_traverse () #3 0x0000000000463fc3 in __ao2_callback () #4 0x00000000004a9b7d in cdr_...
2014 Nov 24
2
High resident memory with 11.14.0 ?
Also, how big does the cache in frame.c grow to? I've recompiled with MALLOC_DEBUG on that server: asterisk -rx "memory show summary" .... 1780466242 bytes (1780181594 cache) in 2352909 allocations in file frame.c ... Seems like a ridiculous cache. On Mon, Nov 24, 2014 at 9:02 AM, James Lamanna <jlamanna at gmail.com> wrote: > cat /proc/cpuinfo lists...
2009 Jun 01
1
CPU usage vs compiler flags
...[*] 1. DONT_OPTIMIZE [*] 2. DEBUG_CHANNEL_LOCKS [*] 3. DEBUG_THREADS [*] 4. DEBUG_FD_LEAKS [ ] 5. LOW_MEMORY [*] 6. MALLOC_DEBUG [ ] 7. RADIO_RELAX [ ] 8. STATIC_BUILD [ ] 9. IAX_OLD_FIND [*] 10. LOADABLE_MODULES Do this options make asterisk consume much more CPU? My feeling is that asterisk is consum...
2023 Jul 08
1
Memory leak
...g the memory leak? Can somebody > send me instructions to find out what module is killing my box? > FreePBX is 100% updated. > There is some documentation on the wiki, here: https://docs.asterisk.org/latest/Development/Debugging/Memory-Leak-Debugging/ The easiest way is recompile with MALLOC_DEBUG. You can then use "memory show summary" to narrow it down to a module, and "memory show allocations" to narrow it down to specific leaks.  NA > Before I contact a vendor I need understand what module is responsible > for this. > > Alternatively, I would hire a...
2014 Nov 25
2
High resident memory with 11.14.0 ?
On Tue, Nov 25, 2014 at 8:14 AM, Matthew Jordan <mjordan at digium.com> wrote: > On Mon, Nov 24, 2014 at 2:12 PM, James Lamanna <jlamanna at gmail.com> wrote: > > Also, how big does the cache in frame.c grow to? > > I've recompiled with MALLOC_DEBUG on that server: > > > > asterisk -rx "memory show summary" > > > > .... > > 1780466242 bytes (1780181594 cache) in 2352909 allocations in file > > frame.c > > ... > > > > Seems like a ridiculous cache. > > > > I'm no...
2003 Nov 20
4
Tuning the Linux kernel?
Hi all- It's often mentioned here that recompiling the Linux kernel may improve the performance of asterisk. My question is: Does re-compiling the kernel have any effect if there are no changes to the configuration? What parameters will typically improve performance? Thanks for any insight! Scott Scott M. Stingel Emerging Voice Technology Inc. Palo Alto, California and London,
2012 Sep 04
1
Repeated Asterisk 10.7.0 crashes
I'm getting cycles of repeated crashes which occur and then stop occurring. Looking at the dumps via gdb shows that something peculiar is happening that looks like memory corruption: Program terminated with signal 6, Aborted. #0 0x0000003686e30285 in raise () from /lib64/libc.so.6 (gdb) up #1 0x0000003686e31d30 in abort () from /lib64/libc.so.6 (gdb) up #2 0x0000003686e6971b in
2018 Feb 21
2
Asterisk crash on core show channel
...s.digium.com> > *?mne:* [asterisk-users] Asterisk crash on core show channel > > > > Hello Asterisk list, > > I am facing some Asterisk crashes which are consistently pointing to the > same backtrace, which is the following (using DONT_OPTIMIZE, > BETTER_BACKTRACES and MALLOC_DEBUG): > Thread 1 (Thread 0x7f1f08be8700 (LWP 1767)): > #0 0x00007f1f9bed3395 in __strcasecmp_l_sse42 () from /lib64/libc.so.6 > #1 0x00000000004a91ca in cdr_object_get_by_name_cb () > #2 0x0000000000463c60 in internal_ao2_traverse () > #3 0x0000000000463fc3 in __ao2_callback () >...
2020 Feb 21
2
pjsip startup errors when using "with-ssl" configure option
...: speexdsp-devel, gmime-devel, uriparser-devel, iksemel-devel, uw-imap-devel, hoard Then, I am running the following commands to build Asterisk: ./configure --with-crypto --with-srtp --with-ssl make menuselect.makeopts menuselect/menuselect --enable DONT_OPTIMIZE --enable BETTER_BACKTRACES --enable MALLOC_DEBUG --disable BUILD_NATIVE --enable app_macro menuselect.makeopt make OPT=-fPIC make install make samples After this, when I start Asterisk, I get the following error with pjsip modules: ERROR[6253]: loader.c:2396 load_modules: Error loading module 'chan_pjsip.so': /usr/lib/asterisk/modules/ch...
2016 Sep 07
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
...c/default/asterisk which includes an (uncommented) line COREDUMP=yes. I also have # grep core /etc/asterisk/asterisk.conf dumpcore = yes make menuselect shows: [*] DONT_OPTIMIZE [*] COMPILE_DOUBLE [ ] DEBUG_THREADS [*] LOADABLE_MODULES [ ] DEBUG_FD_LEAKS [*] BETTER_BACKTRACES [ ] LOTS_OF_SPANS [ ] MALLOC_DEBUG [ ] DEBUG_CHAOS [*] BUILD_NATIVE --- Extended --- [ ] REF_DEBUG [ ] AO2_DEBUG [ ] STATIC_BUILD XXX REBUILD_PARSERS [ ] LOW_MEMORY [ ] DISABLE_INLINE [*] OPTIONAL_API XXX USE_HOARD_ALLOCATOR [ ] RADIO_RELAX [ ] G711_NEW_ALGORITHM < > G711_REDUCED_BRANCHING < > TEST_CODING_TABLES <...
2017 Nov 14
2
RTCP + Stasis causing high memory consumption
...ing a lot of memory, in a rate of more than 1GB per hour. Kernel will eventually kill it via the OOM killer when memory is really exausted... This situation does not generate backtrace because Asterisk is responsive during the whole time and can be stopped/started. After compiling Asterisk with the MALLOC_DEBUG flag, when the problem happened we could see this output with the most consuming files, using "memory show summary" command: # cat memory_show_summary_201711101144.log | sort -nr | head 3060904798 bytes allocated (431496 in caches) in 16185877 allocations 1467180225 bytes in 1647238 al...
2014 Nov 25
0
High resident memory with 11.14.0 ?
On Mon, Nov 24, 2014 at 2:12 PM, James Lamanna <jlamanna at gmail.com> wrote: > Also, how big does the cache in frame.c grow to? > I've recompiled with MALLOC_DEBUG on that server: > > asterisk -rx "memory show summary" > > .... > 1780466242 bytes (1780181594 cache) in 2352909 allocations in file > frame.c > ... > > Seems like a ridiculous cache. > I'm not going to respond to your new thread, since it is the same...
2023 Jul 08
1
Memory leak
I am using Asterisk 16.30 inside Freepbx, with commercial modules, purchased from Sangoma and Symphony. After a few hours my memory usage reaches 900 GB, no kidding, in a box with 1 TB of RAM. The question is: how can I determine what is causing the memory leak? Can somebody send me instructions to find out what module is killing my box? FreePBX is 100% updated. Before I contact a vendor I need
2004 Jan 02
2
Malloc debug kills asterisk?
...ocations" command crashes asterisk (causes it to stop handling calls, although it doesn't seg fault). The related "show memory summary" works however. Before I post this to the bugs list, can someone else please confirm this problem? You need to enable malloc debugging (symbol MALLOC_DEBUG) in the Makefile, and then rebuild asterisk and try these commands. I'm running Fedora 1, and I want to make sure that it's not some anomaly with the kernel rather than asterisk. I tried this with the latest CVS, and also from about a month ago - same result. Thanks! Scott Scott M. Stin...
2010 Sep 24
2
Debug compile fails
...how I can't get 1.6.2.13 to compile with DEBUG_CHANNEL_LOCKS. Downloaded latest tgz and extracted $ ./configure $ make menuselect (select the needed options from compiler flags) $ grep DEBUG_CHANNEL_LOCKS menuselect.makeopts MENUSELECT_CFLAGS=DONT_OPTIMIZE LOADABLE_MODULES DEBUG_CHANNEL_LOCKS MALLOC_DEBUG $ make && make install $ asterisk && asterisk -rx "core show locks" No such command 'core show locks' (type 'core show help core' for other possible commands) Am I missing something? -- Daniel Tryba
2014 Nov 10
0
Asterisk 1.8.32.0 Now Available
...al issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-24348 - Built-in editline tab complete segfault with MALLOC_DEBUG (Reported by Walter Doekes) * ASTERISK-24335 - [PATCH] Asterisk incorrectly responds 503 to INVITE retransmissions of rejected calls (Reported by Torrey Searle) * ASTERISK-23768 - [patch] Asterisk man page contains a (new) unquoted minus sign (Reported by Jeremy Lain??) * ASTER...
2014 Nov 10
0
Asterisk 1.8.32.0 Now Available
...al issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-24348 - Built-in editline tab complete segfault with MALLOC_DEBUG (Reported by Walter Doekes) * ASTERISK-24335 - [PATCH] Asterisk incorrectly responds 503 to INVITE retransmissions of rejected calls (Reported by Torrey Searle) * ASTERISK-23768 - [patch] Asterisk man page contains a (new) unquoted minus sign (Reported by Jeremy Lain??) * ASTER...
2014 Nov 26
0
High resident memory with 11.14.0 ?
...On Tue, Nov 25, 2014 at 8:14 AM, Matthew Jordan <mjordan at digium.com> > wrote: > >> On Mon, Nov 24, 2014 at 2:12 PM, James Lamanna <jlamanna at gmail.com> >> wrote: >> > Also, how big does the cache in frame.c grow to? >> > I've recompiled with MALLOC_DEBUG on that server: >> > >> > asterisk -rx "memory show summary" >> > >> > .... >> > 1780466242 bytes (1780181594 cache) in 2352909 allocations in file >> > frame.c >> > ... >> > >> > Seems like a ridiculous c...
2016 Sep 08
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
.../asterisk/asterisk.conf >> dumpcore = yes >> >> make menuselect shows: >> [*] DONT_OPTIMIZE >> [*] COMPILE_DOUBLE >> [ ] DEBUG_THREADS >> [*] LOADABLE_MODULES >> [ ] DEBUG_FD_LEAKS >> [*] BETTER_BACKTRACES >> [ ] LOTS_OF_SPANS >> [ ] MALLOC_DEBUG >> [ ] DEBUG_CHAOS >> [*] BUILD_NATIVE >> --- Extended --- >> [ ] REF_DEBUG >> [ ] AO2_DEBUG >> [ ] STATIC_BUILD >> XXX REBUILD_PARSERS >> [ ] LOW_MEMORY >> [ ] DISABLE_INLINE >> [*] OPTIONAL_API >> XXX USE_HOARD_ALLOCATOR >&g...
2014 Nov 10
0
Asterisk 11.14.0 Now Available
...al issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-24348 - Built-in editline tab complete segfault with MALLOC_DEBUG (Reported by Walter Doekes) * ASTERISK-24335 - [PATCH] Asterisk incorrectly responds 503 to INVITE retransmissions of rejected calls (Reported by Torrey Searle) * ASTERISK-23768 - [patch] Asterisk man page contains a (new) unquoted minus sign (Reported by Jeremy Lain??) * ASTER...