X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=71qMEDwo2x2dS2hRYnxMYGKJpgOhLWaa+f9iSnz4lz4=; b=RBtaAXB8ApuX5zu6pG5UfNXiTzg2HmPh+t7Wg4FD2U7/5Ru9G2fhcxhV8lRo3rsD39 c4J3Ih+hJUyrJ4EBiBLoQEnwZmOlDxEcjOyJB9tVqT/GxYr4oCKTXjnQS1CM1pjExpFj 4rRCXtin5ZX3OFWoE4L7c+zW59meFn0zV31EJ1gVhlvqSJdPj95uw6WYTot/puTBlv6j pyfH3Z802+2S2fPc2kbZKxt+KxIOqRXttxWTAaoR0HqGidjWA3N4TYT968MyDEH90Pwn IGE2nqjxrRn24v6E0b1Py3ku5nuXK6LdeIGcy6qEddxqVaOHM7T4SJ2ztTqeRuE/XDkG sQRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=71qMEDwo2x2dS2hRYnxMYGKJpgOhLWaa+f9iSnz4lz4=; b=r8XOqwhx8jdFq60VmxV+BKXwO0pk2sDfmlRxYoIDA1i+UbLw9YWSRbstytWqWU3Kv3 FdvNcwrx3Jcsst5R2TL9NA061cwHp2LGJMCLEjhjzLB5xEw19YLv1tWI4Q12PD5NyItc 20zMVQXWWc4TI67QCjfwMSu+tz18ltd3GkP6zRSq1eq/S4UTLhE/lRSBTFEpU0T+oXc8 I/cFXsCm380bzK/pvgs7RLOZv0YImt6OZg++nLE22mv/RxW4g4ra1lIQ39ERYYIBXjjq LyqrSdfwI44R8Mbug4tUzJ5pa/bWsONP7nHNg3634d0N+wRNSbBsTmKqFxxxWQvWeEEi kngQ== X-Gm-Message-State: AOAM533HpprG9eGRHFT+qzWefiDaa9nF33uN1tTuGTuWUnUKb18yh8KV 3yREDzkr/e8hMblsZZAe3N7gYyAB6WCjuvgSg8TFaKedCCo= X-Google-Smtp-Source: ABdhPJze4garC6qY6JBZr0ODIaeESAwYGrU1SoG0tGP6+M0dZGd7dwwVAP9JV0w44XdmFJ7mAUbcH9UHgAQjkniMKdE= X-Received: by 2002:ab0:7408:: with SMTP id r8mr436829uap.138.1589909808061; Tue, 19 May 2020 10:36:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Shashank Chintalagiri (shashank DOT chintalagiri AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Tue, 19 May 2020 23:06:36 +0530 Message-ID: Subject: Re: [geda-user] gschem segfaults on startup all of a sudden To: geda-user AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 04JHbPkt004304 Reply-To: geda-user AT delorie DOT com > On Mon, 18 May 2020, John Conover wrote: > > Yes, gschem(1) is doing a lot of core dumps, coming from the GTK/GDK > > system. > > If this is reproducible on your system, that would be really helpful. > gschem only very rarely crashes on my system (once a year or so) which > makes this hard for me to debug. I would not call this reproducible as such in my experience. It is quite common, though. It happens a few times a day when I use gschem. Once I do try to setup the debug I will keep an eye out for crashes and provide information when they happen. For the moment, some notable moments where I have come to not be surprised when gschem crashes : - saving using F+S - manipulating a copied buffer with E + I, E + R - rapid changes in zoom level using the scroll wheel (though less sure about this one) In all instances, gschem offers to load backup on next startup which is maybe 30 seconds behind the instant of the crash, so it is 'manageable'. On Tue, May 19, 2020 at 6:03 PM Roland Lutz wrote: > > Hi Shashank, > > On Tue, 19 May 2020, Shashank Chintalagiri > (shashank DOT chintalagiri AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > All of a sudden, gschem (1.10.0 and git head) has started segfaulting > > on startup for me. To the best of my knowledge, nothing has changed on > > my computer. It was working one minute and then it wasn't. > > > > […] > > > > (gschem:27169): Gtk-WARNING **: 05:52:22.277: Unable to locate theme > > engine in module_path: "murrine", > > as far as I can tell, this is a new bug. The first message indicates > what's wrong: for some reason, GTK isn't initializing properly. > > Could you please run gschem under gdb, once with G_DEBUG=fatal_warnings > and once with G_DEBUG=fatal_criticals, and see where execution breaks? > > > On Mon, 18 May 2020, John Conover wrote: > > Yes, gschem(1) is doing a lot of core dumps, coming from the GTK/GDK > > system. > > If this is reproducible on your system, that would be really helpful. > gschem only very rarely crashes on my system (once a year or so) which > makes this hard for me to debug. > > > I tried to find it from gdb after a compile on amd64, but to no avail. > > I believe it is some kind of memory corruption, which would mean memcheck > or something similar is required for meaningful debugging. Unfortunately, > messages are flooded with problems with Guile, so I postponed this until > gEDA/gaf can run without Guile. > > Roland -- Chintalagiri Shashank Indian Institute of Technology, Kanpur http://blog.chintal.in