[Debian-med-packaging] Bug#784929: subread: FTBFS on arm64, armel, armhf, ...

Alex Mestiashvili alex at biotec.tu-dresden.de
Fri May 22 09:08:02 UTC 2015


Hi Wei,

On 05/20/2015 01:09 AM, Wei Shi wrote:
> Hi Alex,
>
> Thanks for testing our package and providing us the feedback.
>
> We will look into the getopt issue. If that is the only issue that 
> caused problem for running Subread on ARM, I think we can fix it.

The good news - ARM issues are solved by adding -fsigned-char to CCFLAGS.
In this case subread works on architectures where char is by default 
unsigned such as armel, armhf and so on.
And in this case there is no need to patch getopt.

Though there are still problems on powerpc, mips and s390x:
- subjunc test return Segmentation fault,
- exactSNP test complains that it can not read the file

here is the output:
exactSNP FEOF 0!
SAM file does not exist or is not accessible: 'data/test-in.BAM'

>
> Could you also please provide us your cppcheck results? We would like 
> to know where memory leaks occur in the code and we can then fix them.

Please see the attachment for the cppcheck output.

Thank you,
Alex

> Best regards,
>
> Wei

>
> On May 15, 2015, at 10:59 PM, Alex Mestiashvili wrote:
>
>> Dear Wei,
>>
>> thank you for the quick answer.
>>
>> On 05/12/2015 01:59 AM, Wei Shi wrote:
>>> Hi Alex,
>>>
>>> We have tested subread on both 32-bit and 64-bit Intel and AMD 
>>> platforms and it works fine (the gcc flags you mentioned were all 
>>> included). So I do not know what caused the installation failure. 
>>> Maybe you can show us the errors you have encountered?
>>
>> I was not correct in the last email, the failure on i386 was related 
>> to the debian specific part of the build process.
>> So both AMD64 and i386 are fine.
>> The full build logs are located here: 
>> https://buildd.debian.org/status/logs.php?pkg=subread
>>
>> Regarding the -mtune option, My understanding is that tuning for a 
>> specific CPU shouldn't be used for a
>> binary package which can be used on a wide range of CPUs.
>> Currently I removed -mtune completely, but maybe -mtune=generic 
>> should be used instead of  -mtune=core2.
>>
>>  "generic"
>>  Produce code optimized for the most common IA32/AMD64/EM64T processors.
>>  If you know the CPU on which your code will run, then you should use 
>> the
>>  corresponding -mtune or -march option instead of -mtune=generic.
>>  But, if you do not know exactly what CPU users of your application 
>> will have,
>>  then you should use this option.
>>
>> https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
>>
>> The -msse and -msse2 flags are enabled by default for x86-64 
>> compiler, so it should be no problem to strip them,
>> and AFAIK SSE also implies support for MMX, so -mmmx flag is not 
>> needed too.
>>
>>> Currently, Subread only supports AMD and Intel architectures and we 
>>> do not have a plan to support other platforms such as ARM.
>>
>> I see, In such case I'll limit the architectures for the package to 
>> the ones where it builds successfully and passes the tests.
>>
>> Just for your information, I tried to fix the getopt issue by 
>> defining "c" as int instead of char.
>> The binaries were build successfully on ARM and other architectures, 
>> but the tests fail, you can see the results here:
>>
>> https://buildd.debian.org/status/logs.php?pkg=subread&ver=1.4.6-p2%2Bdfsg-3&suite=experimental
>>
>> Also the cppcheck reveals a lot of memory leaks in the code.
>>
>> Best regards,
>> Alex
>>
>>>
>>> On May 11, 2015, at 5:34 PM, Alex Mestiashvili wrote:
>>>
>>>> Dear Dr. Wei Shi,
>>>>
>>>> Debian supports many CPU architectures and building of subread 
>>>> failed on some of these architectures.
>>>>
>>>> 1. Due to quite specific -mtune and -mmmx -msse* gcc flags, subread 
>>>> failed to build almost on any architecture except amd64.
>>>> This issue was fixed by removing -mtune and -mmmx -msse* flags from 
>>>> the src/Makefile.Linux.
>>>> http://anonscm.debian.org/cgit/debian-med/subread.git/tree/debian/patches/gcc_flags_cleanup.patch
>>>>
>>>> 2. We still have an issue, now with exactSNP, please see the bug 
>>>> report below.
>>>>
>>>> Thank you,
>>>> Alex
>>>>
>>>>
>>>> -------- Forwarded Message --------
>>>> Subject: 	[Debian-med-packaging] Bug#784929: subread: FTBFS on 
>>>> arm64, armel, armhf, ...
>>>> Resent-Date: 	Sun, 10 May 2015 19:54:01 +0000
>>>> Resent-From: 	Edmund Grimley Evans <edmund.grimley.evans at gmail.com>
>>>> Resent-To: 	debian-bugs-dist at lists.debian.org
>>>> Resent-CC: 	Debian Med Packaging Team 
>>>> <debian-med-packaging at lists.alioth.debian.org>
>>>> Date: 	Sun, 10 May 2015 20:51:41 +0100
>>>> From: 	Edmund Grimley Evans <edmund.grimley.evans at gmail.com>
>>>> Reply-To: 	Edmund Grimley Evans <edmund.grimley.evans at gmail.com>, 
>>>> 784929 at bugs.debian.org
>>>> To: 	submit at bugs.debian.org
>>>>
>>>>
>>>>
>>>> Source: subread
>>>> Version: 1.4.6-p2+dfsg-2
>>>>
>>>> It failed to build on several architectures:
>>>>
>>>> https://buildd.debian.org/status/package.php?p=subread&suite=sid
>>>>
>>>> There seems to be a problem with (unsigned) char. See this file, for
>>>> example:
>>>>
>>>> https://sources.debian.net/src/subread/1.4.6-p2%2Bdfsg-2/src/SNPCalling.c/
>>>>
>>>> This line:
>>>>
>>>> while ((c = getopt_long (argc, argv, "7:N:a:i:g:o:bQ:p:f:n:r:x:w:s:t:T:v4",snp_long_options, &optindex))!=-1)
>>>>
>>>> The function getopt_long returns int, but the value is assigned to a
>>>> char c, which is unsigned on ARM architectures, so it will never be
>>>> equal to -1. That is probably the immediate cause of the failure.
>>>> However, there may be other char-related problems in there. I noticed,
>>>> for example, that mask_snp_bitmap may be incorrect according to the C
>>>> standard (signed overflow).
>>>>
>>>> _______________________________________________
>>>> Debian-med-packaging mailing list
>>>> Debian-med-packaging at lists.alioth.debian.org
>>>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
>>>>
>>>>
>>>
>>>
>>> ______________________________________________________________________
>>> The information in this email is confidential and intended solely 
>>> for the addressee.
>>> You must not disclose, forward, print or use it without the 
>>> permission of the sender.
>>> ______________________________________________________________________
>>
>
>
> ______________________________________________________________________
> The information in this email is confidential and intended solely for 
> the addressee.
> You must not disclose, forward, print or use it without the permission 
> of the sender.
> ______________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150522/17e2c518/attachment-0001.html>
-------------- next part --------------
Checking src/HelperFunctions.c...
Checking src/HelperFunctions.c: LARGE_GENE_VOTE_TABLE...
Checking src/HelperFunctions.c: MAKE_FOR_EXON...
Checking src/HelperFunctions.c: MAKE_STANDALONE...
Checking src/HelperFunctions.c: NONONO_DONOTDEF...
Checking src/HelperFunctions.c: REPORT_ALL_THE_BEST...
Checking src/HelperFunctions.c: RSUBREAD_TEST_HELPER_FUNCTIONS...
Checking src/HelperFunctions.c: RUNNING_ENV...
Checking src/HelperFunctions.c: WINDOWS...
1/39 files checked 0% done
Checking src/SNPCalling.c...
[src/SNPCalling.c:604]: (error) Memory leak: snp_voting_piles
[src/SNPCalling.c:604]: (error) Memory leak: pcutoff_list
[src/SNPCalling.c:604]: (error) Memory leak: snp_filter_background_unmatched
[src/SNPCalling.c:604]: (error) Memory leak: snp_filter_background_matched
[src/SNPCalling.c:604]: (error) Memory leak: sprint_line
[src/SNPCalling.c:1348]: (error) Memory leak: known_chromosomes
Checking src/SNPCalling.c: LARGE_GENE_VOTE_TABLE...
Checking src/SNPCalling.c: MAKE_FOR_EXON...
Checking src/SNPCalling.c: MAKE_STANDALONE...
Checking src/SNPCalling.c: NONONO_DONOTDEF...
Checking src/SNPCalling.c: REPORT_ALL_THE_BEST...
Checking src/SNPCalling.c: RUNNING_ENV...
Checking src/SNPCalling.c: WINDOWS...
2/39 files checked 4% done
Checking src/SUBindel.c...
Checking src/SUBindel.c: LARGE_GENE_VOTE_TABLE...
Checking src/SUBindel.c: MAKE_FOR_EXON...
Checking src/SUBindel.c: MAKE_STANDALONE...
Checking src/SUBindel.c: NONONO_DONOTDEF...
Checking src/SUBindel.c: REPORT_ALL_THE_BEST...
Checking src/SUBindel.c: RUNNING_ENV...
Checking src/SUBindel.c: WINDOWS...
3/39 files checked 5% done
Checking src/aligner.c...
4/39 files checked 5% done
Checking src/build-sam-index.c...
[src/build-sam-index.c:147]: (error) Common realloc mistake: 'bucket' nulled but not freed upon failure
[src/build-sam-index.c:196]: (error) Memory leak: bucket_bases
Checking src/build-sam-index.c: LARGE_GENE_VOTE_TABLE...
Checking src/build-sam-index.c: MAKE_FOR_EXON...
Checking src/build-sam-index.c: MAKE_STANDALONE...
Checking src/build-sam-index.c: NONONO_DONOTDEF...
Checking src/build-sam-index.c: REPORT_ALL_THE_BEST...
Checking src/build-sam-index.c: RUNNING_ENV...
Checking src/build-sam-index.c: WINDOWS...
5/39 files checked 6% done
Checking src/core-indel.c...
[src/core-indel.c:787]: (error) Memory leak: indel_thread_context
[src/core-indel.c:3199]: (error) Memory leak: read_text
[src/core-indel.c:3199]: (error) Memory leak: qual_text
[src/core-indel.c:3199]: (error) Memory leak: window_center_read_no
[src/core-indel.c:3199]: (error) Memory leak: window_base_number
[src/core-indel.c:3199]: (error) Memory leak: window_center_read_qual
[src/core-indel.c:3199]: (error) Memory leak: window_center_read_masks
[src/core-indel.c:3199]: (error) Memory leak: first_half_alleles
[src/core-indel.c:3199]: (error) Memory leak: second_half_alleles
[src/core-indel.c:3199]: (error) Memory leak: mapquality_lower_bounds_certain
[src/core-indel.c:3199]: (error) Memory leak: box_read_number_certain
[src/core-indel.c:3199]: (error) Memory leak: mapquality_lower_bounds
[src/core-indel.c:3199]: (error) Memory leak: box_read_number
[src/core-indel.c:3199]: (error) Memory leak: full_rebuilt_window
[src/core-indel.c:259]: (error) Memory leak: cancelled_event_list
[src/core-indel.c:2036]: (error) Uninitialized variable: all_reads
Checking src/core-indel.c: LARGE_GENE_VOTE_TABLE...
Checking src/core-indel.c: MAKE_FOR_EXON...
Checking src/core-indel.c: MAKE_STANDALONE...
Checking src/core-indel.c: NONONO_DONOTDEF...
Checking src/core-indel.c: REPORT_ALL_THE_BEST...
Checking src/core-indel.c: RUNNING_ENV...
Checking src/core-indel.c: WINDOWS...
Checking src/core-indel.c: indel_debug...
6/39 files checked 18% done
Checking src/core-interface-aligner.c...
Checking src/core-interface-aligner.c: LARGE_GENE_VOTE_TABLE...
Checking src/core-interface-aligner.c: MAKE_FOR_EXON...
Checking src/core-interface-aligner.c: MAKE_STANDALONE...
Checking src/core-interface-aligner.c: NONONO_DONOTDEF...
Checking src/core-interface-aligner.c: REPORT_ALL_THE_BEST...
Checking src/core-interface-aligner.c: RUNNING_ENV...
Checking src/core-interface-aligner.c: RUNNING_ENV_JAVA...
Checking src/core-interface-aligner.c: WINDOWS...
7/39 files checked 19% done
Checking src/core-interface-subjunc.c...
Checking src/core-interface-subjunc.c: LARGE_GENE_VOTE_TABLE...
Checking src/core-interface-subjunc.c: MAKE_FOR_EXON...
Checking src/core-interface-subjunc.c: MAKE_STANDALONE...
Checking src/core-interface-subjunc.c: NONONO_DONOTDEF...
Checking src/core-interface-subjunc.c: REPORT_ALL_THE_BEST...
Checking src/core-interface-subjunc.c: RUNNING_ENV...
Checking src/core-interface-subjunc.c: RUNNING_ENV_JAVA...
Checking src/core-interface-subjunc.c: WINDOWS...
8/39 files checked 21% done
Checking src/core-junction-V2.c...
Checking src/core-junction-V2.c: LARGE_GENE_VOTE_TABLE...
Checking src/core-junction-V2.c: MAKE_FOR_EXON...
Checking src/core-junction-V2.c: MAKE_STANDALONE...
Checking src/core-junction-V2.c: NONONO_DONOTDEF...
[src/core-junction-V2.c:2720]: (error) Buffer is accessed out of bounds.
[src/core-junction-V2.c:2755]: (error) Buffer is accessed out of bounds.
[src/core-junction-V2.c:2765]: (error) Buffer is accessed out of bounds.
Checking src/core-junction-V2.c: REPORT_ALL_THE_BEST...
Checking src/core-junction-V2.c: RUNNING_ENV...
Checking src/core-junction-V2.c: WINDOWS...
9/39 files checked 30% done
Checking src/core-junction.c...
Checking src/core-junction.c: LARGE_GENE_VOTE_TABLE...
Checking src/core-junction.c: MAKE_FOR_EXON...
Checking src/core-junction.c: MAKE_STANDALONE...
Checking src/core-junction.c: NONONO_DONOTDEF...
[src/core-junction.c:3399]: (error) Buffer is accessed out of bounds.
[src/core-junction.c:3434]: (error) Buffer is accessed out of bounds.
[src/core-junction.c:3444]: (error) Buffer is accessed out of bounds.
Checking src/core-junction.c: REPORT_ALL_THE_BEST...
Checking src/core-junction.c: RUNNING_ENV...
Checking src/core-junction.c: WINDOWS...
10/39 files checked 41% done
Checking src/core.c...
[src/core.c:662]: (error) Memory leak: fline
[src/core.c:2930]: (error) Memory leak: read_text_1
[src/core.c:2930]: (error) Memory leak: read_text_2
[src/core.c:2930]: (error) Memory leak: qual_text_1
[src/core.c:2930]: (error) Memory leak: qual_text_2
[src/core.c:2930]: (error) Memory leak: vote_1
[src/core.c:2930]: (error) Memory leak: vote_2
[src/core.c:2930]: (error) Memory leak: vote_fg
[src/core.c:789]: (error) Uninitialized variable: temp_file_name
[src/core.c:175]: (error) va_list 'args' was opened but not closed by va_end().
Checking src/core.c: LARGE_GENE_VOTE_TABLE...
Checking src/core.c: MAKE_FOR_EXON...
Checking src/core.c: MAKE_STANDALONE...
Checking src/core.c: NONONO_DONOTDEF...
Checking src/core.c: REPORT_ALL_THE_BEST...
Checking src/core.c: RUNNING_ENV...
Checking src/core.c: WINDOWS...
11/39 files checked 53% done
Checking src/coverage_calc.c...
Checking src/coverage_calc.c: LARGE_GENE_VOTE_TABLE...
Checking src/coverage_calc.c: MAKE_FOR_EXON...
Checking src/coverage_calc.c: MAKE_STANDALONE...
Checking src/coverage_calc.c: NONONO_DONOTDEF...
Checking src/coverage_calc.c: REPORT_ALL_THE_BEST...
Checking src/coverage_calc.c: RUNNING_ENV...
Checking src/coverage_calc.c: WINDOWS...
12/39 files checked 53% done
Checking src/exon-algorithms.c...
13/39 files checked 53% done
Checking src/exon-align-indel.c...
14/39 files checked 53% done
Checking src/exon-align.c...
15/39 files checked 53% done
Checking src/filterJunctionTable.c...
Checking src/filterJunctionTable.c: LARGE_GENE_VOTE_TABLE...
Checking src/filterJunctionTable.c: MAKE_FOR_EXON...
Checking src/filterJunctionTable.c: MAKE_STANDALONE...
Checking src/filterJunctionTable.c: NONONO_DONOTDEF...
Checking src/filterJunctionTable.c: REPORT_ALL_THE_BEST...
Checking src/filterJunctionTable.c: RUNNING_ENV...
Checking src/filterJunctionTable.c: WINDOWS...
16/39 files checked 54% done
Checking src/fullscan.c...
Checking src/fullscan.c: LARGE_GENE_VOTE_TABLE...
Checking src/fullscan.c: MAKE_FOR_EXON...
Checking src/fullscan.c: MAKE_STANDALONE...
Checking src/fullscan.c: NONONO_DONOTDEF...
Checking src/fullscan.c: REPORT_ALL_THE_BEST...
Checking src/fullscan.c: RUNNING_ENV...
Checking src/fullscan.c: WINDOWS...
17/39 files checked 54% done
Checking src/fusion-align.c...
18/39 files checked 54% done
Checking src/gen_long_chromosomes.c...
19/39 files checked 54% done
Checking src/gen_rand_reads.c...
20/39 files checked 55% done
Checking src/gene-algorithms.c...
Checking src/gene-algorithms.c: FREEBSD...
Checking src/gene-algorithms.c: LARGE_GENE_VOTE_TABLE...
Checking src/gene-algorithms.c: MACOS...
Checking src/gene-algorithms.c: MAKE_FOR_EXON...
Checking src/gene-algorithms.c: MAKE_STANDALONE...
Checking src/gene-algorithms.c: NONONO_DONOTDEF...
Checking src/gene-algorithms.c: REPORT_ALL_THE_BEST...
Checking src/gene-algorithms.c: RUNNING_ENV...
Checking src/gene-algorithms.c: TEST_WHATCIGARREVERSE...
Checking src/gene-algorithms.c: USE_SLOW_HASHTABLE_INDEX...
Checking src/gene-algorithms.c: WINDOWS...
Checking src/gene-algorithms.c: indel_debug...
21/39 files checked 60% done
Checking src/gene-value-index.c...
[src/gene-value-index.c:468]: (error) Possible null pointer dereference: best_indel_poses
Checking src/gene-value-index.c: LARGE_GENE_VOTE_TABLE...
Checking src/gene-value-index.c: MAKE_FOR_EXON...
Checking src/gene-value-index.c: MAKE_STANDALONE...
Checking src/gene-value-index.c: NONONO_DONOTDEF...
Checking src/gene-value-index.c: REPORT_ALL_THE_BEST...
Checking src/gene-value-index.c: RUNNING_ENV...
Checking src/gene-value-index.c: WINDOWS...
22/39 files checked 63% done
Checking src/global-reassembly.c...
[src/global-reassembly.c:373]: (error) Memory leak: read1_tmp
[src/global-reassembly.c:373]: (error) Memory leak: line_buff
[src/global-reassembly.c:373]: (error) Memory leak: in_sequence
[src/global-reassembly.c:373]: (error) Memory leak: in_quality_string
[src/global-reassembly.c:373]: (error) Memory leak: in_readname
[src/global-reassembly.c:373]: (error) Resource leak: fp_fraglist
[src/global-reassembly.c:373]: (error) Resource leak: fp_fragproperties
[src/global-reassembly.c:391]: (error) Memory leak: read1_tmp
[src/global-reassembly.c:391]: (error) Memory leak: line_buff
[src/global-reassembly.c:391]: (error) Memory leak: in_sequence
[src/global-reassembly.c:391]: (error) Memory leak: in_quality_string
[src/global-reassembly.c:391]: (error) Memory leak: in_readname
[src/global-reassembly.c:391]: (error) Resource leak: fp_fraglist
[src/global-reassembly.c:391]: (error) Resource leak: fp_fragproperties
[src/global-reassembly.c:391]: (error) Resource leak: fq1fp
[src/global-reassembly.c:391]: (error) Resource leak: fq2fp
[src/global-reassembly.c:406]: (error) Memory leak: read1_tmp
[src/global-reassembly.c:406]: (error) Memory leak: line_buff
[src/global-reassembly.c:406]: (error) Memory leak: in_sequence
[src/global-reassembly.c:406]: (error) Memory leak: in_quality_string
[src/global-reassembly.c:406]: (error) Memory leak: in_readname
[src/global-reassembly.c:406]: (error) Resource leak: fp_fraglist
[src/global-reassembly.c:406]: (error) Resource leak: fp_fragproperties
[src/global-reassembly.c:1742]: (error) Memory leak: global_context
[src/global-reassembly.c:1797]: (error) Memory leak: tmptmp
Checking src/global-reassembly.c: LARGE_GENE_VOTE_TABLE...
Checking src/global-reassembly.c: MAKE_FOR_EXON...
Checking src/global-reassembly.c: MAKE_STANDALONE...
Checking src/global-reassembly.c: NONONO_DONOTDEF...
Checking src/global-reassembly.c: REPORT_ALL_THE_BEST...
Checking src/global-reassembly.c: RUNNING_ENV...
Checking src/global-reassembly.c: WINDOWS...
23/39 files checked 67% done
Checking src/hashtable.c...
24/39 files checked 69% done
Checking src/index-builder.c...
[src/index-builder.c:104]: (error) Memory leak: read_offsets
[src/index-builder.c:104]: (error) Memory leak: read_names
[src/index-builder.c:110]: (error) Memory leak: read_offsets
[src/index-builder.c:110]: (error) Memory leak: read_names
[src/index-builder.c:116]: (error) Memory leak: read_offsets
[src/index-builder.c:116]: (error) Memory leak: read_names
[src/index-builder.c:119]: (error) Memory leak: read_offsets
[src/index-builder.c:119]: (error) Memory leak: read_names
[src/index-builder.c:779]: (error) Memory leak: line_buf
[src/index-builder.c:779]: (error) Memory leak: read_head_buf
[src/index-builder.c:239]: (error) Common realloc mistake: 'read_offsets' nulled but not freed upon failure
[src/index-builder.c:240]: (error) Common realloc mistake: 'read_names' nulled but not freed upon failure
Checking src/index-builder.c: LARGE_GENE_VOTE_TABLE...
Checking src/index-builder.c: MAKE_FOR_EXON...
Checking src/index-builder.c: MAKE_STANDALONE...
Checking src/index-builder.c: NONONO_DONOTDEF...
Checking src/index-builder.c: REPORT_ALL_THE_BEST...
Checking src/index-builder.c: RUNNING_ENV...
Checking src/index-builder.c: WINDOWS...
25/39 files checked 71% done
Checking src/input-files.c...
[src/input-files.c:1955]: (error) Array 'this_gene_name[12]' accessed at index 199, which is out of bounds.
[src/input-files.c:1956]: (error) Array 'this_gene_name[12]' accessed at index 200, which is out of bounds.
Checking src/input-files.c: LARGE_GENE_VOTE_TABLE...
Checking src/input-files.c: MAKE_FOR_EXON...
Checking src/input-files.c: MAKE_INPUTTEST...
Checking src/input-files.c: MAKE_STANDALONE...
Checking src/input-files.c: MAKE_TYPETEST...
Checking src/input-files.c: MODIFIED_READ_LEN...
[src/input-files.c:1]: (information) Skipping configuration 'MODIFIED_READ_LEN' since the value of 'MODIFIED_READ_LEN' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.
Checking src/input-files.c: NONONO_DONOTDEF...
Checking src/input-files.c: REPORT_ALL_THE_BEST...
Checking src/input-files.c: RUNNING_ENV...
Checking src/input-files.c: WINDOWS...
26/39 files checked 77% done
Checking src/interval_merge.c...
Checking src/interval_merge.c: MAKE_TEST_INTERVL_MERGE...
27/39 files checked 77% done
Checking src/long-hashtable.c...
[src/long-hashtable.c:386]: (error) Common realloc mistake: 'ret' nulled but not freed upon failure
Checking src/long-hashtable.c: FREEBSD...
Checking src/long-hashtable.c: LARGE_GENE_VOTE_TABLE...
Checking src/long-hashtable.c: MACOS...
Checking src/long-hashtable.c: MAKE_FOR_EXON...
Checking src/long-hashtable.c: MAKE_STANDALONE...
Checking src/long-hashtable.c: NONONO_DONOTDEF...
Checking src/long-hashtable.c: REPORT_ALL_THE_BEST...
Checking src/long-hashtable.c: RUNNING_ENV...
Checking src/long-hashtable.c: WINDOWS...
28/39 files checked 78% done
Checking src/mergeVCF.c...
[src/mergeVCF.c:280]: (error) Common realloc mistake: 'output_list' nulled but not freed upon failure
Checking src/mergeVCF.c: LARGE_GENE_VOTE_TABLE...
Checking src/mergeVCF.c: MAKE_FOR_EXON...
Checking src/mergeVCF.c: MAKE_STANDALONE...
Checking src/mergeVCF.c: NONONO_DONOTDEF...
Checking src/mergeVCF.c: REPORT_ALL_THE_BEST...
Checking src/mergeVCF.c: RUNNING_ENV...
Checking src/mergeVCF.c: WINDOWS...
29/39 files checked 79% done
Checking src/propmapped.c...
[src/propmapped.c:461]: (error) Memory leak: context
Checking src/propmapped.c: LARGE_GENE_VOTE_TABLE...
Checking src/propmapped.c: MAKE_FOR_EXON...
Checking src/propmapped.c: MAKE_STANDALONE...
Checking src/propmapped.c: NONONO_DONOTDEF...
Checking src/propmapped.c: REPORT_ALL_THE_BEST...
Checking src/propmapped.c: RUNNING_ENV...
Checking src/propmapped.c: WINDOWS...
30/39 files checked 80% done
Checking src/qualityScores.c...
Checking src/qualityScores.c: LARGE_GENE_VOTE_TABLE...
Checking src/qualityScores.c: MAKE_FOR_EXON...
Checking src/qualityScores.c: MAKE_STANDALONE...
Checking src/qualityScores.c: NONONO_DONOTDEF...
Checking src/qualityScores.c: REPORT_ALL_THE_BEST...
Checking src/qualityScores.c: RUNNING_ENV...
Checking src/qualityScores.c: WINDOWS...
31/39 files checked 81% done
Checking src/readSummary.c...
[src/readSummary.c:455]: (error) Memory leak: file_line
[src/readSummary.c:933]: (error) Common realloc mistake: 'ret_block_min_start' nulled but not freed upon failure
[src/readSummary.c:934]: (error) Common realloc mistake: 'ret_block_max_end' nulled but not freed upon failure
[src/readSummary.c:935]: (error) Common realloc mistake: 'ret_block_end_index' nulled but not freed upon failure
[src/readSummary.c:960]: (error) Common realloc mistake: 'ret_block_min_start' nulled but not freed upon failure
[src/readSummary.c:961]: (error) Common realloc mistake: 'ret_block_max_end' nulled but not freed upon failure
[src/readSummary.c:962]: (error) Common realloc mistake: 'ret_block_end_index' nulled but not freed upon failure
[src/readSummary.c:3755]: (error) Common realloc mistake: 'cmd_rebuilt' nulled but not freed upon failure
[src/readSummary.c:3934]: (error) Common realloc mistake: 'very_long_file_names' nulled but not freed upon failure
[src/readSummary.c:2336]: (error) Memory leak: temp_file_name
[src/readSummary.c:2336]: (error) Memory leak: fline
[src/readSummary.c:3253]: (error) Memory leak: line
Checking src/readSummary.c: LARGE_GENE_VOTE_TABLE...
Checking src/readSummary.c: MAKE_FOR_EXON...
Checking src/readSummary.c: MAKE_STANDALONE...
Checking src/readSummary.c: NONONO_DONOTDEF...
Checking src/readSummary.c: REPORT_ALL_THE_BEST...
Checking src/readSummary.c: RUNNING_ENV...
Checking src/readSummary.c: WINDOWS...
32/39 files checked 91% done
Checking src/removeDupReads.c...
[src/removeDupReads.c:193]: (error) Memory leak: read_selection_list
[src/removeDupReads.c:204]: (error) Memory leak: read_selection_list
Checking src/removeDupReads.c: LARGE_GENE_VOTE_TABLE...
Checking src/removeDupReads.c: MAKE_FOR_EXON...
Checking src/removeDupReads.c: MAKE_STANDALONE...
Checking src/removeDupReads.c: NONONO_DONOTDEF...
Checking src/removeDupReads.c: REPORT_ALL_THE_BEST...
Checking src/removeDupReads.c: RUNNING_ENV...
Checking src/removeDupReads.c: WINDOWS...
33/39 files checked 92% done
Checking src/sam2fq.c...
34/39 files checked 92% done
Checking src/sambam-file.c...
Checking src/sambam-file.c: LARGE_GENE_VOTE_TABLE...
Checking src/sambam-file.c: MAKE_FOR_EXON...
Checking src/sambam-file.c: MAKE_STANDALONE...
Checking src/sambam-file.c: MAKE_TEST_SAMBAM...
Checking src/sambam-file.c: NONONO_DONOTDEF...
Checking src/sambam-file.c: REPORT_ALL_THE_BEST...
Checking src/sambam-file.c: RUNNING_ENV...
Checking src/sambam-file.c: WINDOWS...
35/39 files checked 95% done
Checking src/sorted-hashtable.c...
[src/sorted-hashtable.c:131]: (error) Memory leak: new_item_values
[src/sorted-hashtable.c:212]: (error) Memory leak: new_item_values
Checking src/sorted-hashtable.c: FREEBSD...
Checking src/sorted-hashtable.c: LARGE_GENE_VOTE_TABLE...
Checking src/sorted-hashtable.c: MACOS...
Checking src/sorted-hashtable.c: MAKE_FOR_EXON...
Checking src/sorted-hashtable.c: MAKE_STANDALONE...
Checking src/sorted-hashtable.c: NONONO_DONOTDEF...
Checking src/sorted-hashtable.c: REPORT_ALL_THE_BEST...
Checking src/sorted-hashtable.c: RUNNING_ENV...
Checking src/sorted-hashtable.c: WINDOWS...
36/39 files checked 98% done
Checking src/sublog.c...
[src/sublog.c:78]: (error) va_list 'args' was opened but not closed by va_end().
[src/sublog.c:118]: (error) va_list 'args' was opened but not closed by va_end().
Checking src/sublog.c: LARGE_GENE_VOTE_TABLE...
Checking src/sublog.c: MAKE_FOR_EXON...
Checking src/sublog.c: MAKE_STANDALONE...
Checking src/sublog.c: NONONO_DONOTDEF...
Checking src/sublog.c: REPORT_ALL_THE_BEST...
Checking src/sublog.c: RUNNING_ENV...
Checking src/sublog.c: WINDOWS...
37/39 files checked 99% done
Checking src/subtools.c...
Checking src/subtools.c: LARGE_GENE_VOTE_TABLE...
Checking src/subtools.c: MAKE_FOR_EXON...
Checking src/subtools.c: MAKE_STANDALONE...
Checking src/subtools.c: NONONO_DONOTDEF...
Checking src/subtools.c: REPORT_ALL_THE_BEST...
Checking src/subtools.c: RUNNING_ENV...
Checking src/subtools.c: WINDOWS...
38/39 files checked 99% done
Checking src/zpipe.c...
39/39 files checked 100% done
(information) Cppcheck cannot find all the include files (use --check-config for details)


More information about the Debian-med-packaging mailing list