Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Feb 2019, 06:27
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Closing Abiword=crash? How to get debug info?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
OldAcer

Joined: 22 Jul 2016
Posts: 45

PostPosted: Tue 12 Feb 2019, 04:54    Post subject:  Closing Abiword=crash? How to get debug info?
Subject description: An Abiword bug causes immediate close with no error message
 

There has been a long-reported bug in Abiword where clicking "save", "save as" etc crashes, but those reports talk about error reports. With Abiword 3.0.1 included with Xenial (32bit) 7.5, bug causes only immediate exit, no error (and no saved or backup file).

Any way to get more info from Puppy for Abiword people?

Bug was very repeatable, caused by editing certain file in certain way. A little annoying because it only occurred when editing was complete and you wanted to save your final version; intermediate saves with less editing were OK.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13506
Location: Gatineau (Qc), Canada

PostPosted: Tue 12 Feb 2019, 12:37    Post subject:  

Hello OldAcer.

Here are a few ways that I know, to try to pinpoint errors:

From console,
-- type
Code:
more /tmp/xerrs.log
Towards the bottom of that file, you should see errors concerning the
faulty run of the program

-- immediately after the crash of a program, type
Code:
echo $?
This will give you a number. May or may not be of help since you have
to know what this number refers to.
By convention, on all programs and utilities, an error code of 0 means
"0 error". "1" means "error". Simple enough. Some bigger programs, such
as media players, may have very sophisticated and descriptive error
codes, however

-- run your program with
Code:
program 2> errors.txt
Usually we do program 2> /dev/null, except this time we want to know,
so we send the errors to a text file. This will log any error in file errors.txt

-- run your program with
Code:
nohup program
A "nohup.out" file will be created that contains anything that went wrong
while the program ran. (It should normally have 0 byte in it.)

-- type
Code:
dmesg | tail -n 15
Or 10, or 20, or 30 just after your abiword crashed. Dmesg is an error
logger. Piping it to tail -n lines will show that many lines of errors that
just happened.

There are a couple more tricks with, e.g., set -xe and the like, but they
apply to bash scripts only, as I understand it; not to entire executables.

There you go. Now you know as much as I do!

IHTH. Good luck!

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)

Last edited by musher0 on Thu 14 Feb 2019, 18:15; edited 2 times in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11725
Location: S.C. USA

PostPosted: Tue 12 Feb 2019, 14:47    Post subject:  

My solution.
I do not use Abiword for anything.

Geany for simple stuff.
LibreOffice for the heavy stuff.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2973
Location: 500 seconds from Sol

PostPosted: Tue 12 Feb 2019, 16:02    Post subject:  

Ditto bigpup.

Consider focuswriter: http://www.murga-linux.com/puppy/viewtopic.php?p=1018283#1018283.

If the two via that post and the one from Tahrpup's PPM won't do, it's likely that your Puppy's PPM can supply one. Or look here: https://gottcode.org/focuswriter/
Back to top
View user's profile Send private message 
OldAcer

Joined: 22 Jul 2016
Posts: 45

PostPosted: Tue 12 Feb 2019, 22:06    Post subject:  

Thanks, musher. I looked and I don't have any xerrs.log file now. And I remember running dmesg before but now I can't remember the problem then.

I had had good results before making simple rtf files with Abiword, and can't say that about LibreOffice.

Will see what happens when I find that file again- it still isn't printed.
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 13506
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Feb 2019, 18:17    Post subject:  

I copy-edited my post above, correcting "tiredness typos", mostly.
I also added some info concerning the error codes.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0360s ][ Queries: 12 (0.0104s) ][ GZIP on ]