Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. p_file_01: Segmentation Fault

    p_file_01: Segmentation Fault

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 17.01

    Description:
    In TEST. After running p_file_01 to start the process of reloading the bibliographic records from MARCIVE we encountered a segmentation fault on file 27 of the 29 files. Only file 27 had this problem, all others ran fine. We were running p_file_01 from the command line, but this is the only file to run in to this problem.

    1. Changing to format "04" did not work. We get 1000s of CUT RECORDS:

    Cut 1000 documents
    Cut 2000 documents
    Cut 3000 documents
    Cut 4000 documents
    No of documents= 4598
    end

    2. We tried also format "05" with no output count.

    3. Fixed physical length 2048 format "01" works for the other 26 files, but not for this one. It does seem to be a file problem.

    Resolution:
    [From site:] We were in error: the format was not fixed length 2048 bytes, but rather record delimited by '1D' (value "04"). Once we changed the format this worked fine on the file in question, and we re-ran on all other files. The segmentation fault no longer occurs. And the output by both methods matched on the other files.


    • Article last edited: 1/21/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_file_01: just one record, then Segmentation Fault
      • p_file_01: "I/O error : file 'TP1' ... File not found" even though file present
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 17.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved