[Bug 654562] Re: PDF importer doesn't import PDFs generated by ps2pdf

2011-02-17 Thread Stu Black
Unfortunately, I can't send the PostScript and PDF files that reliably
trigger this behavior, as they contain private information.

I am trying to create new files which trigger this behavior. While I
have not yet been able to trigger the behavior I described in the
initial bug report, I have been able to make a PDF file that causes
OpenOffice to die on a corrupted double-linked list. The PDF file is
produced by ps2pdf from a 2-up printing of an Emacs buffer of simple
Java code. This occurs with PDF files generated by both ps2pdf and
ps2pdf13.

This might be a separate issue, but I will attach a text file with the
backtrace, the PostScript file generated by Emacs, and the PDF file
generated by ps2pdf.

The backtrace was generated by invoking the following from a terminal:

oowriter beta.pdf

** Attachment added: Backtrace from invoking oowriter
   
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/654562/+attachment/1856925/+files/backtrace.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/654562

Title:
  PDF importer doesn't import PDFs generated by ps2pdf

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 654562] Re: PDF importer doesn't import PDFs generated by ps2pdf

2011-02-17 Thread Stu Black
This is the PostScript file.

** Attachment added: PostScript file fed into ps2pdf
   
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/654562/+attachment/1856926/+files/beta.ps

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/654562

Title:
  PDF importer doesn't import PDFs generated by ps2pdf

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 654562] Re: PDF importer doesn't import PDFs generated by ps2pdf

2011-02-17 Thread Stu Black
This is the PDF file.

** Attachment added: PDF file produced by ps2pdf
   
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/654562/+attachment/1856927/+files/beta.pdf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/654562

Title:
  PDF importer doesn't import PDFs generated by ps2pdf

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 654562] [NEW] PDF importer doesn't import PDFs generated by ps2pdf

2010-10-04 Thread Stu Black
Public bug reported:

Binary package hint: openoffice.org-pdfimport

After installing openoffice.org-pdfimport, not one of oodraw, ooimpress,
or oowriter can open PDFs output by ps2pdf. Attempting to open a PDF
leads to a modal dialog box with the message, General Error. General
input/output error, and an OK button.

After the dialog is dismissed:

If the program was launched with a PDF file as an argument, the program
then closes.

If the file was opened from a running instance, the program continues as
though nothing happened.

The PDFs generated by ps2pdf are PDF version 1.4. If PDFs are generated
by ps2pdf13 or ps2pdf12, they can be imported into oodraw as expected.

It is expected that:

1. A more detailed error message be printed (like, This plugin supports
PDF versions x, y, and z. The documented you tried to open does not
appear to be one of these versions.).

2. The plugin properly handle version 1.4 PDFs generated by ps2pdf.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openoffice.org-pdfimport 1.0+OOo3.2.0-7ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.32-24.43-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Mon Oct  4 10:05:09 2010
InstallationMedia: Ubuntu-Server 10.04 LTS Lucid Lynx - Release amd64 
(20100427)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openoffice.org

** Affects: openoffice.org (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug lucid

-- 
PDF importer doesn't import PDFs generated by ps2pdf
https://bugs.launchpad.net/bugs/654562
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 654562] Re: PDF importer doesn't import PDFs generated by ps2pdf

2010-10-04 Thread Stu Black

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/654562/+attachment/1671362/+files/Dependencies.txt

-- 
PDF importer doesn't import PDFs generated by ps2pdf
https://bugs.launchpad.net/bugs/654562
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 640734] [NEW] crtbeginT.o needs to be recompiled with -fPIC

2010-09-16 Thread Stu Black
Public bug reported:

Binary package hint: gcc-4.4

I'm trying to compile a very simple C library to examine how JNI
functions. The code in question comes from
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.html
. I will attach the file nativelib.c, taken from that site.

When running the command:

gcc -o libnativelib.so -shared -Wl,-soname,libnative.so
-I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/linux nativelib.c -static -lc

gcc says:

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbeginT.o: relocation 
R_X86_64_32 against `__DTOR_END__' can not be used when making a shared object; 
recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbeginT.o: could not read symbols: Bad 
value
collect2: ld returned 1 exit status

It looks like crtbeginT.o needs to be recompiled with -fPIC.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gcc-4.4-base 4.4.3-4ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-24.41-server 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Thu Sep 16 12:27:58 2010
Dependencies:
 
InstallationMedia: Ubuntu-Server 10.04 LTS Lucid Lynx - Release amd64 
(20100427)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gcc-4.4

** Affects: gcc-4.4 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug lucid

-- 
crtbeginT.o needs to be recompiled with -fPIC
https://bugs.launchpad.net/bugs/640734
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 640734] Re: crtbeginT.o needs to be recompiled with -fPIC

2010-09-16 Thread Stu Black
Attaching nativelib.c.

** Attachment added: source of C file which gives error
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/640734/+attachment/1594879/+files/nativelib.c

-- 
crtbeginT.o needs to be recompiled with -fPIC
https://bugs.launchpad.net/bugs/640734
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs