[Top][All Lists]

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

Re: Segfault after upgrade.

From: Paul Theodoropoulos
Subject: Re: Segfault after upgrade.
Date: Sun, 24 May 2020 00:04:07 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 5/23/2020 22:29 PM, David J Taylor wrote:
Yo David!

On Sat, 23 May 2020 19:16:17 +0100


Thanks, Paul and Gary.  I checked and the gpsd is indeed a 32-bit program. My new commands for the day learnt!

So why does 3.20 run on a Raspberry Pi 4B and not a 1B?  Has it been tested on a 1B?

I ask these questions because many users will not attempt github and just expect things to work.  The want to run program and not develop or debug them.  They use apt or apt-get to install software, not compile it.


The next step would be to run the command under strace -

    strace -f <path to gpsd>/gpsd <and whatever options you are feeding it>

At least, that's the form I always use, the -f means it 'follows' child processes that are created by the main process. Beware that strace can generate scads of output, and much of it can appear near incomprehensible. You can direct the output to a file using the -o option.

I can never remember whether strace is part of the default installation, so you may have to 'apt install strace'.

Despite the inscrutable nature of the output, when something is segfaulting, the clues tend to stick out, either by breaking a pattern in the output that you can perceive, or in a rather blatant chunk of output at the very end before it exits.

Paul Theodoropoulos

reply via email to

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