joniles / MPXJ.Net

A .Net package providing a "native" wrapper around the MPXJ Java library
https://www.mpxj.org/
3 stars 2 forks source link

App killed when the Read method of UniversalProjectReader is invoked on Ubuntu 22.04.4 LTS #14

Closed szadev closed 1 week ago

szadev commented 1 month ago

Hello! After publishing the app for linux-x64 (Ubuntu 22.04.4 LTS), calling read method kills the running app. image

Log: log

szadev commented 1 month ago

the "file" here is a stream with .mpp file. Also, I added the test console log before var result = .. line and it did not appear int log before crush, so the problem is in the Read(file) method.

the problem is actual only with the .mpp file, the .xml format works well.

joniles commented 1 month ago

Hi, thanks for raising this issue. Unfortunately there isn't much I can do to diagnose what's happening here, we'd need more detailed information from .Net itself. The log file suggests a segmentation fault (SEGV). Typically I'd expect .Net to be handling this at a much higher level, and for a .Net exception to be raised and reported. SEGV suggests a much lower level problem.

Are you able to run the code successfully under Linux as a user rather than as a daemon/service?

Can you add some code to the catch block (as shown in your code sample) to report any exceptions being raised in .Net?

szadev commented 1 month ago

Thank you, I will try everything you suggest and get back to you in a few days with the results.

szadev commented 1 month ago

I have tried to run the app as a user, not with a deamon, but have got the same problem. (but log in pict is from deamon) Also, added log for catch block and got nothing in log (pictures below).

Here is a core dump ` 1 PID: 2926454 (dotnet) Signal: 11 (SEGV) Command Line: dotnet MainServer.dll Executable: /usr/lib/dotnet/dotnet Control Group: /user.slice/user-1001.slice/session-1.scope Unit: session-1.scope Slice: user-1001.slice Session: 1 Owner UID: 1001 (user) Disk Size: 50.7M Message: Process 2926454 (dotnet) of user 1001 dumped core. Found module /home/user/test/ikvm/linux-x64/bin/libawt.so with build-id: d4a50cab776f9ac2 Found module /home/user/test/ikvm/linux-x64/bin/libnet.so with build-id: d304b9c8a06a74cf Found module /home/user/test/ikvm/linux-x64/bin/libnio.so with build-id: 0ae84027b3856677 Found module /home/user/test/ikvm/linux-x64/bin/libzip.so with build-id: 0dce19fffbdf5082 Found module /home/user/test/ikvm/linux-x64/bin/libverify.so with build-id: c156486c374502c1 Found module /home/user/test/ikvm/linux-x64/bin/libiava.so with build-id: 3147d6b8149d4a11 Found module /home/user/test/ikvm/linux-x64/bin/libjvm.so with build-id: b541d204d99bc5b9 Found module linux-vdso.so.1 with build-id: 9b79168bfbd8aeae8ff8785c33d8386d7d9df1ad Found module libdl.so.2 with build-id: 6f6fe1a24b7b981e11c9a3373b806d3496d4d9d4 Found module libssl.so.3 with build-id: 6cf6c0a28868e07598c93a2824668d9fabe3260e Found module libcrypto.so.3 with build-id: 55c2d087f6f4d9d01ae137a278cb4b440f75c237 Found module libSystem.Security.Cryptography.Native.OpenSsl.so with build-id: d28045168ca20f03bbabc12bbae90ab500f97491 Found module libicui18n.so.70 with build-id: ff2dbcdd92cbe5a63d20291e295d8fed9f87d35b Found module libicudata.so.70 with build-id: b1c2496dd0543023c7a19c961bb7f3abc818f465 Found module libicuuc.so.70 with build-id: bef3ff1d70aadd68aab07d858a759360c8b919ae Found module libSystem.Native.so with build-id: 1153fee9f261f0e9d0b2d4d19a678b2b4587ebaf Found module libclrjit.so with build-id: 0b117f6d8cee2e9c06f8092b1b183b06ef8e5f54 Found module liblttng-ust-tracepoint.so.1 with build-id: 9996292a9c317770cc504d2930a43486f6fed0c3 Found module liblttng-ust-common.so.1 with build-id: f7bd90d31d63dcbfd18aa7065589b058e7763a33 Found module libnuma.so.1 with build-id: 92e1c5de1d74216d8cd25a4cba6ea2dcbd531897 Found module liblttng-ust.so.1 with build-id: 6f8eca71b14370d49fd73e6095beb0f8fafaae27 Found module libcoreclrtraceptprovider.so with build-id: 84a626c6f6a4dd182b601b11e7c6c01c7da5e7d1 Found module libcoreclr.so with build-id: 60c6ff48fabc0164aadc2ab909dae344c0d3c64f Found module libhostpolicy.so with build-id: 7bb217b213c006c1687506baa93382a62df72821 Found module libhostfxr.so with build-id: 1ccca524f4ea6a7a84017f2276ebec51b36f9d3f Found module ld-linux-x86-64.so.2 with build-id: 4186944c50f8a32b47d74931e3f512b811813b64 Found module libc.so.6 with build-id: 490fef8403240c91833978d494d39e537409b92e Found module libgcc_s.so.1 with build-id: e3a44e0da9c6e835d293ed8fd2882b4c4a87130c Found module libm.so.6 with build-id: a508ec5d8bf12fb7fd08204e0f87518e5cd0b102 Found module libstdc++.so.6 with build-id: e37fe1a879783838de78cbc8c80621fa685d58a2 Found module dotnet with build-id: e991238b245ee19b757cf42c9da91ee90cbce2cc Stack trace of thread 2926482: #0 0x00007fd8785a724d n/a (ld-linux-x86-64.so.2 + 0x324d) #1 0x00007fd8781b4a98 _dl_catch_exception (libc.so.6 + 0x174a98) #2 0x00007fd8781b4b63 _dl_catch_error (libc.so.6 + 0x174b63) #3 0x00007fd8780d012e n/a (libc.so.6 + 0x9012e) #4 0x00007fd8780cfe58 dlclose (libc.so.6 + 0x8fe58) #5 0x00007f970409b2d5 n/a (/home/user/test/ikvm/linux-x64/bin/libjvm.so + 0x152d5) #6 0x00007f970409a895 n/a (/home/user/test/ikvm/linux-x64/bin/libjvm.so + 0x14895) #7 0x00007fd804608b20 n/a (n/a + 0x0) #8 0x00007fd8079de5be n/a (n/a + 0x0) #9 0x00007fd804661257 n/a (n/a + 0x0) #10 0x00007fd804660122 n/a (n/a + 0x0) #11 0x00007fd804660067 n/a (n/a + 0x0) #12 0x00007fd80465a2e0 n/a (n/a + 0x0) #13 0x00007fd804657fc9 n/a (n/a + 0x0) #14 0x00007fd8079dd056 n/a (n/a + 0x0) #15 0x00007fd8079dceaf n/a (n/a + 0x0) #16 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #17 0x00007fd877b91ac4 n/a (libcoreclr.so + 0x2d7ac4) #18 0x00007fd877c3c98b n/a (libcoreclr.so + 0x38298b) #19 0x00007fd803d67ce6 n/a (n/a + 0x0) #20 0x00007fd803d74a62 n/a (n/a + 0x0) #21 0x00007fd8046221b8 n/a (n/a + 0x0) #22 0x00007fd80462215c n/a (n/a + 0x0) #23 0x00007fd804621870 n/a (n/a + 0x0) #24 0x00007fd8079dcb9b n/a (n/a + 0x0) #25 0x00007fd8079dcb2c n/a (n/a + 0x0) #26 0x00007f9704099803 n/a (/home/user/test/ikvm/linux-x64/bin/libjvm.so + 0x13803) #27 0x00007f970407d245 n/a (/home/user/test/ikvm/linux-x64/bin/libiava.so + 0x20245) #28 0x00007f96c4295718 n/a (/home/user/test/ikvm/linux-x64/bin/libawt.so + 0x29718) #29 0x00007f96c429576d n/a (/home/user/test/ikvm/linux-x64/bin/libawt.so + 0x2976d) #30 0x00007fd804661756 n/a (n/a + 0x0) #31 0x00007fd804660c11 n/a (n/a + 0x0) #32 0x00007fd804660122 n/a (n/a + 0x0) #33 0x00007fd804660067 n/a (n/a + 0x0) #34 0x00007fd80465a2e0 n/a (n/a + 0x0) #35 0x00007fd8046583a1 n/a (n/a + 0x0) #36 0x00007fd804656c0b n/a (n/a + 0x0) #37 0x00007fd804656a70 n/a (n/a + 0x0) #38 0x00007fd8079dba8e n/a (n/a + 0x0) #39 0x00007fd8079dba1e n/a (n/a + 0x0) #40 0x00007fd804601e5e n/a (n/a + 0x0) #41 0x00007fd804601d18 n/a (n/a + 0x0) #42 0x00007fd8079d8ed0 n/a (n/a + 0x0) #43 0x00007fd8079d8ffc n/a (n/a + 0x0) #44 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #45 0x00007fd877b91bf1 n/a (libcoreclr.so + 0x2d7bf1) #46 0x00007fd877b91de3 n/a (libcoreclr.so + 0x2d7de3) #47 0x00007fd877b1800f n/a (libcoreclr.so + 0x25e00f) #48 0x00007fd877b184c1 n/a (libcoreclr.so + 0x25e4c1) #49 0x00007fd877bea261 n/a (libcoreclr.so + 0x330261) #50 0x00007fd8079d8e7e n/a (n/a + 0x0) #51 0x00007fd8079d87fe n/a (n/a + 0x0) #52 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #53 0x00007fd877b91bf1 n/a (libcoreclr.so + 0x2d7bf1) #54 0x00007fd877b91de3 n/a (libcoreclr.so + 0x2d7de3) #55 0x00007fd877b1800f n/a (libcoreclr.so + 0x25e00f) #56 0x00007fd877b184c1 n/a (libcoreclr.so + 0x25e4c1) #57 0x00007fd877bea261 n/a (libcoreclr.so + 0x330261) #58 0x00007fd8079d80fb n/a (n/a + 0x0) #59 0x00007fd8079d80a6 n/a (n/a + 0x0) #60 0x00007fd8079d7e23 n/a (n/a + 0x0) #61 0x00007fd8079d6611 n/a (n/a + 0x0) #62 0x00007fd8079d5b25 n/a (n/a + 0x0) #63 0x00007fd8079d52c4 n/a (n/a + 0x0) Stack trace of thread 2926456: #0 0x00007fd87815e88d syscall (libc.so.6 + 0x11e88d) #1 0x00007fd8777b6136 n/a (liblttng-ust.so.1 + 0x1a136) #2 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #3 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926460: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877eb9293 n/a (libcoreclr.so + 0x5ff293) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877dade9e n/a (libcoreclr.so + 0x4f3e9e) #7 0x00007fd877dadd14 n/a (libcoreclr.so + 0x4f3d14) #8 0x00007fd877dada35 n/a (libcoreclr.so + 0x4f3a35) #9 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #10 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #11 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926457: #0 0x00007fd878158bcf __poll (libc.so.6 + 0x118bcf) #1 0x00007fd877ebb9e0 n/a (libcoreclr.so + 0x6019e0) #2 0x00007fd877ebafe3 n/a (libcoreclr.so + 0x600fe3) #3 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #4 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #5 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926454: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877eb9293 n/a (libcoreclr.so + 0x5ff293) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5f12a n/a (libcoreclr.so + 0x2a512a) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877c5bc2f n/a (libcoreclr.so + 0x3a1c2f) #9 0x00007fd877b5fe5d n/a (libcoreclr.so + 0x2a5e5d) #10 0x00007fd877b58b7e n/a (libcoreclr.so + 0x29eb7e) #11 0x00007fd877e2085a n/a (libcoreclr.so + 0x56685a) #12 0x00007fd7f8b0a93e n/a (n/a + 0x0) #13 0x00007fd7f8b146b5 n/a (n/a + 0x0) #14 0x00007fd7f8b286c8 n/a (n/a + 0x0) #15 0x00007fd7f8b2854d n/a (n/a + 0x0) #16 0x00007fd7f8b72728 n/a (n/a + 0x0) #17 0x00007fd7fa1f1b45 n/a (n/a + 0x0) #18 0x00007fd7f95e2a00 n/a (n/a + 0x0) #19 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #20 0x00007fd877b924c3 n/a (libcoreclr.so + 0x2d84c3) #21 0x00007fd877a80b75 n/a (libcoreclr.so + 0x1c6b75) #22 0x00007fd877a80f97 n/a (libcoreclr.so + 0x1c6f97) #23 0x00007fd877aad076 n/a (libcoreclr.so + 0x1f3076) #24 0x00007fd877a6d698 coreclr_execute_assembly (libcoreclr.so + 0x1b3698) #25 0x00007fd877fcec4b n/a (libhostpolicy.so + 0x2dc4b) #26 0x00007fd877fceee0 n/a (libhostpolicy.so + 0x2dee0) #27 0x00007fd877fcfe36 corehost_main (libhostpolicy.so + 0x2ee36) #28 0x00007fd87800db7b n/a (libhostfxr.so + 0x1eb7b) #29 0x00007fd87800cb82 n/a (libhostfxr.so + 0x1db82) #30 0x00007fd878008d32 hostfxr_main_startupinfo (libhostfxr.so + 0x19d32) #31 0x00005582fba10105 n/a (dotnet + 0x10105) #32 0x00005582fba103c0 n/a (dotnet + 0x103c0) #33 0x00007fd878069d90 n/a (libc.so.6 + 0x29d90) #34 0x00007fd878069e40 __libc_start_main (libc.so.6 + 0x29e40) #35 0x00005582fba06d65 n/a (dotnet + 0x6d65) Stack trace of thread 2926458: #0 0x00007fd878158bcf __poll (libc.so.6 + 0x118bcf) #1 0x00007fd877db5a9c n/a (libcoreclr.so + 0x4fba9c) #2 0x00007fd877e6e27e n/a (libcoreclr.so + 0x5b427e) #3 0x00007fd877e6bddb n/a (libcoreclr.so + 0x5b1ddb) #4 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #5 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #6 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926463: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926455: #0 0x00007fd87815e88d syscall (libc.so.6 + 0x11e88d) #1 0x00007fd8777b6136 n/a (liblttng-ust.so.1 + 0x1a136) #2 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #3 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926468: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926464: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926461: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa69c n/a (libcoreclr.so + 0x3f069c) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926462: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926465: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926467: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926476: #0 0x00007fd87815481c read (libc.so.6 + 0x11481c) #1 0x00007fd7f8148eaf n/a (libSystem.Native.so + 0x13eaf) #2 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #3 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926486: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926509: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926507: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926471: #0 0x00007fd87815481c read (libc.so.6 + 0x11481c) #1 0x00007fd7f8142f2e SystemNative_Read (libSystem.Native.so + 0xdf2e) #2 0x00007fd7fc6b372a n/a (n/a + 0x0) #3 0x00007fd7fc6b78d1 n/a (n/a + 0x0) #4 0x00007fd7fc6b76b5 n/a (n/a + 0x0) #5 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #6 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #7 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #8 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #9 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #10 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #11 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #12 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #13 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926508: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926469: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877bcc3f1 n/a (libcoreclr.so + 0x3123f1) #7 0x00007fd877bcc55f n/a (libcoreclr.so + 0x31255f) #8 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #9 0x00007fd877b629ad n/a (libcoreclr.so + 0x2a89ad) #10 0x00007fd877bcc7c8 n/a (libcoreclr.so + 0x3127c8) #11 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #12 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #13 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926511: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926513: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877eb9293 n/a (libcoreclr.so + 0x5ff293) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5f12a n/a (libcoreclr.so + 0x2a512a) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877c5bc2f n/a (libcoreclr.so + 0x3a1c2f) #9 0x00007fd877b5fe5d n/a (libcoreclr.so + 0x2a5e5d) #10 0x00007fd877b58b7e n/a (libcoreclr.so + 0x29eb7e) #11 0x00007fd877e2085a n/a (libcoreclr.so + 0x56685a) #12 0x00007fd803ef2e31 n/a (n/a + 0x0) #13 0x00007fd804677b69 n/a (n/a + 0x0) #14 0x00007fd8046777da n/a (n/a + 0x0) #15 0x00007fd804677598 n/a (n/a + 0x0) #16 0x00007fd80467727a n/a (n/a + 0x0) #17 0x00007fd804677023 n/a (n/a + 0x0) #18 0x00007fd804675733 n/a (n/a + 0x0) #19 0x00007fd804675664 n/a (n/a + 0x0) #20 0x00007fd804675562 n/a (n/a + 0x0) #21 0x00007fd803d95a4a n/a (n/a + 0x0) #22 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #23 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #24 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #25 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #26 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #27 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #28 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #29 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #30 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926475: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926477: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5efa5 n/a (libcoreclr.so + 0x2a4fa5) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877baf2f4 n/a (libcoreclr.so + 0x2f52f4) #9 0x00007fd803d67542 n/a (n/a + 0x0) #10 0x00007fd7f8b1d76a n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926512: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926505: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926473: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926492: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926474: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5efa5 n/a (libcoreclr.so + 0x2a4fa5) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877baf2f4 n/a (libcoreclr.so + 0x2f52f4) #9 0x00007fd803d67542 n/a (n/a + 0x0) #10 0x00007fd7f8b20bd2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926510: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926472: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877eb9293 n/a (libcoreclr.so + 0x5ff293) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5f12a n/a (libcoreclr.so + 0x2a512a) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877c5bc2f n/a (libcoreclr.so + 0x3a1c2f) #9 0x00007fd877b5fe5d n/a (libcoreclr.so + 0x2a5e5d) #10 0x00007fd877b58b7e n/a (libcoreclr.so + 0x29eb7e) #11 0x00007fd877e2085a n/a (libcoreclr.so + 0x56685a) #12 0x00007fd803ef2e31 n/a (n/a + 0x0) #13 0x00007fd7fcc36a4d n/a (n/a + 0x0) #14 0x00007fd7fcc36835 n/a (n/a + 0x0) #15 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #16 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #17 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #18 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #19 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #20 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #21 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #22 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #23 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926506: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926470: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebe3a9 n/a (libcoreclr.so + 0x6043a9) #5 0x00007fd877b659ca n/a (libcoreclr.so + 0x2ab9ca) #6 0x00007fd877b6587f n/a (libcoreclr.so + 0x2ab87f) #7 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #8 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #9 0x00007fd877b65790 n/a (libcoreclr.so + 0x2ab790) #10 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #11 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #12 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926459: #0 0x00007fd8781545b4 __open64 (libc.so.6 + 0x1145b4) #1 0x00007fd877db64ff n/a (libcoreclr.so + 0x4fc4ff) #2 0x00007fd877db068d n/a (libcoreclr.so + 0x4f668d) #3 0x00007fd877daf765 n/a (libcoreclr.so + 0x4f5765) #4 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #5 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #6 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926483: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926504: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877cf0a94 n/a (libcoreclr.so + 0x436a94) #4 0x00007fd877bd06f4 n/a (libcoreclr.so + 0x3166f4) #5 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #6 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #7 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926503: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebde04 n/a (libcoreclr.so + 0x603e04) #6 0x00007fd877baf464 n/a (libcoreclr.so + 0x2f5464) #7 0x00007fd803ef2b19 n/a (n/a + 0x0) #8 0x00007fd803d94f95 n/a (n/a + 0x0) #9 0x00007fd803ef1f56 n/a (n/a + 0x0) #10 0x00007fd7f8b233b2 n/a (n/a + 0x0) #11 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #12 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #13 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #14 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #15 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #16 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #17 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #18 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #19 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926466: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3a41 pthread_cond_wait (libc.so.6 + 0x93a41) #2 0x00007fd877e92252 n/a (libcoreclr.so + 0x5d8252) #3 0x00007fd877caa5c0 n/a (libcoreclr.so + 0x3f05c0) #4 0x00007fd877caa536 n/a (libcoreclr.so + 0x3f0536) #5 0x00007fd877bd075e n/a (libcoreclr.so + 0x31675e) #6 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #7 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #8 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926478: #0 0x00007fd8780d1117 n/a (libc.so.6 + 0x91117) #1 0x00007fd8780d3e9b pthread_cond_timedwait (libc.so.6 + 0x93e9b) #2 0x00007fd877eb9236 n/a (libcoreclr.so + 0x5ff236) #3 0x00007fd877eb8e68 n/a (libcoreclr.so + 0x5fee68) #4 0x00007fd877ebdbf2 n/a (libcoreclr.so + 0x603bf2) #5 0x00007fd877ebdf51 n/a (libcoreclr.so + 0x603f51) #6 0x00007fd877b5f12a n/a (libcoreclr.so + 0x2a512a) #7 0x00007fd877b5a227 n/a (libcoreclr.so + 0x2a0227) #8 0x00007fd877c5bc2f n/a (libcoreclr.so + 0x3a1c2f) #9 0x00007fd877b5fe5d n/a (libcoreclr.so + 0x2a5e5d) #10 0x00007fd877b58b7e n/a (libcoreclr.so + 0x29eb7e) #11 0x00007fd877e2085a n/a (libcoreclr.so + 0x56685a) #12 0x00007fd803ef2e31 n/a (n/a + 0x0) #13 0x00007fd7f8b146b5 n/a (n/a + 0x0) #14 0x00007fd7f8b143a7 n/a (n/a + 0x0) #15 0x00007fd7fced346c n/a (n/a + 0x0) #16 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #17 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #18 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #19 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #20 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #21 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #22 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #23 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #24 0x00007fd878166850 n/a (libc.so.6 + 0x126850) Stack trace of thread 2926479: #0 0x00007fd878165e2e epoll_wait (libc.so.6 + 0x125e2e) #1 0x00007fd7f8146f22 SystemNative_WaitForSocketEvents (libSystem.Native.so + 0x11f22) #2 0x00007fd7fd2af0b4 n/a (n/a + 0x0) #3 0x00007fd7fd2d1f04 n/a (n/a + 0x0) #4 0x00007fd877d4f413 n/a (libcoreclr.so + 0x495413) #5 0x00007fd877b91dc6 n/a (libcoreclr.so + 0x2d7dc6) #6 0x00007fd877ba6392 n/a (libcoreclr.so + 0x2ec392) #7 0x00007fd877b623e9 n/a (libcoreclr.so + 0x2a83e9) #8 0x00007fd877b6295d n/a (libcoreclr.so + 0x2a895d) #9 0x00007fd877ba6467 n/a (libcoreclr.so + 0x2ec467) #10 0x00007fd877ec4a9e n/a (libcoreclr.so + 0x60aa9e) #11 0x00007fd8780d4ac3 n/a (libc.so.6 + 0x94ac3) #12 0x00007fd878166850 n/a (libc.so.6 + 0x126850) `

1 2

joniles commented 1 month ago

Which version of the MPXJ.Net package are you using?

Can you create a simple test project which shows the same behaviour to allow me to test this locally?

szadev commented 2 weeks ago

I am using 13.3.1 (13.4 the same problem).

Sorry, I didn`t see your reply. I will make the simple project with docker file to show you the problem. Thank you

szadev commented 2 weeks ago

Hello! Here is a test project with a dockerfile and a simple .mpp file.

MPXJTest.zip

szadev commented 1 week ago

small addition. if you want to try another .mpp file with a size greater than 512 000 bytes, then there is a change to provide this:

var fileSize = file.Size;
await using var ms = new MemoryStream();
await file.OpenReadStream(fileSize).CopyToAsync(ms);
joniles commented 1 week ago

Thanks for providing the Dockerfile. I'm trying to get this set up on my machine, in the directory containing Dockerfile I'm running this:

docker build .

But I found I had to edit this line:

COPY ["MPXJTest/MPXJTest.csproj", "MPXJTest/"]

to remove the MPXJTest/ prefix. After this the build seems to proceed until I get these errors:

87.35 CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/src/MPXJTest/MPXJTest.csproj]
87.35     931 Warning(s)
87.35     1 Error(s)
87.35 
87.35 Time Elapsed 00:01:26.62
------
Dockerfile:14
--------------------
  12 |     COPY . .
  13 |     WORKDIR "/src/MPXJTest"
  14 | >>> RUN dotnet build "MPXJTest.csproj" -c $BUILD_CONFIGURATION -o /app/build
  15 |     
  16 |     FROM build AS publish
--------------------
ERROR: failed to solve: process "/bin/sh -c dotnet build \"MPXJTest.csproj\" -c $BUILD_CONFIGURATION -o /app/build" did not complete successfully: exit code: 1

Can you advise me on where I'm going wrong, and what steps I should be taking to get your code running?

Thanks!

szadev commented 1 week ago

Actually, this dockerfile was automatically generated by JetBrains Raider when I just created a file and ran it from this IDE. I will now check how to run it manually

szadev commented 1 week ago

Sorry, I don't have enough experience with Windows + Docker + .net. So I need a few days to find an answer. But, if you have a linux virtual machine, you can just install dotnet runtime there (sudo apt-get install -y aspnetcore-runtime-8.0) and run the builded project with command dotnet MPXJTest.dll

szadev commented 1 week ago

By the way, I will try to write Dockerfiile, i think there is no reason to use all of that autogenerated code in Dockerfile

szadev commented 1 week ago

Hello! I ran this code as docker build . and it worked. I think it will work on your machine too.

FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 8080

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["MPXJTest.csproj", "MPXJTest.csproj"]
RUN dotnet restore "MPXJTest.csproj"
COPY . .
WORKDIR "/src"
RUN dotnet build "MPXJTest.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "MPXJTest.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "MPXJTest.dll"]

And then run it docker run -d -p 8080:8080 --name mpxjtest IMAGE_ID

joniles commented 1 week ago

TL;DR

The issue is a missing library. Add the following to your Dockerfile in the FROM base AS final section.

RUN apt-get update && apt-get install -y libfontconfig

Debugging a dotnet Segmentation Fault

Some notes for our future selves so we remember how to do this!

The core dump, and running the code in gdb both showed the segmentation fault was coming from a call to dlclose, so something related to loading a dynamic library was causing the problem.

I started a container in a bash shell using the built image:

docker run -it -p 8080:8080 --entrypoint bash --name mpxjtest <image id>

Then installed strace:

apt-get update
apt-get install -y strace

I could then run the application using strace:

strace -f -e trace=\!futex,sched_yield,madvise,mmap,munmap,mprotect,getrusage dotnet MPXJTest.dll

The -f argument is important as it allows us to see what child processes and threads are doing. The -e argument just excludes a lot of repetitive syscalls which would otherwise obscure what's happening.

Here's the relevant bit of the output:

[pid   289] openat(AT_FDCWD, "/app/ikvm/linux-x64/bin/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid   289] openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 675
[pid   289] newfstatat(675, "", {st_mode=S_IFREG|0644, st_size=5278, ...}, AT_EMPTY_PATH) = 0
[pid   289] close(675)                  = 0
[pid   289] openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid   289] openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid   289] openat(AT_FDCWD, "/lib/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid   289] openat(AT_FDCWD, "/usr/lib/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid   289] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x337} ---

I would have hoped for a more graceful failure and a suitable error message when libfontconfig wasn't available, but now we can see what the code is trying to do at this point we can ensure libfontconfig is installed, and everything works!

szadev commented 1 week ago

Thank you so much for your prompt support. I tested it in staging and everything works now!