{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3089","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3089/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3089/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3089/events","html_url":"https://github.com/aspnet/EntityFramework/issues/3089","id":105800559,"number":3089,"title":"Entry point not found for sqlite3_close_v2","user":{"login":"paulvanbladel","id":4886272,"avatar_url":"https://avatars.githubusercontent.com/u/4886272?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbladel","html_url":"https://github.com/paulvanbladel","followers_url":"https://api.github.com/users/paulvanbladel/followers","following_url":"https://api.github.com/users/paulvanbladel/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbladel/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbladel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbladel/subscriptions","organizations_url":"https://api.github.com/users/paulvanbladel/orgs","repos_url":"https://api.github.com/users/paulvanbladel/repos","events_url":"https://api.github.com/users/paulvanbladel/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbladel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/EntityFramework/labels/cross-plat","name":"cross-plat","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-10T12:54:47Z","updated_at":"2015-09-11T06:55:09Z","closed_at":"2015-09-11T06:55:09Z","body":"I constructed a test project (asp.net 5 with EF 7) working correctly on windows with sqlite.\r\nWhen running on linux in docker aspnet , running dnx ef migrations add test work fine\r\nbut dnx ef database update gives:\r\n```\r\nSystem.ObjectDisposedException: The object was used after being disposed.\r\n  at System.Runtime.InteropServices.SafeHandle.RunRelease () [0x00000] in <filename unknown>:0\r\n  at System.Runtime.InteropServices.SafeHandle.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0\r\n  at System.Runtime.InteropServices.SafeHandle.Dispose () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Sqlite.SqliteConnection.Close () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Sqlite.SqliteConnection.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0\r\n  at System.ComponentModel.Component.Dispose () [0x00000] in <filename unknown>:0\r\n  at (wrapper remoting-invoke-with-check) System.ComponentModel.Component:Dispose ()\r\n  at Microsoft.Data.Entity.Storage.RelationalConnection.Dispose () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Framework.DependencyInjection.ServiceProvider.Dispose () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Internal.DbContextServices.Dispose () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.DbContext.Dispose () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.MigrationTool.ApplyMigration (System.String migrationName, System.String contextTypeName, System.String startupAssemblyName) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.Program+<>c__DisplayClass12_0.<ApplyMigration>b__0 () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.Program.Execute (System.String startupProject, System.Action invoke) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.Program.ApplyMigration (System.String migration, System.String context, System.String startupProject) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.Program+<>c__DisplayClass9_2.<Main>b__5 () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.Runtime.Common.CommandLine.CommandLineUtilsExtensions+<>c__DisplayClass0_0.<OnExecute>b__0 () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.Runtime.Common.CommandLine.CommandLineApplication.Execute (System.String[] args) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Data.Entity.Commands.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0\r\n  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)\r\n  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly assembly, System.String[] args, IServiceProvider serviceProvider) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.ApplicationHost.Program.ExecuteMain (Microsoft.Dnx.Runtime.DefaultHost host, System.String applicationName, System.String[] args) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly assembly, System.String[] args, IServiceProvider serviceProvider) [0x00000] in <filename unknown>:0\r\n  at Microsoft.Dnx.Host.Bootstrapper.RunAsync (System.Collections.Generic.List`1 args, IRuntimeEnvironment env, System.Runtime.Versioning.FrameworkName targetFramework) [0x00000] in <filename unknown>:0\r\n\r\nUnhandled Exception:\r\nSystem.EntryPointNotFoundException: sqlite3_close_v2\r\n  at (wrapper managed-to-native) Microsoft.Data.Sqlite.Interop.NativeMethods:sqlite3_close_v2 (intptr)\r\n  at Microsoft.Data.Sqlite.Interop.Sqlite3Handle.ReleaseHandle () [0x00000] in <filename unknown>:0\r\n  at System.Runtime.InteropServices.SafeHandle.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0\r\n  at System.Runtime.InteropServices.SafeHandle.Finalize () [0x00000] in <filename unknown>:0\r\n``` "},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/139467561","html_url":"https://github.com/aspnet/EntityFramework/issues/3089#issuecomment-139467561","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/3089","id":139467561,"user":{"login":"paulvanbladel","id":4886272,"avatar_url":"https://avatars.githubusercontent.com/u/4886272?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbladel","html_url":"https://github.com/paulvanbladel","followers_url":"https://api.github.com/users/paulvanbladel/followers","following_url":"https://api.github.com/users/paulvanbladel/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbladel/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbladel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbladel/subscriptions","organizations_url":"https://api.github.com/users/paulvanbladel/orgs","repos_url":"https://api.github.com/users/paulvanbladel/repos","events_url":"https://api.github.com/users/paulvanbladel/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbladel/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T06:55:09Z","updated_at":"2015-09-11T06:55:09Z","body":"Ok, I managed to update libsqlite3-dev and indeed : problem solved.\r\nsqlite3 works now inside an aspnet docker image.\r\nthanks a lot for the support !"}}