Bioinformatics.org
[University of Birmingham]
[Patsnap]
Not logged in
  • Log in
  • Bioinformatics.org
    Membership (44431+) Group hosting [?] Wiki
    Franklin Award
    Sponsorships

    Careers
    About bioinformatics
    Bioinformatics jobs

    Research
    All information groups
    Online databases Online analysis tools Online education tools More tools

    Development
    All software groups
    FTP repository
    SVN & CVS repositories [?]
    Mailing lists

    Forums
    News & Commentary
  • Submit
  • Archives
  • Subscribe

  • Jobs Forum
    (Career Center)
  • Submit
  • Archives
  • Subscribe
  • CD-HIT: Sequence clustering software - Support tickets

    Submit | Open tickets | Closed tickets

    [ Ticket #1103 ] CD-HIT Segmentation fault whilst writing new database
    Date:
    10/02/09 07:44
    Submitted by:
    gawbul
    Assigned to:
    unset
    Category:
    Clustering
    Priority:
    5
    Ticket group:
    Critical
    Resolution:
    Unset
    Summary:
    CD-HIT Segmentation fault whilst writing new database
    Original submission:
    hostname:cd-hit user$ sudo ~/Downloads/cd-hit/cd-hit -i out.fas -o cdhitout.fas
    total seq: 88
    longest and shortest : 1776 and 293
    Total letters: 101079
    Sequences have been sorted

    88 finished 4 clusters
    writing new database
    Segmentation fault
    Please log in to add comments and receive followups via email.
    Followups
    Comment Date By
    Same here on amd64.

    In the db_read_and_write function in cd-hi-class.c++,

    char buffer1[MAX_LINE_SIZE];

    needs to be changed to:

    char *buffer1 = (char *) malloc(sizeof(char) * MAX_LINE_SIZE);


    (This just makes the suggestion of soulcheck explicit)
    01/07/10 04:50 micha
    Same happens to me on amd64 linux machines. I narrowed it down to db_read_and_write function in cd-hi-class.c++.

    The problem is caused by not enough stack space for buffer1 array. Changing it to be allocated on the heap solves the problem.

    Can be resolved as well by increasing stack size with
    ulimit -s <new-stack-size>
    11/03/09 04:59 soulcheck
    No results for "Dependent on ticket"
    No results for "Dependent on Task"
    No other tickets are dependent on this ticket
    Ticket change history
    Field Old value Date By
    status_id Pending 07/14/11 01:23 liwz
    close_date 12/31/69 19:00 07/14/11 01:23 liwz

     

    Copyright © 2024 Scilico, LLC · Privacy Policy