LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-09-2013, 11:57 AM   #1
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Adobe reader and Kompozer crashing on a multilib system running KDE


Hi to all.

I am running Slackware64 14.0 multilib with KDE. Two of my 32bit applications are Adobe reader and Kompozer. However, they both crash when I go to the Open dialog. The dialog opens, stays for several seconds and the program exits. The strange thing is -- I do not see this behaviour in XFCE.

Any ideas?
 
Old 08-09-2013, 12:20 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
Greetings,

As a thought, let's find out what exactly is causing the crash.
  1. Open a terminal.
  2. From the command line, launch komposer
    Code:
     ~ $ komposer
  3. Let it run until it crashes.
  4. Copy the output from the terminal into a text file.
  5. Save the text file.
  6. Repeat steps 2-5 for adobe-reader.
  7. Post the outputs up here, each in their own code block.

That should give us a better idea of what is actually happening.

HTH. Let us know.
 
Old 08-09-2013, 12:41 PM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Hi. True, should've posted that...

Code:
~$ kompozer
/usr/lib/kompozer-0.8b3/run-mozilla.sh: line 131:  2171 Segmentation fault      "$prog" ${1+"$@"}
Code:
~$ acroread 
dirname: missing operand
Try 'dirname --help' for more information.
 
Old 08-09-2013, 04:31 PM   #4
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
Okay...

Well, I would have to be able to look at the referenced run-mozilla.sh script to see what it is they are trying to do in there, but for the acroread, it seems they are expecting an argument of the path to the file you want to read.
Either try running:
Code:
 ~ $ acroread <path to the PDF doc you want to read>
Or, if you don't have a local PDF in your home directory, you should be able to find one on your system using:
Code:
 ~ $ find /usr/share/doc/ -iname "*.pdf" -print
See if that gets acroread running, or what new error output it gives.
(As a note, my experience is that Adobe isn't really careful with security, ESPECIALLY in Linux. As an alternative, you *could* just try qpdfview. I know that program comes up without having to start with a file... Just my 2¢.)

Let me see if I can figure out the kompozer situation...

EDIT: Well, I can't find it as a separate package in my portage tree. Is this an extension for Konquerer? (Konquerer being KDE's default browser that is built on the Mozilla codebase.)

HTH. Let us know.

Last edited by ShadowCat8; 08-09-2013 at 04:42 PM.
 
Old 08-09-2013, 06:20 PM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Hi!
Same thing...

For acroread:
Code:
~/Bibliography/apoptosis$ acroread Tait_2010.pdf 
dirname: missing operand
Try 'dirname --help' for more information
I occasionally need the Adobe Acrobat reader to fill PDF forms. Otherwise I use Evince in XFCE or Ocular in KDE, which is great.

Kompozer is not part of KDE, don't be fooled by the name. It is "a complete web authoring system that combines web file management and easy-to-use WYSIWYG web page editing". I installed it from SBo. The script just repackages the i686 binary.
 
Old 08-15-2013, 07:57 PM   #6
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
Well,

I installed acroread on one of my tech support guy's systems (a Gentoo build), and it too came up with the same error:
Code:
~ $ acroread 
dirname: missing operand
Try 'dirname --help' for more information.
BUT, it *did* launch the program after that. So, at this point, I think we may need to get "down-n-dirty" on this one and use strace to see what is killing it on your system. If you don't have strace installed on your system, go ahead and install it and then run:
Code:
 ~ $ strace -o ~/acroread_strace_run.log acroread
When it completes and returns the prompt to you, you can start looking at the bottom of the acroread_strace_run.log and work your way up to find the REAL error that is killing acroread on your system.
And to give you an idea, here is the tail of the strace log from having brought acroread up and closed it out:
Code:
munmap(0xfffffffff4764000, 188416)      = 0
munmap(0xfffffffff46f0000, 475136)      = 0
stat64("/home/user/.adobe/Acrobat/9.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/home/user/.adobe/Acrobat/9.0/TMDocs.sav", F_OK) = -1 ENOENT (No such file or directory)
stat64("/home/user/.adobe/Acrobat/9.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/home/user/.adobe/Acrobat/9.0/TMDocs.sav", F_OK) = -1 ENOENT (No such file or directory)
write(4, "\1\0\0\0\0\0\0\0", 8)         = 8
munmap(0xfffffffff4792000, 8220)        = 0
exit_group(0)                           = ?
+++ exited with 0 +++
=============================================

Now as far as komposer, I took a look at the page you linked and, as you pointed out, the script repackages the i686 binary... Which, as the page points out, is built on GCC 4.2. It sticks in my mind that there may be an issue there. Do you know what GCC you have installed? Try doing this:
Code:
 ~ $ gcc-config -l
and post the results up here. I'm not certain that it is an issue, but I get the impression it might be.

Let us know.
 
Old 08-16-2013, 01:59 AM   #7
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Hi,

i will do this in the evening when i get to my KDE computer. The funny thing is, Kompozer and Adobe reader work when I run them in XFCE. They crash when I try to start them in KDE...

Version of GCC is 4.7.1
 
Old 08-18-2013, 02:59 PM   #8
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Original Poster
Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
I run strace as you suggested, here are the end lines of the output:

Code:
$ tail acroread_strace_run.log 
gettimeofday({1376854868, 812946}, NULL) = 0
gettimeofday({1376854868, 813111}, NULL) = 0
recv(3, "\6\0\370$A\244\2\0\257\0\0\0\206\4`\4\0\0\0\0\310\1T\1\316\0j\0\0\0\1\0"..., 4096, 0) = 416
recv(3, 0xb5731a0, 4096, 0)             = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {173, 418036955}) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=0}], 3, 0) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16)         = 8
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTART}, {0x850aafa, [], 0}, 8) = 0
exit_group(1)
Code:
$ tail kompozer_strace_run.log 
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat("core", 0x7ffff66e12c0)            = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\nexit $exitcode\n", 8176)   = 16
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(139)
Shall I paste more, or is there something specific that I should look for in the log files? I can attach them, but the one for acroread is more than 6 MB big...
 
  


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
Dear Honeyhooker can run Adobe Photoshop and Adobe Reader,is that possible llmi187 Linux - Software 4 01-30-2012 04:46 AM
Internal error running Adobe reader murrayz Linux - Software 1 07-11-2011 02:34 PM
Running Adobe Reader Deb package on AMD64 architecture kushalkoolwal Debian 3 10-11-2008 10:08 PM
A problem while running Adobe Reader svetlio0o Linux - Software 1 11-11-2007 06:05 AM
SCIM prevents Adobe Reader 7.0 running Belegdol Linux - Software 2 09-22-2005 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:58 PM.

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