Skip to content

[MRG] hotfix for LinearSVR segfault on memmap - #11133

Merged
ogrisel merged 1 commit into
scikit-learn:masterfrom
amueller:linearsvr_y_writeable
May 25, 2018
Merged

ogrisel merged 1 commit into
scikit-learn:masterfrom
amueller:linearsvr_y_writeable

Conversation

@amueller

Copy link
Copy Markdown
Member

Hotfix for #11131.
Not sure if we care about doing this one better. If anyone wants to recompile with debug symbols and chase this down, be my guest.

@amueller
amueller force-pushed the linearsvr_y_writeable branch from 58a43e4 to b4e925a Compare May 24, 2018 19:20
@amueller amueller changed the title hotfix for LinearSVR segfault on memmap [MRG] hotfix for LinearSVR segfault on memmap May 24, 2018
@jnothman

Copy link
Copy Markdown
Member

Is this tested

@glemaitre

Copy link
Copy Markdown
Member

Is this tested

It solves the segfault because it trigger a copy of y.

@glemaitre

Copy link
Copy Markdown
Member

I am +1 to solve merge this.

@ogrisel

ogrisel commented May 25, 2018

Copy link
Copy Markdown
Member

@jnothman the existing tests in master would cause a segfault but only on specific machines (like @glemaitre's) but not on others and not on travis or appveyor.

@ogrisel
ogrisel merged commit 5fcf6f4 into scikit-learn:master May 25, 2018
@rth

rth commented May 25, 2018

Copy link
Copy Markdown
Member

Can confirm this fixed #10667 for me; thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants