cwensley / pablodraw

PabloDraw is an Ansi/Ascii text and RIPscrip vector graphic art editor/viewer with multi-user capabilities.
MIT License
309 stars 21 forks source link

New Linux issues #103

Closed ericolito closed 4 months ago

ericolito commented 4 months ago

Hi!

Now downgrading libgtk-sharp2 won't even solve the Linux problems anymore. Pablodraw crash after a few seconds of usage with the following error message:


pablodraw gpath.c:115: assertion 'filename != NULL' failed

Cairo.Pattern is leaking, programmer is missing a call to Dispose Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces Cairo.Pattern is leaking, programmer is missing a call to Dispose Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces

================================================================= Native Crash Reporting

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.

================================================================= Native stacktrace:

0x645cb3c41f19 - mono : 
0x645cb3beb437 - mono : 
0x645cb3c308e5 - mono : 
0x709806bd871d - /usr/lib/libgobject-2.0.so.0 : g_type_check_instance
0x709806bcf519 - /usr/lib/libgobject-2.0.so.0 : g_signal_handlers_disconnect_matched
0x7098042695e7 - /usr/lib/libgtk-x11-2.0.so.0 : gtk_accel_label_set_accel_closure
0x70980426984c - /usr/lib/libgtk-x11-2.0.so.0 : gtk_accel_label_set_accel_widget
0x70980426996f - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bb1626 - /usr/lib/libgobject-2.0.so.0 : g_closure_invoke
0x709806be0056 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0a42 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0c77 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit_valist
0x709806bd0d34 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit
0x7098043601e7 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bbf900 - /usr/lib/libgobject-2.0.so.0 : g_object_run_dispose
0x70980431c926 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x7098042b5c7c - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bb1626 - /usr/lib/libgobject-2.0.so.0 : g_closure_invoke
0x709806be0056 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0a42 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0c77 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit_valist
0x709806bd0d34 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit
0x7098043601e7 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bbf900 - /usr/lib/libgobject-2.0.so.0 : g_object_run_dispose
0x70980434c74d - /usr/lib/libgtk-x11-2.0.so.0 : 
0x7098042b5c7c - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bb1626 - /usr/lib/libgobject-2.0.so.0 : g_closure_invoke
0x709806be0056 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0a42 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0c77 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit_valist
0x709806bd0d34 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit
0x7098043601e7 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bbf900 - /usr/lib/libgobject-2.0.so.0 : g_object_run_dispose
0x709804344a36 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bb1626 - /usr/lib/libgobject-2.0.so.0 : g_closure_invoke
0x709806be0056 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0a42 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0c77 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit_valist
0x709806bd0d34 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit
0x7098043601e7 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bbf900 - /usr/lib/libgobject-2.0.so.0 : g_object_run_dispose
0x70980434c74d - /usr/lib/libgtk-x11-2.0.so.0 : 
0x7098042b5c7c - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bb16c0 - /usr/lib/libgobject-2.0.so.0 : g_closure_invoke
0x709806be0056 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0a42 - /usr/lib/libgobject-2.0.so.0 : 
0x709806bd0c77 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit_valist
0x709806bd0d34 - /usr/lib/libgobject-2.0.so.0 : g_signal_emit
0x7098043601e7 - /usr/lib/libgtk-x11-2.0.so.0 : 
0x709806bbf7e3 - /usr/lib/libgobject-2.0.so.0 : g_object_unref
0x40cdfa5b - Unknown

================================================================= Telemetry Dumper:

Pkilling 0x123798122661568x from 0x123798304530560x Pkilling 0x123798231713472x from 0x123798304530560x Pkilling 0x123798114272960x from 0x123798304530560x Pkilling 0x123798126855872x from 0x123798304530560x Pkilling 0x123798131050176x from 0x123798304530560x Entering thread summarizer pause from 0x123798304530560x Finished thread summarizer pause from 0x123798304530560x. Failed to create breadcrumb file (null)/crash_hash_0x31c84976a

Waiting for dumping threads to resume

================================================================= External Debugger Dump:

mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

================================================================= Basic Fault Address Reporting

Memory around native instruction pointer (0x709806bd871d):0x709806bd870d 8f 00 00 00 48 8b 07 48 85 c0 0f 84 a3 00 00 00 ....H..H........ 0x709806bd871d 48 8b 10 48 81 fa fc 03 00 00 76 47 48 89 d6 b8 H..H......vGH... 0x709806bd872d 01 00 00 00 48 83 e6 fc f6 46 16 04 75 29 8b 7e ....H....F..u).~ 0x709806bd873d 28 ff 15 4c 58 02 00 48 89 c1 31 c0 48 8d 15 e8 (..LX..H..1.H...

================================================================= Managed Stacktrace:

  at <unknown> <0xffffffff>
  at GLib.ToggleRef:g_object_remove_toggle_ref <0x000ba>
  at GLib.ToggleRef:Free <0x0025b>
  at GLib.Object:PerformQueuedUnrefs <0x001db>
  at TimeoutProxy:Invoke <0x00032>
  at GLib.SourceProxy:HandlerInternal <0x00044>
  at GLib.SourceProxy:HandlerInternal <0x0007a>
  at <unknown> <0xffffffff>
  at Gtk.Application:gtk_main <0x0008f>
  at Gtk.Application:Run <0x00023>
  at Eto.Platform.GtkSharp.ApplicationHandler:Run <0x00193>
  at Eto.Forms.Application:Run <0x000b6>
  at PabloDraw.Program:Run <0x007f5>
  at PabloDraw.Startup:Main <0x00037>
  at System.Object:runtime_invoke_void <0x00086>

=================================================================

ericolito commented 4 months ago

It's working now. I had forgotten to downgrade gtk-sharp-2 to the last working version (gtk-sharp-2-2.12.42). Sorry about this! Carry on.