LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2012, 09:32 PM   #1
MikZyth
LQ Newbie
 
Registered: Dec 2006
Location: Russia
Posts: 19

Rep: Reputation: 1
Cannot run xpowerchute...


I've recently installed PowerChute plus version 4.5.3 on my Fedora 14 (Gnome 2 desktop).
Configuration went fine and the software actually works (as a daemon).
But the GUI part of the PCP (xpowerchute) cannot run. It just exits with the following error:

Code:
[root@mzsrv powerchute]# ./xpowerchute 

fatal: FATAL ERROR: MSG 0x0034b3ba [CAT 3/4 STD 46010 ]
Category: XVT release 3 assert (Signaled assert4)
Function: xvt_app_create 
File:     ./kfont.c line: 838

./xpowerchute: line 150:  4173 Segmentation fault      (core dumped) ./_xpwrchute 2> /dev/null
[root@mzsrv powerchute]#
Is there some problem with fonts?
Can anyone help?
 
Old 01-22-2012, 09:45 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Quote:
File: ./kfont.c line: 838
.. indicates it may be font related, can you try running it with strace? ( strace -f -s 256 -o /tmp/xpowerchute.trace <command> ) .. this might show us which fonts its trying to use. There'll be tons of output but the error should be near the bottom, let us know if you need help interpreting it.
 
Old 01-23-2012, 11:42 PM   #3
MikZyth
LQ Newbie
 
Registered: Dec 2006
Location: Russia
Posts: 19

Original Poster
Rep: Reputation: 1
You were right... There were tons of output ))) But I've noticed that font related lines start with writev.
So, with the following command:
Code:
cat xpowerchute.trace | grep writev
I got this:
Code:
3144  writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\\\316\21\221\350\357\372\220#U\373\252\331V\25\266", 16}], 4) = 48
3144  writev(3, [{"b\0\5\0\t\0\0\5", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
3144  writev(3, [{"b\0\4\0\5\0\0\0", 8}, {"SHAPE", 5}, {"\0\0\0", 3}], 3) = 16
3144  writev(3, [{"\2\0\4\0\2\0\0\5\0\10\0\0\0\0B\0\1\30\f\0\3\0\0\5\221\2\0\0\0\0\0\0\1\0\1\0\0\0\1\0\0\0\0\0\n(\0\0\377\377\377\0\0\0\0\0\0\200B\0 \0\0\0\22\0\t\0\3\0\0\5'\0\0\0\37\0\0\0\10chu\n\0\0\0_xpwrchute\0\0\22\0\t\0\3\0\0\5%\0\0\0\37\0\0\0\10M_D\n\0\0\0_xpwrchute\0\0\22\0\10\0\3\0\0\5$\0\0\0\37\0\0\0\10\0\0\0\5\0\0\0mzsrv\0\0\0\22\0\30\0\3\0\0\5(\0\0\0)\0\0\0 \0\0\0\22\0\0\0\f\2\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 548}, {"XFree86-Bigfont", 15}, {"\0", 1}], 3) = 564
3144  writev(3, [{"7\30\6\0\25\0\0\5\221\2\0\0\f\0\0\0\247\247\247\0\304\304\304\0\1\30\16\0\26\0\0\5\17\0\0\5\0\0\0\0>\0m\0\0\0\1\0\0\0\0\0\0328\0\0\304\304\304\0\0\0\0\0\1\0\0\0<\240 \0O\0\0\0 \0\0\0\t\0\2\0\26\0\0\0051\304\17\0d\0004\0", 96}, {"-misc-fixed-medium-r-normal--*-*-75-75-c-*-iso8859-1", 52}], 2) = 148
3144  writev(3, [{"1\30\24\0d\0H\0", 8}, {"-b&h-lucida sans typewriter-medium-r-normal-sans-*-*-72-72-m-*-iso8859-1", 72}], 2) = 80
3144  writev(3, [{"1\30\20\0d\0006\0", 8}, {"-dec-terminal-medium-r-normal--*-*-75-75-c-*-iso8859-1", 54}, {"\0\0", 2}], 3) = 64
3144  writev(3, [{"1\30\16\0d\0000\0", 8}, {"-*-fixed-medium-r-normal-*-*-*-*-*-c-*-iso8859-1", 48}], 2) = 56
3144  writev(3, [{"1\30\v\0d\0!\0", 8}, {"-*-system-*-*-*-*-*-*-*-*-*-*-*-*", 33}, {"\0\0\0", 3}], 3) = 44
I don't know what XFree86-Bigfont is. I just installed a collection of fixed fonts, lucida sans typewriter, and terminal font by copying them to /usr/share/fonts/, each font in its newly created folder, and then typing a command mkfontdir in each folder (where file fonts.dir with a list of fonts was created by that command). I don't know though if this is enough... At least now these fonts appear in the list of available fonts to gnome-terminal.

And finally, the result is the same... The same error. No changes.
Please tell me if I'm doing something wrong or perhaps I've missed something. If you need the whole file xpowerchute.trace, I'll try to upload it somewhere (this site doesn't allow me to post it - it's too large).
 
Old 01-24-2012, 06:30 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
We're probably looking for a failed 'open' call .. might have "file not found" equivalent
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run fsck during a shutdown sequence, or how to run one-time init scripts? bgoodr Debian 5 11-28-2010 03:08 PM
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 06:33 PM
trying to fix xwindows or just run command line... changing run levels dave247 Debian 2 11-18-2008 06:11 PM
I run Fedora 9 and I boot from USB, how I run at startup Firewall and antivirus? gginis Linux - Software 3 06-08-2008 03:19 AM
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration