davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.59k stars 3.38k forks source link

Python crash using dlib to load an image #1497

Closed tomestephens closed 6 years ago

tomestephens commented 6 years ago

Expected Behavior

Simply that dlib will load the image for face detection and manipulation.

Current Behavior

Python crash. Crash is fatal, no information available except in windows event viewer.

Faulting application name: python.exe, version: 3.6.6150.1013, time stamp: 0x5b330722 Faulting module name: ucrtbase.dll, version: 10.0.14393.2097, time stamp: 0x5a820a13 Exception code: 0xc0000409 Fault offset: 0x000000000006d658 Faulting process id: 0x6b50 Faulting application start time: 0x01d451eed8d5617f Faulting application path: C:\Python36\python.exe Faulting module path: C:\Windows\System32\ucrtbase.dll Report Id: f5d78064-432a-4044-979e-971f38523895

Steps to Reproduce

Code to reproduce is incredibly simple and basic functionality indicating a really unusual set of circumstances leading to the issue. We have tested this on other computers without the same failures.

import dlib img = dlib.load_rgb_image("test.jpg")

To cover some bases:

Translated memory dump log: `0:000> .sympath srvc:\symbolshttp://msdl.microsoft.com/download/symbols Symbol search path is: srvc:\symbolshttp://msdl.microsoft.com/download/symbols Expanded Symbol search path is: srvc:\symbolshttp://msdl.microsoft.com/download/symbols

***** Path validation summary ** Response Time (ms) Location Deferred srvc:\symbolshttp://msdl.microsoft.com/download/symbols 0:000> .reload;!analyze -v;r;kv;lmnt;.logclose;q .....................................................


WARNING: Unable to verify checksum for dlib.cp36-win_amd64.pyd ERROR: Symbol file could not be found. Defaulted to export symbols for dlib.cp36-win_amd64.pyd - ERROR: Symbol file could not be found. Defaulted to export symbols for python36.dll - ERROR: Module load completed but symbols could not be loaded for python.exe ERROR: Symbol file could not be found. Defaulted to export symbols for ConEmuHk64.dll - WARNING: Unable to verify checksum for openblas.dll *** ERROR: Symbol file could not be found. Defaulted to export symbols for libopenblas.CSRRD7HKRKC3T3YXA7VY7TAZGLSWDKW6.gfortran-win_amd64.dll - GetUrlPageData2 (WinHttp) failed: 12002.

KEY_VALUES_STRING: 1

TIMELINE_ANALYSIS: 1

Timeline: !analyze.Start Name: Time: 2018-09-21T21:27:02.560Z Diff: 60560 mSec

Timeline: Dump.Current Name: Time: 2018-09-21T21:26:02.0Z Diff: 0 mSec

Timeline: Process.Start Name: Time: 2018-09-21T21:25:50.0Z Diff: 12000 mSec

DUMP_CLASS: 2

DUMP_QUALIFIER: 400

CONTEXT: (.ecxr) .ecxr rax=0000000000000001 rbx=0000000000000000 rcx=0000000000000005 rdx=0000000000000000 rsi=0000000000001000 rdi=000001eda7521550 rip=00007ffd538cd658 rsp=000000787d9ee460 rbp=0000000000000003 r8=0000000000000000 r9=0000000000000000 r10=0000000000000000 r11=000001edc62220c0 r12=0000000000000001 r13=00000000000000c0 r14=0000000000000001 r15=0000000000001000 iopl=0 nv up ei pl nz na pe nc cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202 ucrtbase!invoke_watson+0x18: 00007ffd`538cd658 cd29 int 29h .cxr Resetting default scope

FAULTING_IP: ucrtbase!invoke_watson+18 00007ffd`538cd658 cd29 int 29h

EXCEPTION_RECORD: (.exr -1) .exr -1 ExceptionAddress: 00007ffd538cd658 (ucrtbase!invoke_watson+0x0000000000000018) ExceptionCode: c0000409 (Security check failure or stack buffer overrun) ExceptionFlags: 00000001 NumberParameters: 1 Parameter[0]: 0000000000000005 Subcode: 0x5 FAST_FAIL_INVALID_ARG

DEFAULT_BUCKET_ID: FAIL_FAST_INVALID_ARG

PROCESS_NAME: python.exe

ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.

EXCEPTION_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.

EXCEPTION_CODE_STR: c0000409

EXCEPTION_PARAMETER1: 0000000000000005

WATSON_BKT_PROCSTAMP: 5b330722

WATSON_BKT_PROCVER: 3.6.6150.1013

PROCESS_VER_PRODUCT: Python

WATSON_BKT_MODULE: ucrtbase.dll

WATSON_BKT_MODSTAMP: 5a820a13

WATSON_BKT_MODOFFSET: 6d658

WATSON_BKT_MODVER: 10.0.14393.2097

MODULE_VER_PRODUCT: Microsoft� Windows� Operating System

BUILD_VERSION_STRING: 10.0.14393.2430 (rs1_release_inmarket_aim.180806-1810)

MODLIST_WITH_TSCHKSUM_HASH: c6161aac00b99ddd6e829dd25edb093d800a64f1

MODLIST_SHA1_HASH: f74af3aedd7e50865087e0985e32a6eec0af834c

NTGLOBALFLAG: 0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS: 0

DUMP_FLAGS: 94

DUMP_TYPE: 1

ANALYSIS_SESSION_HOST: XXXXXXXXXXXXXX

ANALYSIS_SESSION_TIME: 09-21-2018 15:27:02.0560

ANALYSIS_VERSION: 10.0.17134.1 amd64fre

THREAD_ATTRIBUTES: OS_LOCALE: ENU

PROBLEM_CLASSES:

ID:     [0n278]
Type:   [FAIL_FAST]
Class:  Primary
Scope:  DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
        BUCKET_ID
Name:   Add
Data:   Omit
PID:    [Unspecified]
TID:    [Unspecified]
Frame:  [0]

ID:     [0n265]
Type:   [INVALID_ARG]
Class:  Addendum
Scope:  DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
        BUCKET_ID
Name:   Add
Data:   Omit
PID:    [Unspecified]
TID:    [Unspecified]
Frame:  [0]

BUGCHECK_STR: FAIL_FAST_INVALID_ARG

PRIMARY_PROBLEM_CLASS: FAIL_FAST

LAST_CONTROL_TRANSFER: from 00007ffd538cd521 to 00007ffd538cd658

STACK_TEXT:
000000787d9ee460 00007ffd538cd521 : 0000000000000000 0000000000000003 0000000000001000 00007ffd5386a971 : ucrtbase!invoke_watson+0x18 000000787d9ee490 00007ffd538cd5f9 : 0000000000000000 00007ffd5386874d 0000000000001000 0000000000001000 : ucrtbase!invalid_parameter+0x81 000000787d9ee4d0 00007ffd538a6444 : 0000000000000003 0000000000000000 0000000000000003 0000000000001000 : ucrtbase!invalid_parameter_noinfo+0x9 000000787d9ee510 00007ffd538a6094 : 0000000000001027 000001edc6243660 000001eda751a150 000000787d9ee614 : ucrtbase!_read_nolock+0x40c94 000000787d9ee5b0 00007ffd538653be : ffffffffffffffff 0000000000000046 0000000000000046 0000000000001000 : ucrtbase!_fread_nolock_s+0x40c94 000000787d9ee620 00007ffd53865348 : 000001edc6240520 0000000000000000 000000787d9ee8e0 0000000000000000 : ucrtbase!fread_s+0x5e 000000787d9ee670 00007ffd1943fbea : 000001edb7a87f40 000001edc6240330 0000000000000000 000001edb7a87f40 : ucrtbase!fread+0x18 000000787d9ee6b0 00007ffd194485bf : 000000787d9ee8e0 00007ffd538705d6 0000000000000000 0000000000001027 : jpeg62!fill_input_buffer+0x2a 000000787d9ee6e0 00007ffd19445d99 : 000000787d9ee890 0000000000000001 000001edc6240460 0000000000000000 : jpeg62!read_markers+0x6f 000000787d9ee730 00007ffd1943ea03 : 0000000000000001 000000787d9ee8e0 000001edb7ad3600 000000787d9ee8e0 : jpeg62!consume_markers+0x39 000000787d9ee760 00007ffcf3d91ed8 : 000001edb7ad2760 000001edb7aa6d80 000001edb7aa6d80 000001eda7510000 : jpeg62!jpeg_read_header+0x93 000000787d9ee790 00007ffcf3d91db9 : 000000787d9ef090 000000787d9ef078 000000787d9ef070 00007ffcf3e24e00 : dlib_cp36_win_amd64!PyInit_dlib+0x4f1d58 000000787d9eeee0 00007ffcf3d58dd9 : 000000787d9ef070 000000787d9ef1e0 0000000000000000 00007ffc00000000 : dlib_cp36_win_amd64!PyInit_dlib+0x4f1c39 000000787d9eef20 00007ffcf3d5c51e : 0000000000000000 000000787d9ef130 000000787d9ef1e0 000000787d9ef1c8 : dlib_cp36_win_amd64!PyInit_dlib+0x4b8c59 000000787d9ef160 00007ffcf3d5aac8 : 000000787d9ef1c8 000000787d9ef2d0 000001edb7aa6d80 0c079807c8070000 : dlib_cp36_win_amd64!PyInit_dlib+0x4bc39e 000000787d9ef1a0 00007ffcf3d4fee6 : 000000787d9ef3c8 0000000000000000 000001edb7aa6d80 0000000000000001 : dlib_cp36_win_amd64!PyInit_dlib+0x4ba948 000000787d9ef220 00007ffcf389a3b6 : 0000000000000000 0000000000000001 0000000000000000 0000000000000001 : dlib_cp36_win_amd64!PyInit_dlib+0x4afd66 000000787d9ef250 00000000763dc902 : 0000000000000000 0000000000000000 0000000000000adf 00000000763e96eb : dlib_cp36_win_amd64+0xa3b6 000000787d9ef630 00000000763dbe83 : 00007ffcf38993d0 0000000000000001 000000787d9ef810 000001edb7a2ea68 : python36!PyCFunction_FastCallDict+0x2f2 000000787d9ef6b0 00000000763eca49 : 000001eda93a9188 0000000000000000 000001eda93af558 0000000000000000 : python36!PyObject_CallFunctionObjArgs+0x383 000000787d9ef790 00000000763dcbf4 : 000001eda92f3a48 000001eda77c9a38 0000000000000000 0000000000000000 : python36!PyEval_EvalFrameDefault+0x3c9 000000787d9ef920 00000000764012cf : 0000000000000000 000001eda75c90c8 0000000000000000 0000000000000000 : python36!Py_CheckFunctionResult+0x1f4 000000787d9ef9d0 000000007640122d : 000001eda93711e0 000001eda92f55a0 000001eda929e580 000000787d9efd68 : python36!PyEval_EvalCodeEx+0x9b 000000787d9efa60 00000000764011d7 : 000001eda93b03b0 000001eda92f55a0 000001eda92f55a0 000001eda93b03b0 : python36!PyEval_EvalCode+0x2d 000000787d9efad0 000000007656ad2f : 000001eda93b03b0 000001eda932b298 000001eda932b298 000001eda93a8ed8 : python36!PyArena_Free+0xa7 000000787d9efb10 000000007656a97c : 0000000000000000 000001eda9337538 000000787d9efd68 0000000000000000 : python36!PyRun_InteractiveOneObject+0x2cb 000000787d9efbb0 000000007656a6d9 : 00007ffd53945460 0000000000000000 000000787d9efd68 0000000000000000 : python36!PyRun_InteractiveLoopFlags+0xf0 000000787d9efbf0 00000000764ba9f4 : 0000000000000000 0000000000000000 0000000000000000 000001eda752c7b0 : python36!PyRun_AnyFileExFlags+0x45 000000787d9efc20 00000000764444f2 : 00007ffd53945460 0000000000000000 0000000000000000 0000000000000001 : python36!Py_hashtable_size+0x5108 000000787d9efc60 000000001c19126d : 0000000000000001 0000000000000000 0000000000000000 0000000000000000 : python36!Py_FatalError+0x17922 000000787d9efd60 00007ffd564b8364 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : python+0x126d 000000787d9efda0 00007ffd573de851 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x14 000000787d9efdd0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x21

THREAD_SHA1_HASH_MOD_FUNC: f52866f95f7d313138d3a992a8da64a511b7a000

THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 8183922f51783d63225102a70d37d445f55c22b2

THREAD_SHA1_HASH_MOD: 7e29c010e78cd512af221b266deb7f1a646964af

FOLLOWUP_IP: ucrtbase!invoke_watson+18 00007ffd`538cd658 cd29 int 29h

FAULT_INSTR_CODE: 17ba29cd

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: ucrtbase!invoke_watson+18

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: ucrtbase

IMAGE_NAME: ucrtbase.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 5a820a13

STACK_COMMAND: ~0s ; .ecxr ; kb

BUCKET_ID: FAIL_FAST_INVALID_ARG_ucrtbase!invoke_watson+18

FAILURE_EXCEPTION_CODE: c0000409

FAILURE_IMAGE_NAME: ucrtbase.dll

BUCKET_ID_IMAGE_STR: ucrtbase.dll

FAILURE_MODULE_NAME: ucrtbase

BUCKET_ID_MODULE_STR: ucrtbase

FAILURE_FUNCTION_NAME: invoke_watson

BUCKET_ID_FUNCTION_STR: invoke_watson

BUCKET_ID_OFFSET: 18

BUCKET_ID_MODTIMEDATESTAMP: 5a820a13

BUCKET_ID_MODCHECKSUM: fc849

BUCKET_ID_MODVER_STR: 10.0.14393.2097

BUCKET_ID_PREFIX_STR: FAIL_FAST_INVALIDARG

FAILURE_PROBLEM_CLASS: FAIL_FAST

FAILURE_SYMBOL_NAME: ucrtbase.dll!invoke_watson

FAILURE_BUCKET_ID: FAIL_FAST_INVALID_ARG_c0000409_ucrtbase.dll!invoke_watson

WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/python.exe/3.6.6150.1013/5b330722/ucrtbase.dll/10.0.14393.2097/5a820a13/c0000409/0006d658.htm?Retriage=1

TARGET_TIME: 2018-09-21T21:26:02.000Z

OSBUILD: 14393

OSSERVICEPACK: 2214

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

SUITE_MASK: 256

PRODUCT_TYPE: 1

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

OSEDITION: Windows 10 WinNt SingleUserTS

USER_LCID: 0

OSBUILD_TIMESTAMP: 2018-04-02 21:45:42

BUILDDATESTAMP_STR: 180806-1810

BUILDLAB_STR: rs1_release_inmarket_aim

BUILDOSVER_STR: 10.0.14393.2430

ANALYSIS_SESSION_ELAPSED_TIME: 5fe9

ANALYSIS_SOURCE: UM

FAILURE_ID_HASH_STRING: um:fail_fast_invalid_arg_c0000409_ucrtbase.dll!invoke_watson

FAILURE_ID_HASH: {ff968da7-5196-0e9d-7c2c-c6a2c196fc27}

Followup: MachineOwner

rax=0000000000000001 rbx=0000000000000000 rcx=0000000000000005 rdx=0000000000000000 rsi=0000000000001000 rdi=000001eda7521550 rip=00007ffd538cd658 rsp=000000787d9ee460 rbp=0000000000000003 r8=0000000000000000 r9=0000000000000000 r10=0000000000000000 r11=000001edc62220c0 r12=0000000000000001 r13=00000000000000c0 r14=0000000000000001 r15=0000000000001000 iopl=0 nv up ei pl nz na pe nc cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202 ucrtbase!invoke_watson+0x18: 00007ffd538cd658 cd29 int 29h Child-SP RetAddr : Args to Child : Call Site 000000787d9ee460 00007ffd538cd521 : 0000000000000000 0000000000000003 0000000000001000 00007ffd5386a971 : ucrtbase!invoke_watson+0x18 000000787d9ee490 00007ffd538cd5f9 : 0000000000000000 00007ffd5386874d 0000000000001000 0000000000001000 : ucrtbase!invalid_parameter+0x81 000000787d9ee4d0 00007ffd538a6444 : 0000000000000003 0000000000000000 0000000000000003 0000000000001000 : ucrtbase!invalid_parameter_noinfo+0x9 000000787d9ee510 00007ffd538a6094 : 0000000000001027 000001edc6243660 000001eda751a150 000000787d9ee614 : ucrtbase!_read_nolock+0x40c94 000000787d9ee5b0 00007ffd538653be : ffffffffffffffff 0000000000000046 0000000000000046 0000000000001000 : ucrtbase!_fread_nolock_s+0x40c94 000000787d9ee620 00007ffd53865348 : 000001edc6240520 0000000000000000 000000787d9ee8e0 0000000000000000 : ucrtbase!fread_s+0x5e 000000787d9ee670 00007ffd1943fbea : 000001edb7a87f40 000001edc6240330 0000000000000000 000001edb7a87f40 : ucrtbase!fread+0x18 000000787d9ee6b0 00007ffd194485bf : 000000787d9ee8e0 00007ffd538705d6 0000000000000000 0000000000001027 : jpeg62!fill_input_buffer+0x2a (Inline Function) ---------------- : ---------------- ---------------- ---------------- ---------------- : jpeg62!first_marker+0x16 (Inline Function @ 00007ffd194485bf) 000000787d9ee6e0 00007ffd19445d99 : 000000787d9ee890 0000000000000001 000001edc6240460 0000000000000000 : jpeg62!read_markers+0x6f 000000787d9ee730 00007ffd1943ea03 : 0000000000000001 000000787d9ee8e0 000001edb7ad3600 000000787d9ee8e0 : jpeg62!consume_markers+0x39 (Inline Function) ---------------- : ---------------- ---------------- ---------------- ---------------- : jpeg62!jpeg_consume_input+0x4d (Inline Function @ 00007ffd1943ea03) 000000787d9ee760 00007ffcf3d91ed8 : 000001edb7ad2760 000001edb7aa6d80 000001edb7aa6d80 000001eda7510000 : jpeg62!jpeg_read_header+0x93 000000787d9ee790 00007ffcf3d91db9 : 000000787d9ef090 000000787d9ef078 000000787d9ef070 00007ffcf3e24e00 : dlib_cp36_win_amd64!PyInit_dlib+0x4f1d58 000000787d9eeee0 00007ffcf3d58dd9 : 000000787d9ef070 000000787d9ef1e0 0000000000000000 00007ffc00000000 : dlib_cp36_win_amd64!PyInit_dlib+0x4f1c39 000000787d9eef20 00007ffcf3d5c51e : 0000000000000000 000000787d9ef130 000000787d9ef1e0 000000787d9ef1c8 : dlib_cp36_win_amd64!PyInit_dlib+0x4b8c59 000000787d9ef160 00007ffcf3d5aac8 : 000000787d9ef1c8 000000787d9ef2d0 000001edb7aa6d80 0c079807c8070000 : dlib_cp36_win_amd64!PyInit_dlib+0x4bc39e 000000787d9ef1a0 00007ffcf3d4fee6 : 000000787d9ef3c8 0000000000000000 000001edb7aa6d80 0000000000000001 : dlib_cp36_win_amd64!PyInit_dlib+0x4ba948 000000787d9ef220 00007ffcf389a3b6 : 0000000000000000 0000000000000001 0000000000000000 0000000000000001 : dlib_cp36_win_amd64!PyInit_dlib+0x4afd66 000000787d9ef250 00000000763dc902 : 0000000000000000 0000000000000000 0000000000000adf 00000000763e96eb : dlib_cp36_win_amd64+0xa3b6 000000787d9ef630 00000000763dbe83 : 00007ffcf38993d0 0000000000000001 000000787d9ef810 000001edb7a2ea68 : python36!PyCFunction_FastCallDict+0x2f2 000000787d9ef6b0 00000000763eca49 : 000001eda93a9188 0000000000000000 000001eda93af558 0000000000000000 : python36!PyObject_CallFunctionObjArgs+0x383 000000787d9ef790 00000000763dcbf4 : 000001eda92f3a48 000001eda77c9a38 0000000000000000 0000000000000000 : python36!PyEval_EvalFrameDefault+0x3c9 000000787d9ef920 00000000764012cf : 0000000000000000 000001eda75c90c8 0000000000000000 0000000000000000 : python36!Py_CheckFunctionResult+0x1f4 000000787d9ef9d0 000000007640122d : 000001eda93711e0 000001eda92f55a0 000001eda929e580 000000787d9efd68 : python36!PyEval_EvalCodeEx+0x9b 000000787d9efa60 00000000764011d7 : 000001eda93b03b0 000001eda92f55a0 000001eda92f55a0 000001eda93b03b0 : python36!PyEval_EvalCode+0x2d 000000787d9efad0 000000007656ad2f : 000001eda93b03b0 000001eda932b298 000001eda932b298 000001eda93a8ed8 : python36!PyArena_Free+0xa7 000000787d9efb10 000000007656a97c : 0000000000000000 000001eda9337538 000000787d9efd68 0000000000000000 : python36!PyRun_InteractiveOneObject+0x2cb 000000787d9efbb0 000000007656a6d9 : 00007ffd53945460 0000000000000000 000000787d9efd68 0000000000000000 : python36!PyRun_InteractiveLoopFlags+0xf0 000000787d9efbf0 00000000764ba9f4 : 0000000000000000 0000000000000000 0000000000000000 000001eda752c7b0 : python36!PyRun_AnyFileExFlags+0x45 000000787d9efc20 00000000764444f2 : 00007ffd53945460 0000000000000000 0000000000000000 0000000000000001 : python36!Py_hashtable_size+0x5108 000000787d9efc60 000000001c19126d : 0000000000000001 0000000000000000 0000000000000000 0000000000000000 : python36!Py_FatalError+0x17922 000000787d9efd60 00007ffd564b8364 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : python+0x126d 000000787d9efda0 00007ffd573de851 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x14 000000787d9efdd0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x21 start end module name 000000001c190000 000000001c1ac000 python python.exe Tue Jun 26 20:40:18 2018 (5B330722) 000000006ca80000 000000006ef2f000 libopenblas_CSRRD7HKRKC3T3YXA7VY7TAZGLSWDKW6_gfortran_win_amd64 libopenblas.CSRRD7HKRKC3T3YXA7VY7TAZGLSWDKW6.gfortran-win_amd64.dll Tue Aug 21 09:55:04 2018 (5B7C43E8) 00000000757c0000 00000000757e4000 _ctypes _ctypes.pyd Tue Jun 26 20:37:50 2018 (5B33068E) 00000000757f0000 0000000075835000 _decimal _decimal.pyd Tue Jun 26 20:37:49 2018 (5B33068D) 0000000076380000 000000007639a000 _bz2 _bz2.pyd Tue Jun 26 20:38:05 2018 (5B33069D) 00000000763d0000 0000000076770000 python36 python36.dll Tue Jun 26 20:37:32 2018 (5B33067C) 00007e1100000000 00007e110006e000 ConEmuHk64 ConEmuHk64.dll Tue Feb 6 02:55:24 2018 (5A79899C) 00007ffcf2d90000 00007ffcf2e42000 mtrand_cp36_win_amd64 mtrand.cp36-win_amd64.pyd Tue Aug 21 09:55:41 2018 (5B7C440D) 00007ffcf2e50000 00007ffcf2fff000 multiarray_cp36_win_amd64 multiarray.cp36-win_amd64.pyd Tue Aug 21 09:55:20 2018 (5B7C43F8) 00007ffcf3200000 00007ffcf364c000 lapack lapack.dll Tue Sep 4 18:33:15 2018 (5B8F325B) 00007ffcf3650000 00007ffcf3890000 openblas openblas.dll Tue Sep 4 18:27:07 2018 (5B8F30EB) 00007ffcf3890000 00007ffcf40b9000 dlib_cp36_win_amd64 dlib.cp36-win_amd64.pyd Fri Sep 21 12:50:14 2018 (5BA54B76) 00007ffd185d0000 00007ffd1876b000 _hashlib _hashlib.pyd Tue Jun 26 20:40:04 2018 (5B330714) 00007ffd18870000 00007ffd18944000 umath_cp36_win_amd64 umath.cp36-win_amd64.pyd Tue Aug 21 09:55:27 2018 (5B7C43FF) 00007ffd18bd0000 00007ffd18be9000 fftpack_lite_cp36_win_amd64 fftpack_lite.cp36-win_amd64.pyd Tue Aug 21 09:55:32 2018 (5B7C4404) 00007ffd193f0000 00007ffd19414000 _umath_linalg_cp36_win_amd64 _umath_linalg.cp36-win_amd64.pyd Tue Aug 21 09:55:33 2018 (5B7C4405) 00007ffd19420000 00007ffd19491000 jpeg62 jpeg62.dll Tue Sep 4 18:28:24 2018 (5B8F3138) 00007ffd1d130000 00007ffd1d14d000 _multiarray_tests_cp36_win_amd64 _multiarray_tests.cp36-win_amd64.pyd Tue Aug 21 09:55:29 2018 (5B7C4401) 00007ffd27540000 00007ffd2755a000 zlib1 zlib1.dll Tue Sep 4 14:01:26 2018 (5B8EF2A6) 00007ffd27580000 00007ffd275b4000 libpng16 libpng16.dll Tue Sep 4 18:27:29 2018 (5B8F3101) 00007ffd32830000 00007ffd32872000 _lzma _lzma.pyd Tue Jun 26 20:38:31 2018 (5B3306B7) 00007ffd357f0000 00007ffd357fb000 lapack_lite_cp36_win_amd64 lapack_lite.cp36-win_amd64.pyd Tue Aug 21 09:55:32 2018 (5B7C4404) 00007ffd380a0000 00007ffd380af000 python3 python3.dll Tue Jun 26 20:37:42 2018 (5B330686) 00007ffd380b0000 00007ffd380c7000 VCRUNTIME140 VCRUNTIME140.dll Thu Jun 9 22:14:56 2016 (575A4CD0) 00007ffd47fd0000 00007ffd4824a000 comctl32 comctl32.dll Fri Apr 27 22:39:56 2018 (5AE4092C) 00007ffd4ced0000 00007ffd4ceda000 version version.dll Fri Jul 15 19:27:11 2016 (57899B7F) 00007ffd51d80000 00007ffd51dab000 WINMMBASE WINMMBASE.dll Fri Jul 15 19:24:30 2016 (57899ADE) 00007ffd51db0000 00007ffd51dd3000 winmm winmm.dll Fri Jul 15 19:24:35 2016 (57899AE3) 00007ffd52d10000 00007ffd52d43000 rsaenh rsaenh.dll Mon Jun 11 17:46:06 2018 (5B1F17CE) 00007ffd532a0000 00007ffd532b7000 cryptsp cryptsp.dll Fri Jul 15 19:26:12 2016 (57899B44) 00007ffd532c0000 00007ffd532cb000 CRYPTBASE CRYPTBASE.dll Fri Jul 15 19:28:23 2016 (57899BC7) 00007ffd533b0000 00007ffd533db000 bcrypt bcrypt.dll Thu Jun 7 22:46:34 2018 (5B1A183A) 00007ffd53860000 00007ffd53955000 ucrtbase ucrtbase.dll Mon Feb 12 13:41:39 2018 (5A820A13) 00007ffd54270000 00007ffd542da000 bcryptPrimitives bcryptPrimitives.dll Wed Mar 21 19:56:07 2018 (5AB31B47) 00007ffd542e0000 00007ffd5437c000 msvcp_win msvcp_win.dll Mon Feb 12 13:41:12 2018 (5A8209F8) 00007ffd54380000 00007ffd54501000 gdi32full gdi32full.dll Thu Jun 7 22:46:51 2018 (5B1A184B) 00007ffd54670000 00007ffd5468e000 win32u win32u.dll Tue Aug 2 01:21:20 2016 (57A05800) 00007ffd54690000 00007ffd548ad000 KERNELBASE KERNELBASE.dll Mon Aug 6 21:03:37 2018 (5B691A19) 00007ffd548b0000 00007ffd548f2000 cfgmgr32 cfgmgr32.dll Fri Jul 15 19:26:04 2016 (57899B3C) 00007ffd54900000 00007ffd54a21000 rpcrt4 rpcrt4.dll Thu Jun 7 22:37:42 2018 (5B1A1626) 00007ffd54a30000 00007ffd54b68000 ole32 ole32.dll Thu Jun 7 22:56:07 2018 (5B1A1A77) 00007ffd561e0000 00007ffd564a8000 combase combase.dll Mon Aug 6 21:04:47 2018 (5B691A5F) 00007ffd564b0000 00007ffd5655c000 kernel32 kernel32.dll Mon Apr 2 20:45:42 2018 (5AC2F8E6) 00007ffd56ba0000 00007ffd56c3e000 msvcrt msvcrt.dll Fri Jul 15 19:26:15 2016 (57899B47) 00007ffd56de0000 00007ffd56e4a000 ws2_32 ws2_32.dll Thu Sep 15 09:34:44 2016 (57DACDA4) 00007ffd56e60000 00007ffd56eb9000 sechost sechost.dll Mon Aug 7 22:14:13 2017 (598948A5) 00007ffd56ec0000 00007ffd56eee000 imm32 imm32.dll Fri Jul 15 19:25:52 2016 (57899B30) 00007ffd56f10000 00007ffd56f62000 shlwapi shlwapi.dll Fri Jul 15 19:14:37 2016 (5789988D) 00007ffd56f70000 00007ffd5702f000 oleaut32 oleaut32.dll Fri Apr 27 22:42:09 2018 (5AE409B1) 00007ffd57090000 00007ffd57132000 advapi32 advapi32.dll Fri Apr 27 21:30:47 2018 (5AE3F8F7) 00007ffd57140000 00007ffd57174000 gdi32 gdi32.dll Mon Aug 6 21:07:58 2018 (5B691B1E) 00007ffd57190000 00007ffd572f5000 user32 user32.dll Fri Apr 27 22:41:41 2018 (5AE40995) 00007ffd57370000 00007ffd57540000 ntdll ntdll.dll Mon Aug 6 21:02:30 2018 (5B6919D6)

tomestephens commented 6 years ago

Also, worth noting I have another application using dlib, but in C++ and it works fine.

davisking commented 6 years ago

Please post the verbose install messages from the dlib pip install command. The main thing we want to see is if it’s compiling its own copy of libjpeg or using one cmake found on your system.

I wouldn’t be surprised if there is a busted copy of libjpeg on your computer it’s finding and using.

tomestephens commented 6 years ago

That would make sense. Hopefully this helps. Thanks!

Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect Created temporary directory: C:\Users\tostep\AppData\Local\Temp\pip-ephem-wheel-cache-yhj2bfa4 Created temporary directory: C:\Users\tostep\AppData\Local\Temp\pip-req-tracker-yeyv40qi Created requirements tracker 'C:\Users\tostep\AppData\Local\Temp\pip-req-tracker-yeyv40qi' Created temporary directory: C:\Users\tostep\AppData\Local\Temp\pip-install-yv5uis00 Collecting dlib 1 location(s) to search for versions of dlib:

davisking commented 6 years ago

Yes, I don't see it building libjpeg. It must have found some broken copy on your system. If you look at the cmake configuration, by using cmake-gui or cmake -LA you can see what it's finding. Go delete the broken copy, or remove it from whatever system path it's in that's making it discoverable to cmake.

dlib-issue-bot commented 6 years ago

Warning: this issue has been inactive for 20 days and will be automatically closed on 2018-11-03 if there is no further activity.

If you are waiting for a response but haven't received one it's likely your question is somehow inappropriate. E.g. you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's documentation, or a Google search.

dlib-issue-bot commented 6 years ago

Warning: this issue has been inactive for 30 days and will be automatically closed on 2018-11-01 if there is no further activity.

If you are waiting for a response but haven't received one it's likely your question is somehow inappropriate. E.g. you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's documentation, or a Google search.

dlib-issue-bot commented 6 years ago

Notice: this issue has been closed because it has been inactive for 35 days. You may reopen this issue if it has been closed in error.

tomestephens commented 5 years ago

Just a note to close this out, I was unable to remove any given files that allowed things to work correctly. Ultimately the issue was resolved when I re-installed by system. Perhaps a little extreme, but it took less time to reinstall than I had spent already troubleshooting. 👍