SeaMonkey 1.1.19 segfaults at startup

an incubator for software projects


Moderator: Forum moderators

Post Reply
User avatar
BarryK
Posts: 2271
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 564 times

SeaMonkey 1.1.19 segfaults at startup

Post by BarryK »

I have compiled this very old version of SeaMonkey. Version 1.1.19 was released in 2010.

I have managed to compile it in EasyOS, which has glibc 2.33 and gcc 9.3.0. Unfortunately, it segfaults at startup. Here are my notes:

https://bkhome.org/news/202111/seamonke ... asyos.html

Back in my Windows programming days, prior to 2003, I used a Borland Debugger with text-mode GUI, to trace programs and find where faults such as a crash were occurring. Was able to view the source code and set breakpoints. It was a great tool.

With Linux though, hardly know anything about how to find where the segfault is occurring. A long time ago, I did briefly use the 'gdb' debugger utility, which I recall is just a simple CLI interface. There is something else called 'strace' I think, don't know anything about it.

Does anyone know of a good online guide to help with find the cause of the segfault?

Tonight I plan to recompile SM 1.1.19, leaving in the debugging symbols.

User avatar
mikewalsh
Moderator
Posts: 5571
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1679 times

Re: SeaMonkey 1.1.19 segfaults at startup

Post by mikewalsh »

@BarryK :-

Perhaps there might be something of use here, Barry:-

https://www.ubuntupit.com/best-linux-de ... engineers/

Worth a look, perhaps.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

Re: SeaMonkey 1.1.19 segfaults at startup

Post by Grey »

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

williams2
Posts: 1023
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 288 times

Re: SeaMonkey 1.1.19 segfaults at startup

Post by williams2 »

Often, incompatible shared object library files can cause a segfault.

https://www.cprogramming.com/debugging/segfaults.html

https://www.cprogramming.com/debugging/valgrind.html

User avatar
BarryK
Posts: 2271
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 564 times

Re: SeaMonkey 1.1.19 segfaults at startup

Post by BarryK »

mikewalsh wrote: Sat Nov 27, 2021 1:30 pm

@BarryK :-

Perhaps there might be something of use here, Barry:-

https://www.ubuntupit.com/best-linux-de ... engineers/

Worth a look, perhaps.

Mike,
That's a great link! Thanks very much.

I have compiled Nemiver debugger. It is a GUI for gdb. A gnome app, and it wanted various gnome dependencies, but I finally managed to compile it.

So far, have only started it, to check that it does run, haven't used it for anything yet.

I will create a PET later today, along with it's deps. Though, if you have one of the Debian or Ubuntu-based pups it might already be available in the repo.

User avatar
BarryK
Posts: 2271
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 564 times

Re: SeaMonkey 1.1.19 segfaults at startup

Post by BarryK »

williams2 wrote: Sat Nov 27, 2021 7:42 pm

Often, incompatible shared object library files can cause a segfault.

https://www.cprogramming.com/debugging/segfaults.html

https://www.cprogramming.com/debugging/valgrind.html

Thanks, that first link is great information getting started with using gdb to find where the app is segfaulting.

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

JetBrains CLion for debugging

Post by don570 »

JF who is one of the main coders of pine64 recommends JetBrains CLion for debugging.
30 day free trial

https://twitter.com/codingfield/status/ ... 9530113025
https://twitter.com/clion_ide/status/14 ... 9470714880
___________________________________________________

Post Reply

Return to “Development”