Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast
    Join Date
    Dec 2011
    Turtle Island West

    xpdf segmentation fault

    So I discovered my brand spanking new freshly compiled xpdf segfaults on some PDFs. Bummer.

    I did some googling, yes indeed, others have a similar problem. No real answers.

    Well, it's v3.03, with all the cool options, and otherwise it works better than the alternatives. After much hacking and poking, I discover a little tidbit in the source code,

    #dnl ##### Check for t1lib.
    smr_CHECK_LIB(t1, t1, [Type 1 font rasterizer],
                  T1_InitLib, t1lib.h,
                  -lm, $X_CFLAGS)
    # t1lib has some potential security holes, and hasn't been updated in
    # years -- if you really want to use it, uncomment the preceding lines,
    # and comment out the next two lines
    As you can see, I've already done the appropriate commenting/uncommenting. Yeah, it doesn't want to use libT1? Well, this is how you make fonts in PDF world. Potential security holes? Bah.

    Fix like that, run autoconf to regenerate the configure script, make sure it knows where you keep freetype2, make clean, make, and make install.

    I haven't had it segfault since.

    Peace and Cheer.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Good catch Miven. You get a banana from me!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Enthusiast
    Join Date
    Dec 2011
    Turtle Island West
    Aw. My first banana. I'm getting all teary eyed. Thanks Rubberman.

    I'm still working on my John Travolta Saturday Night Fever Dancing Banana animated gif. It's hard to draw with a mouse. Maybe I go back to old school and use tracing paper and scanner.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts