pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] pan always crashing fast again


From: dchmelik
Subject: Re: [Pan-users] pan always crashing fast again
Date: Sat, 29 Jul 2023 19:18:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 7/29/23 2:59 AM, Dominique Dumont wrote:
On Friday, 28 July 2023 07:33:10 CEST David Chmelik wrote:
I think it has them as I ran 'gdb --args pan --debug'.  How do I get
line numbers then?  I'm just a gdb beginner so could use full
instructions...  Pan now doesn't always crash fast, but always crashes.
Looks like the pan you compiled has no (or not all) debug symbols.

Could you try to recompile pan with the following instructions:

git clone https://gitlab.gnome.org/GNOME/pan.git
cd pan
export CFLAGS="-g"
export CXXFLAGS="-g"
./autogen.sh --with-gnutls --with-dbus --with-gmime-crypto --with-gtkspell 
--enable-libnotify --enable-gkr --enable-manual
make

You should then have a pan executable with debug symbols.
I avoid git/etc. software after a lot of bad experiences with it fixing minor bugs but introducing critical bugs.  I rebuilt pan 0.154 but could try something from git later.

Here's what I have on my system:
$ ls -l pan/gui/pan
-rwxr-xr-x 1 domi domi 40160208 Jul 29 11:18 pan/gui/pan
$ file pan/gui/pan
pan/gui/pan: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), 
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, 
BuildID[sha1]=539f95e4e53f7b4c20e2b489f927436d2460269e, for GNU/Linux 3.2.0, 
with debug_info, not stripped


Note the "debug_info, not stripped" part which indicates that the binary 
contains debug symbol and variable names. [...]
This time I edited pan.SlackBuild to not strip the binary and it's like you explained above.  I ran gdb with instructions from http://pidgin.im/development/debugging/ and got an almost 30MB error log... is this what you want or did I do something wrong, and if it's useful, where should I post it?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]