Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#291 closed defect (fixed)

Crash when copying from font info box

Reported by: Lewis Rosenthal Owned by: Gregg Young
Priority: major Milestone:
Component: Lucide Core Version: 1.3.6
Keywords: Cc: Steven Levine

Description

Copy via Ctrl+Ins one or multiple lines causes access violation in lucide1.dll.

Can reproduce with a variety of PDF documents. TRP file attached.

cc'ing Steve because, well, I know he enjoys these things.

Attachments (1)

0088_01.TRP (63.8 KB ) - added by Lewis Rosenthal 8 years ago.

Download all attachments as: .zip

Change History (7)

by Lewis Rosenthal, 8 years ago

Attachment: 0088_01.TRP added

comment:1 by Gregg Young, 8 years ago

Ctr+C does it to. Not all pdfs show the trap. It could be related to the addition of substitute fonts in the dialog but I looked at all the code I added and don't see an obvious mistake.

comment:2 by Lewis Rosenthal, 8 years ago

I just found a PDF which does not crash (Ctrl+C or Ctrl+Ins) when copying. Might this have something to do with the length of the font name and what we are passing to Uclip?

FWIW, I am using:

uclip-0.3.0-1.oc00.pentium4

Last edited 8 years ago by Lewis Rosenthal (previous) (diff)

comment:3 by Gregg Young, 8 years ago

I figured out what was happening sometimes subname is NULL and in that case when it was added to the string it trapped. Now fixed.

comment:4 by Gregg Young, 8 years ago

Owner: set to Gregg Young
Status: newassigned

comment:5 by Gregg Young, 8 years ago

Resolution: fixed
Status: assignedclosed

CS [545]

comment:6 by Lewis Rosenthal, 8 years ago

Summary: Crash when copying from font into boxCrash when copying from font info box

Copied font info from document which does not crash:

Helvetica | Type 1 | Not embedded | Helvetica
Symbol | Type 1 | Not embedded | Symbol
Helvetica-Bold | Type 1 | Not embedded | Helvetica Bold
Times-Bold | Type 1 | Not embedded | Times New Roman Negreta
Times-Roman | Type 1 | Not embedded | Times New Roman
Arial-BoldMT | Type 1 | Not embedded | Arial Negreta
TimesNewRomanPSMT | Type 1 | Not embedded | DejaVu Sans

Fonts in document which crash:

LiberationSerif-Bold | TrueType | Embedded subset
LiberationSerif      | TrueType | Embedded subset

This would prove your point (no subname).

Thanks.

Last edited 8 years ago by Lewis Rosenthal (previous) (diff)
Note: See TracTickets for help on using tickets.