Double clicking to open a progress note crashes OD Linux

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Double clicking to open a progress note crashes OD Linux

Post by wjstarck » Mon Sep 24, 2007 6:15 pm

Hello-

Double clicking a progress note to open it crashes OD 5.2 on Linux:

exam@exam:~$ sudo mono /usr/local/opendental/OpenDental.exe
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 12 (0)
Resource ID: 0x48000C9
Serial: 21347
Hwnd: Hwnd, Mapped:True ClientWindow:0x48000CA, WholeWindow:0x48000C9, Zombie=False, Parent:[<null>]
Control: OpenDental.OutlookBar at System.Environment.get_StackTrace()
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
at System.Windows.Forms.XplatUIX11.HandleError(IntPtr , XErrorEvent ByRef )
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
at System.Windows.Forms.Control.CreateGraphics()
at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal()
at System.Windows.Forms.Document.owner_VisibleChanged(System.Object sender, System.EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(System.EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
at OpenDental.FormOpenDental.Main()


** (/usr/local/opendental/OpenDental.exe:27704): WARNING **: field __ImageBase in <Module> should have RVA data, but hasn't
Stacktrace:

at (wrapper remoting-invoke-with-check) Topaz.SigPlusNET..ctor () <0x00022>
at (wrapper remoting-invoke-with-check) Topaz.SigPlusNET..ctor () <0xffffffff>
at OpenDental.FormProcEdit.InitializeComponent () <0x02acc>
at OpenDental.FormProcEdit..ctor (OpenDentBusiness.Procedure,OpenDentBusiness.Patient,OpenDental.Family,OpenDentBusiness.InsPlan[]) <0x000db>
at (wrapper remoting-invoke-with-check) OpenDental.FormProcEdit..ctor (OpenDentBusiness.Procedure,OpenDentBusiness.Patient,OpenDental.Family,OpenDentBusiness.InsPlan[]) <0xffffffff>
at OpenDental.ContrChart.gridProg_CellDoubleClick (object,OpenDental.UI.ODGridClickEventArgs) <0x0013b>
at OpenDental.UI.ODGrid.OnCellDoubleClick (int,int) <0x00050>
at OpenDental.UI.ODGrid.OnDoubleClick (System.EventArgs) <0x00036>
at System.Windows.Forms.Control.HandleClick (int,System.Windows.Forms.MouseEventArgs) <0x0005b>
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&) <0x00160>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x00200>
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message&) <0x0000d>
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&) <0x00054>
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message&) <0x0000d>
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) <0x00016>
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x00015>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00767>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00024>
at OpenDental.FormOpenDental.Main () <0x00029>
at (wrapper runtime-invoke) OpenDental.FormOpenDental.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

mono [0x816771e]
mono [0x807d810]
[0xffffe440]
mono [0x8142fa8]
mono [0x8152fa0]
mono [0x815495e]
mono [0x807f2ca]
[0xb7b6c066]
[0xb469cacd]
[0xb46d5ff4]
[0xb46d5eec]
[0xb46d56f4]
[0xb424d881]
[0xb424d80f]
[0xb49e3374]
[0xb49e32b9]
[0xb506c711]
[0xb506c506]
[0xb506c4dd]
[0xb4df1b4e]
[0xb506c0a5]
[0xb506c083]
[0xb506bb45]
[0xb4de1cbf]
[0xb4a26c2e]
[0xb4de0ce0]
[0xb4de0375]
[0xb6e9b842]
[0xb6e99f0e]
mono(mono_runtime_exec_main+0xbb) [0x80af2ab]
mono(mono_runtime_run_main+0x1b9) [0x80af5e9]
mono(mono_main+0xfaf) [0x805b2cf]
mono [0x8059e12]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7ca8ebc]
mono [0x8059d61]

Debug info from gdb:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1211558176 (LWP 27704)]
[New Thread -1262158960 (LWP 27708)]
[New Thread -1226351728 (LWP 27706)]
[New Thread -1220461680 (LWP 27705)]
0xffffe410 in __kernel_vsyscall ()
4 Thread -1220461680 (LWP 27705) 0xffffe410 in __kernel_vsyscall ()
3 Thread -1226351728 (LWP 27706) 0xffffe410 in __kernel_vsyscall ()
2 Thread -1262158960 (LWP 27708) 0xffffe410 in __kernel_vsyscall ()
1 Thread -1211558176 (LWP 27704) 0xffffe410 in __kernel_vsyscall ()

Thread 4 (Thread -1220461680 (LWP 27705)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e07986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x08109021 in collection_thread (unused=0x0) at collection.c:34
#3 0xb7e0031b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7d6257e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1226351728 (LWP 27706)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e045c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0810e79f in timedwait_signal_poll_cond (cond=0xb737f1dc,
mutex=0xb737f1c4, timeout=0x0, alertable=0) at handles.c:1443
#3 0x0811123f in _wapi_handle_timedwait_signal_handle (handle=0x404,
timeout=0x0, alertable=0) at handles.c:1523
#4 0x081112bc in _wapi_handle_wait_signal_handle (handle=0x404, alertable=0)
at handles.c:1483
#5 0x081085ff in WaitForSingleObjectEx (handle=0x404, timeout=4294967295,
alertable=0) at wait.c:200
#6 0x080f8b9a in finalizer_thread (unused=0x0) at gc.c:847
#7 0x080f72e4 in start_wrapper (data=0x824f1d0) at threads.c:550
#8 0x08112d02 in thread_start_routine (args=0xb722b3c0) at threads.c:264
#9 0x0812a1d5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1369
#10 0xb7e0031b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb7d6257e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1262158960 (LWP 27708)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d62be6 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
#2 0x080a2cdc in socket_io_epoll_main (p=0x820e6c0) at threadpool.c:554
#3 0x080f72e4 in start_wrapper (data=0x8b858e8) at threads.c:550
#4 0x08112d02 in thread_start_routine (args=0xb722b4f8) at threads.c:264
#5 0x0812a1d5 in GC_start_routine (arg=0x249f60) at pthread_support.c:1369
#6 0xb7e0031b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d6257e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1211558176 (LWP 27704)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d22f59 in fork () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e097e4 in fork () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7e75a99 in fork_exec_with_pipes (intermediate_child=0,
working_directory=0x0, argv=0xb3cf8930, envp=0x0, close_descriptors=1,
search_path=1, stdout_to_null=0, stderr_to_null=0, child_inherits_stdin=0,
file_and_argv_zero=0, child_setup=0, user_data=0x0, child_pid=0xb7b6b320,
standard_input=0x0, standard_output=0xb7b6b328, standard_error=0xb7b6b324,
error=0x0) at gspawn.c:1117
#4 0xb7e7668b in IA__g_spawn_sync (working_directory=0x0, argv=0x0, envp=0x0,
flags=G_SPAWN_LEAVE_DESCRIPTORS_OPEN, child_setup=0, user_data=0x0,
standard_output=0xb7b6b844, standard_error=0xb7b6b840,
exit_status=0xb7b6b83c, error=0x0) at gspawn.c:249
#5 0xb7e76b2c in IA__g_spawn_command_line_sync (
command_line=0xb7b6b848 "gdb --ex 'attach 27704' --ex 'info threads' --ex 'thread apply all bt' --batch", standard_output=0xb7b6b844,
standard_error=0xb7b6b840, exit_status=0xb7b6b83c, error=0x0)
at gspawn.c:672
#6 0x081677b9 in mono_handle_native_sigsegv (signal=11, ctx=0xb7b6bd0c)
at mini-exceptions.c:1061
#7 0x0807d810 in mono_arch_handle_altstack_exception (sigctx=0xb7b6bd0c,
fault_addr=0x0, stack_ovf=0) at exceptions-x86.c:844
#8 <signal handler called>
#9 0xb7d0234c in memcpy () from /lib/tls/i686/cmov/libc.so.6
#10 0x080aae53 in mono_class_vtable (domain=0x21f00, class=0xb3c9cb4c)
at object.c:1358
#11 0x08142fa8 in mono_method_to_ir (cfg=0xb3cf86f0, method=0xb3cf575c,
start_bblock=0xb4403c54, end_bblock=0xb4403cec, locals_offset=1,
return_var=0x0, dont_inline=0x9015150, inline_args=0x0, inline_offset=0,
is_virtual_call=0, shared_context=0x0) at mini.c:6373
#12 0x08152fa0 in mini_method_compile (method=0xb3cf575c, opts=13724159,
domain=0x21f00, run_cctors=<value optimized out>,
compile_aot=<value optimized out>, parts=0) at mini.c:10660
#13 0x0815495e in mono_jit_compile_method (method=0xb3cf575c) at mini.c:11073
#14 0x0807f2ca in mono_magic_trampoline (regs=0xbfeb5b18,
code=0xb46acf02 "Y\215e�^��", m=0xb3cf575c, tramp=0x0)
at mini-trampolines.c:71
#15 0xb7b6c066 in ?? ()
#16 0xbfeb5b18 in ?? ()
#17 0xb46acf02 in ?? ()
#18 0xb3cf575c in ?? ()
#19 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()


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

Aborted (core dumped)
exam@exam:~$

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Post by jordansparks » Mon Sep 24, 2007 7:20 pm

It's that darned Topaz control. We'll put it down as a bug and look into it. I know we can fix it because we already fixed the other Topaz control recently, the one in the Image module.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Post by wjstarck » Mon Sep 24, 2007 7:45 pm

Thanks, Jordan

User avatar
wjstarck
Posts: 936
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Post by wjstarck » Fri Oct 12, 2007 8:05 am

Hello-

Any progress on this bug?

Thanks,

Bill Starck, DDS

User avatar
jordansparks
Site Admin
Posts: 5742
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Post by jordansparks » Fri Oct 12, 2007 8:39 am

Not yet. Sorry.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply