Skip to content
Prev 9728 / 21312 Next

[Bioc-devel] msPurity build fail on Mac OS X (morelia)

Hi All,

Thanks for the help with this. I have been using valgrind to try and
pinpoint in my code the problem and it seems to be from mzR::openMSfile().

A simplified bit of code just using mzR I think will give the same results,
see below:

#-----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
library(mzR)
msmsPths <- list.files(system.file("extdata", "lcms", "mzML",
package="msPurityData"), full.names = TRUE, pattern = "MSMS")
mr <- mzR::openMSfile(msmsPths[1])
#-----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------

This gives the  familiar message
==38138== Mismatched free() / delete / delete []
==38138==    at 0x4C2EDEB: free (in /usr/lib/valgrind/vgpreload_
memcheck-amd64-linux.so)
..

However, I can prevent the  "Mismatched free() / delete / delete []"
message by forcing the backend to use the "pwiz" libraries (i think). e.g.

#-----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------
mr <- mzR::openMSfile(msmsPths[1], backend="pwiz")
#-----------------------------------------------------------
------------------------------------------------------------
------------------------------------------------------------

I have updated to code so that a user can choose the backend for mzR with a
default option of "pwiz" and pushed the changes to svn.

Hopefully this will fix the problem on morelia, although I notice that the
server is down at the moment, when will the next build be?

Thanks for your help,
Tom

PS: Martin: I have removed the msPurity-vignette.R and
msPurity-vignette.html files from the vignette folder. Is this correct?





On Wed, Sep 21, 2016 at 7:38 PM, Kasper Daniel Hansen <
kasperdanielhansen at gmail.com> wrote: