bugGNUstep Application Project - Bugs: bug #32119, GSPdf throws exception when trying...

 
 

bug #32119: GSPdf throws exception when trying to open EPS file

Submitter:  Sebastian Reitenbach <buzzdee>
Submitted:  Thu 13 Jan 2011 09:22:24 AM UTC
   
 
Category:  Application Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 01 Jan 2022 09:21:35 PM UTC, comment #2: 

sorry, don't seem to have the file anymore.
should probably be closed then.

Sebastian Reitenbach <buzzdee>
Group Member
Sat 01 Jan 2022 09:17:40 PM UTC, comment #1: 

the file is no longer available, Sebastian. Do you have a small example to attach to the bug? does it actually still happen? There were some minor parser fixes in GSPdf.

Riccardo Mottola <rmottola>
Group administrator
Thu 13 Jan 2011 09:22:24 AM UTC, original submission:  

Instead of opening the EPS file, GSPdf throws an exception:

/usr/local/bin/GSPdf: Uncaught exception NSRangeException, reason: Index 0 is out of range 0 (in 'objectAtIndex:')

It seems it doesn't get the page count right.

Problem occured with this EPS file:
http://www-cdf.fnal.gov/physics/new/qcd/exclu_ee_06/plots/excElec_electron_et.eps

But I've also seen with other EPS files too, actually found none, that worked.


Have seen the problem with OpenBSD i386, using gnustep latest stable, and on opensuse 11.3 x86_64, using gnustep from svn, and gspdf from CVS.

Below the backtrace on the exception from the OpenSUSE box:


#0  -[NSException raise] (self=0xd686f0, _cmd=0x7ffff7527580) at NSException.m:955
#1  0x00007ffff70048c2 in -[GSArray objectAtIndex:] (self=0xeade80, _cmd=0x615b30, index=0) at GSArray.m:331
#2  0x0000000000407e29 in -[GSPdfDocument makePage] (self=0xde5f50, _cmd=<value optimized out>) at GSPdfDocument.m:235
#3  0x000000000040999d in -[GSPdfDocument windowControllerDidLoadNib:] (self=0xde5f50, _cmd=<value optimized out>, winController=<value optimized out>) at GSPdfDocument.m:174
#4  0x00007ffff7968e3f in -[NSWindowController window] (self=0xddf560, _cmd=<value optimized out>) at NSWindowController.m:314
#5  0x00007ffff7969906 in -[NSWindowController showWindow:] (self=0xddf560, _cmd=<value optimized out>, sender=0xde5f50) at NSWindowController.m:386
#6  0x00007ffff700498e in -[GSArray makeObjectsPerformSelector:withObject:] (self=0xd3e8f0, _cmd=<value optimized out>, aSelector=0x7ffff7cc3780, argument=0xde5f50) at GSArray.m:352
#7  0x00007ffff7862fe8 in -[NSDocumentController openDocumentWithContentsOfFile:display:] (self=0xe9f840, _cmd=<value optimized out>, fileName=0x7bbfb0, display=1 '\001') at NSDocumentController.m:579
#8  0x000000000040691a in -[GSPdf application:openFile:] (self=0x9b74e0, _cmd=<value optimized out>, app=<value optimized out>, filename=0x7bbfb0) at GSPdf.m:149
#9  0x00007ffff77fd14f in -[NSApplication finishLaunching] (self=0x90c2f0, _cmd=<value optimized out>) at NSApplication.m:1124
#10 0x00007ffff77feef8 in -[NSApplication run] (self=0x90c2f0, _cmd=<value optimized out>) at NSApplication.m:1525
#11 0x00007ffff77dfc57 in NSApplicationMain (argc=<value optimized out>, argv=<value optimized out>) at Functions.m:89
#12 0x00007ffff62d4b7d in __libc_start_main () from /lib64/libc.so.6
#13 0x00000000004020d9 in _start () at ../sysdeps/x86_64/elf/start.S:113

Sebastian Reitenbach <buzzdee>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by buzzdee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code