LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2018, 01:32 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Rep: Reputation: 122Reputation: 122
MasterPDFEditor segfault


I am looking for a Linux alternative to Adobe Standard and/or Foxit PhantomPDF. About a year ago I beta tested MasterPDFEditor for Code Industry. It needed some work then.

Recently I downloaded MasterPDF 4.3.82 from SlackBuilds. When trying to run that I got:
Code:
Feb 21 13:06:43 quadmon kernel: [1550008.268727] masterpdfeditor[28622]: segfault at 0 ip 00007f52da755e26 sp 00007ffc48ee4018 error 4 in libc-2.23.so[7f52da608000+1c0000]
So, I uninstalled that and downloaded the same version directly from https://code-industry.net. I ran that and was able to scan, but I need to OCR so I selected the OCR option which asked for which language to install and, when I selected 'English' I got:
Code:
Feb 21 13:21:05 quadmon kernel: [1550871.134227] masterpdfeditor[28989]: segfault at 0 ip 00007f5b3b24de26 sp 00007fff24f79a38 error 4 in libc-2.23.so[7f5b3b100000+1c0000]
libc-2.23.so is up-to-date with Slackware64 14.2. (I'm using KDE4)

Does anyone have any idea about this problem? Is anyone actually using MasterPDF? Perhaps I need to contact Code Industry about this
 
Old 02-21-2018, 10:48 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,509

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
It appears it is not compatible the libc you have installed. I would simply make a bug report on the program.
 
Old 03-08-2018, 12:40 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by AwesomeMachine View Post
It appears it is not compatible the libc you have installed. I would simply make a bug report on the program.
I'm getting ready to report this to Code Industry. But, curious ... I downloaded this package from SlackBuilds. Have any of you Slackware folks used this program successfully? My 14.2 is up-to-date, so I would think EVERYONE on Slackware whose tried MasterPDF would also be failing. AwesomeMachine is a Debian/SuSE/Fedora/Mint user, so perhaps he hasn't run into this.

Last edited by mfoley; 03-08-2018 at 12:42 PM.
 
Old 03-09-2018, 01:21 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,509

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
I don't know how many users use MasterPDF. But I'm certain there aren't that many using it on slackware with exactly the same libc version you have. So, you should make a bug report either to the program author or to slackware.
 
Old 03-09-2018, 06:01 PM   #5
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 307

Rep: Reputation: 39
I too am running Slackware 14.2 up to date.

Just went to Slackbuilds and got the files for this.

It built and runs perfect with XFCE.

By the way, I was unaware of this application. It's a great tool.
 
Old 03-11-2018, 03:09 PM   #6
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by guzzi View Post
I too am running Slackware 14.2 up to date.

Just went to Slackbuilds and got the files for this.

It built and runs perfect with XFCE.

By the way, I was unaware of this application. It's a great tool.
Thanks for the feedback and revealing that at least one other Slackware user is trying this. Questions:

1. Does XFCE use qt4 or qt5? The MasterPDF people seem to think I need QT5.

2. Have you tried OCR'ing a page? That's where mine blows up with the QT4 edition -- as soon as I select 'English' as the OCR language.

3. My scanner is OfficeJet Pro 8710. When I tell MasterPDF to scan duplex (both side), the scanner does scan both side, but only the 1st side show in the MasterPDF editor.

If you could check these items for me and post back, I'd greatly appreciate it.

Last edited by mfoley; 03-11-2018 at 03:19 PM.
 
Old 03-12-2018, 09:05 AM   #7
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 307

Rep: Reputation: 39
MasterPDF

My standard installation of Slackware 14.2 (updated yesterday) has qt-4.8.7-x86_64_4.

OCR had not been tried until I read your post. And my MasterPDF failed just like yours when selecting English.

My scanner is a HP scanjet 3570c.

Looks like MasterPDF may need a little more development time.
 
Old 03-12-2018, 08:46 PM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by guzzi View Post
OCR had not been tried until I read your post. And my MasterPDF failed just like yours when selecting English. Looks like MasterPDF may need a little more development time.
Ah ha! I wrote Code Industry about this and they said, sorry, use QT5. I'll contact the SlackBuilds maintainer and see it that person has any way of doing something. Otherwise, no MasterPDF for Slacksters if OCR is desired. Stay tooned!
 
Old 03-15-2018, 01:57 PM   #9
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
I contacted Willy at SlackBuilds, the maintainer of the MasterPDF package. He hadn't tried the OCR thing, but when he did he got the same seg fault problem. He then downloaded QT5, built with that, and the OCR function did finally work. So, I did the same and it does work. There currently isn't a QT5 version of MasterPDF on SlackBuilds, but you can get the official one at wget get.code-industry.net/public/master-pdf-editor-4.3.82_qt5.amd64.tar.gz. There are also .deb and .rpm versions for CentOS and Ubuntu at https://code-industry.net/free-pdf-editor/#get. If using the tarfile, you'll have to move things to the correct installation folders yourself.

I still have some issues which I've sent off to Code Industry. I'll publish the questions here and if I get responses back I'll publish those. If any of you already know the answers/resolutions, please feel free to comment.

I'm scanning with an HP OfficeJet Pro 8710

ISSUES

1. When I scan either a single page or all pages, ADF or Duplex, the scanned page length appears to be something like 17 inches long whereas I am scanning 8 1/2 x 11" pages. The lower half of this extra space has lots of cross-hatching lines throughout. I've looked and perhaps I'm just missing it, but I've found no setting to set the page length. If it's supposed to be automatic it's not working.

2. I often lose settings. After scanning with 'all pages', 'duplex', then going back to 'Create new document from the scanner', my 'Scan:' setting has reverted to "Single Page". Likewise, I'll often go to 'Create ... from scanner' and find my scan resolution has changed from my previously selected 200DPI setting to 75DPI, all by itself. These phenomenon are irritating because I've wasted time and possibly messed up an existing PDF to which I'm adding pages.

Feature question: Is it possible to paste pages into the editor? For example, if I have e.g. Foxit Reader or Okular opened with a PDF file, and MasterPDF opened with a different document. I can copy a page from the reader, but it won't paste into MasterPDF - even if I open a new blank PDF. Is there a way to do this? This is something frequently done in our office.

I don't seem to be able to open 2 instances of MasterPDF. When I run a 2nd copy it just reverts to the 1st. Is this doable? Perhaps it is a limitation/setting with KDE. Again, this is a frequent practice in the office so users can compare/edit documents side-by-side.

Last edited by mfoley; 03-15-2018 at 01:58 PM.
 
Old 03-15-2018, 05:05 PM   #10
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 667

Rep: Reputation: Disabled
Everything working on my end.

Last edited by PROBLEMCHYLD; 11-30-2018 at 01:48 PM.
 
Old 03-15-2018, 11:27 PM   #11
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by PROBLEMCHYLD View Post
Everything working on my end.
Did you try Document > OCR? Betcha you didn't!
 
Old 03-15-2018, 11:44 PM   #12
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
More feedback from Code Industry:
Quote:
Originally Posted by mfoley View Post
I still have some issues which I've sent off to Code Industry.

I'm scanning with an HP OfficeJet Pro 8710

ISSUES

1. When I scan either a single page or all pages, ADF or Duplex, the scanned page length appears to be something like 17 inches long whereas I am scanning 8 1/2 x 11" pages. The lower half of this extra space has lots of cross-hatching lines throughout. I've looked and perhaps I'm just missing it, but I've found no setting to set the page length. If it's supposed to be automatic it's not working.
They did not address this one specifically, but said they are working on improving the product. They likely have not tried all scanners. I will be trying a Fujitsu fi-5120C tomorrow. I'll report if that's different. Using the HP on the flatbed, it still clearly shows a longer page in the PDF than the physical page, but no "noise" at the end.
Quote:
2. I often lose settings. After scanning with 'all pages', 'duplex', then going back to 'Create new document from the scanner', my 'Scan:' setting has reverted to "Single Page". Likewise, I'll often go to 'Create ... from scanner' and find my scan resolution has changed from my previously selected 200DPI setting to 75DPI, all by itself. These phenomenon are irritating because I've wasted time and possibly messed up an existing PDF to which I'm adding pages.
Again, not specifically addressed in their latest response. But this is maddening. My resolution almost always reverts to 75DPI, even if I've just set it to 200DPI. This makes me re-scan a lot. Under 'Settings' there does not appear to be anything related to scanner settings, e.g. page size, resolution, color/BW, etc.
Quote:
Feature question: Is it possible to paste pages into the editor? For example, if I have e.g. Foxit Reader or Okular opened with a PDF file, and MasterPDF opened with a different document. I can copy a page from the reader, but it won't paste into MasterPDF - even if I open a new blank PDF. Is there a way to do this? This is something frequently done in our office.
"Yes", sort of. Under 'Document' you can 'extract' pages to a file and 'insert' pages into a file. Not quite the same thing as copy/paste, but that's their mechanism. I think we'll need the copy/paste feature before our office will consider this product. Otherwise, I'll be tarred and feathered.
Quote:
I don't seem to be able to open 2 instances of MasterPDF. When I run a 2nd copy it just reverts to the 1st. Is this doable? Perhaps it is a limitation/setting with KDE. Again, this is a frequent practice in the office so users can compare/edit documents side-by-side.
This is a "YES". Tools > Settings > Open documents as new tabs ..." Unchecking that box will open files in a new instance. Of course, our office's main practice for that is to copy pages from one document and paste to the other ... which you can't do!

One additional thing I'll mention; since my beta testing more than a year ago, they have greatly improved the scanned PDF file size optimization and the OCR recognition.

I'll likely NOT keep posting a blow-by-blow of my correspondence with Code Industry. Perhaps I'll post the results of the Fujitsu test. For the rest, MasterPDF will need to at least fix the page length thing, saving scan settings and add the copy/paste feature before we'll be able to use this in production. Meanwhile, we'll stick with Foxit Phantom PDF Business running in a Windows VM.
 
Old 03-29-2018, 12:34 AM   #13
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
Final post (for now). I plugged in a fujitsu fi-5120c. This device shows up in lsusb:
Code:
# lsusb
Bus 003 Device 004: ID 04c5:10e0 Fujitsu, Ltd fi-5120c Scanner
but MasterPDF does not see it. So, my response back to them is that for our office to move from Adobe or PhantomPDF we'd need 2 critical features before we would consider MasterPDF: 1) It would have to support the Fujitsu fi-series scanners since our office is littered with these things and they're expensive. They're also used in lots of lawyer offices and other such places where speed and quality of scan is important -- these are offices sized for Linux! 2) It would have to support copy/pasting pages from one instance to another, else I'd be lynched.

Additionally, it would have to stop losing settings like duplex and resolution, and would have to understand where the end of the page is.

So, that's my review of MasterPDF 4.3.88, Qt 5.4.1. I'll check updates every so often to see the progress.

Last edited by mfoley; 03-29-2018 at 12:51 AM.
 
  


Reply

Tags
pdf, scanner


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] MasterPDFEditor won't compile. TheNutCase Slackware 3 04-10-2017 10:22 PM
segfault sobah Linux - Newbie 5 08-15-2013 10:50 AM
Tracking down a segfault PatrickNew Programming 1 07-22-2007 09:47 PM
segfault in malloc_consolidate ?? zaichik Programming 3 09-13-2005 05:00 PM
Why does this code segfault? Yerp Programming 11 07-15-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration