From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 313F71F463; Tue, 17 Dec 2019 08:31:32 +0000 (UTC) Date: Tue, 17 Dec 2019 08:31:31 +0000 From: Eric Wong To: Arkadi Colson Cc: cmogstored-public@bogomips.org Subject: Re: Heavy load Message-ID: <20191217083131.GA32606@dcvr> References: <20191211170658.GA16951@dcvr> <20191212191642.GA16109@dcvr> <43831ab4-364c-acf1-f1ce-234fa86b168d@smartbit.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43831ab4-364c-acf1-f1ce-234fa86b168d@smartbit.be> List-Id: Arkadi Colson wrote: > This is the output from another crash: > > [Current thread is 1 (Thread 0x7f9aa16f2700 (LWP 3318))] > (gdb) bt > #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 > #1  0x00007f9aa217742a in __GI_abort () at abort.c:89 > #2  0x00007f9aa21b3c00 in __libc_message (do_abort=do_abort@entry=2, > fmt=fmt@entry=0x7f9aa22a8fd0 "*** Error in `%s': %s: 0x%s ***\n") at > ../sysdeps/posix/libc_fatal.c:175 > #3  0x00007f9aa21b9fc6 in malloc_printerr (action=3, str=0x7f9aa22a5b8a > "free(): invalid pointer", ptr=, ar_ptr=) > at malloc.c:5049 > #4  0x00007f9aa21ba80e in _int_free (av=0x7f9aa24dcb00 , > p=0x7f9a580010f0, have_lock=0) at malloc.c:3905 > #5  0x000055d501c98659 in ?? () > #6  0x000055d501c9bfba in ?? () > #7  0x000055d501c9c10e in ?? () > #8  0x000055d501ca328d in ?? () Thanks, I really wish #5..#8 had more info instead of "??" Was cmogstored compiled with -ggdb3? (should be the default) When you run "file /path/to/cmogstored", it should have something like: "with debug_info, not stripped" You can check the "CFLAGS =" line in the Makefile after running configure. Thanks. > #9  0x00007f9aa24e94a4 in start_thread (arg=0x7f9aa16f2700) at > pthread_create.c:456 > #10 0x00007f9aa222bd0f in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:97