Mono error Mac OS

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF PrintManager for .NET (v4.x)  /  Display Thread

DynamicPDF PrintManager for .NET (v4.x) Forum

 May 27 2019 9:07 AM
Hello,

I have error when i declare : Printer p = new Printer("HP_DIRECTION");
I use Mac OS, Mono, Framework 4.6. and C#.
If someone have an idea ?

Thank you

Loaded assembly: /Users/admin/Documents/IMP/TestIMP/bin/x86/Debug/TestIMP.exe
Loaded assembly: /Users/admin/Documents/IMP/TestIMP/bin/x86/Debug/IMP.dll
Loaded assembly: /Users/admin/Documents/IMP/TestIMP/bin/x86/Debug/DRC.Common.dll [External]
Resolved pending breakpoint at 'Program.cs:11,1' to void TestIMP.Program.Main (string[] args) [0x00001].
Resolved pending breakpoint at 'IMP.cs:84,1' to IMP.IMPConfigDefaultResponse IMP.IMP.ConfigDefault () [0x00116].
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll [External]
Loaded assembly: /Users/admin/Documents/IMP/TestIMP/bin/x86/Debug/DynamicPDF.Printing.NETFramework40.x86.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
* Assertion: should not be reached at metadata.c:2957


=================================================================
        Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Basic Fault Adddress Reporting
=================================================================
Memory around native instruction pointer (0xa7cebfde):0xa7cebfce  10 41 02 ff e2 c3 b8 48 01 08 00 e8 be 1a 00 00  .A.....H........
0xa7cebfde  73 0e e8 00 00 00 00 5a 8b 92 43 10 41 02 ff e2  s......Z..C.A...
0xa7cebfee  c3 55 89 e5 53 57 56 83 ec 7c e8 00 00 00 00 58  .U..SWV..|.....X
0xa7cebffe  8b 55 1c 8b 5d 0c 8b 80 0b 10 41 02 8b 48 04 8d  .U..].....A..H..

=================================================================
        Native stacktrace:
=================================================================
        0x126cf8 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_dump_native_crash_info
        0xd11d1 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_handle_native_crash
        0x1261f9 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : sigabrt_signal_handler
        0xa7d91bbe - /usr/lib/system/libsystem_platform.dylib : _sigtramp
        0xffffffff - Unknown
        0xa7c4b80e - /usr/lib/system/libsystem_c.dylib : abort
        0x30985d - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : monoeg_assert_abort
        0x2ec3ae - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_log_write_logfile
        0x2e71b1 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : structured_log_adapter
        0x309afc - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : monoeg_g_logv_nofree
        0x309b99 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : monoeg_assertion_message
        0x1f2f5f - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : collect_type_images
        0x1f2d6f - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_metadata_get_image_set_for_class
        0x1a9ef7 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_class_create_ptr
        0x19e05a - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_class_from_mono_type
        0x213122 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_class_vtable_checked
        0x21243a - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_runtime_class_init_full
        0x1bdb1 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_jit_compile_method_inner
        0x1f3b8 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_jit_compile_method_with_opt
        0x1e88f - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_jit_compile_method
        0xd40b2 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : common_call_trampoline
        0xd3af9 - /Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32 : mono_magic_trampoline
        0x45c188 - Unknown

=================================================================
        Telemetry Dumper:
=================================================================
Pkilling 0xb09a4000 from 0x569080
Pkilling 0xb08a2000 from 0x569080
Entering thread summarizer pause from 0x569080
Finished thread summarizer pause from 0x569080.

Waiting for dumping threads to resume

Debug info from gdb:


=================================================================
        External Debugger Dump:
=================================================================
(lldb) command source -s 0 '/tmp/mono-gdb-commands.3323'
Executing commands in '/tmp/mono-gdb-commands.3323'.
(lldb) process attach --pid 3323
warning: (i386) /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/libglib-2.0.0.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 3323 stopped
* thread #1, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0xa7ceb052 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
->  0xa7ceb052 <+10>: jae    0xa7ceb062                ; <+26>
    0xa7ceb054 <+12>: calll  0xa7ceb059                ; <+17>
    0xa7ceb059 <+17>: popl   %edx
    0xa7ceb05a <+18>: movl   0x2411fd3(%edx), %edx
Target 0: (mono32) stopped.

Executable module set to "/Library/Frameworks/Mono.framework/Versions/5.18.1/bin/mono32".
Architecture set to: i386-apple-macosx-.
(lldb) thread list
Process 3323 stopped
* thread #1: tid = 0x1cbf6, 0xa7ceb052 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  thread #2: tid = 0x1cbf8, 0xa7ce97aa libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
  thread #3: tid = 0x1cbfa, 0xa7ce620e libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
  thread #4: tid = 0x1cbfb, 0xa7ce93a6 libsystem_kernel.dylib`__recvfrom + 10, name = 'Debugger agent'
  thread #5: tid = 0x1cc09, 0xa7ce7ab6 libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #6: tid = 0x1cc0d, 0xa7ce7ab6 libsystem_kernel.dylib`__workq_kernreturn + 10
(lldb) thread backtrace all
* thread #1, name = 'tid_303', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0xa7ceb052 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0xa7c68de6 libsystem_c.dylib`waitpid$UNIX2003 + 32
    frame #2: 0x00127008 mono32`mono_dump_native_crash_info at mini-posix.c:1112:3 [opt]
    frame #3: 0x00126c99 mono32`mono_dump_native_crash_info(signal=<unavailable>, ctx=<unavailable>, info=0xbffef55c) at mini-posix.c:1149 [opt]
    frame #4: 0x000d11d1 mono32`mono_handle_native_crash(signal=<unavailable>, ctx=<unavailable>, info=<unavailable>) at mini-exceptions.c:3290:2 [opt]
    frame #5: 0x001261f9 mono32`sigabrt_signal_handler(_dummy=6, _info=<unavailable>, context=0xbffef59c) at mini-posix.c:231:3 [opt]
etc...
 May 28 2019 9:45 AM
Posted by a ceTe Software moderator
Hello,

The DynamicPDF PrintManager for .NET product does not support Mac OS. We will add this feature to wish list. We may include this in future version of DynamicPDF PrintManager product but please note that we do not have any exact time line on this.

Thanks,
ceTe Software Support Team
 May 28 2019 9:50 AM
Okay thank you for feedback

All times are US Eastern Standard time. The time now is 12:41 AM.