Bug#1028220: cowbell: Cowbell crashes when opening a file

2023-01-29 Thread Bernhard Übelacker

Control: reassign 1028220 libglib2.0-cil 2.12.40-3.1
Control: affects 1028220 cowbell





=
Managed Stacktrace:
=
  at  <0x>
  at GLib.SList:g_free <0x000a2>
  at GLib.ListBase:Empty <0x001a4>
  at GLib.ListBase:Dispose <0x0002b>
  at GLib.ListBase:Dispose <0x00034>
  at GLib.Marshaller:ListPtrToArray <0x0016f>
  at Gtk.FileChooserDialog:get_Uris <0x00057>
  at Cowbell.Gui.MainWindow:OnFileOpenActivate <0x0008b>




Dear Maintainer,
I tried to have a look and found this seems to be caused
by an upstream commit in gtk-sharp2 [1], released in 2.12.39.

This got fixed in upstream commit [2], released in 2.12.41.

Unfortunately Debian packages just gtk-sharp version 2.12.40,
therefore does not contain this fix.


With a package built with patch [2] the crash is no longer
visible with an unmodified cowbell package.


This crash seems also to affect the package pinta in Debian [3].


Kind regards,
Bernhard


[1] 
https://github.com/mono/gtk-sharp/commit/80c7e733a9f93576cb3a98d957da1c8f428fdd5f
[2] 
https://github.com/mono/gtk-sharp/commit/72637de6f2e519592f946a5acdf29a334c7bff75
[3] https://bugs.debian.org/877106



Bug#1028220: cowbell: Cowbell crashes when opening a file

2023-01-08 Thread Julien Palard
Package: cowbell
Version: 0.2.7.1-7+b3
Severity: normal
X-Debbugs-Cc: jul...@palard.fr

Dear Maintainer,

When I open a file in cowbell, I'm getting a « double free or corruption », see:

$ cowbell
double free or corruption (out)

=
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.
=

=
Native stacktrace:
=
0x55e27832403c - /usr/bin/mono : (null)
0x55e2783243dc - /usr/bin/mono : (null)
0x55e2782d301c - /usr/bin/mono : (null)
0x55e27832361f - /usr/bin/mono : (null)
0x7f274354ef90 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f274359dccc - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f274354eef2 - /lib/x86_64-linux-gnu/libc.so.6 : gsignal
0x7f2743539472 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x7f27435922d0 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f27435a764a - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f27435a96b0 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f27435abd2f - /lib/x86_64-linux-gnu/libc.so.6 : __libc_free
0x4025d913 - Unknown

=
Telemetry Dumper:
=

(yes it ends stuck here).

I tried some other files, they crashes too, but sometimes I'm having another 
crash:


$ cowbell
free(): invalid pointer

=
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.
=

=
Native stacktrace:
=
0x561b9087b03c - /usr/bin/mono : (null)
0x561b9087b3dc - /usr/bin/mono : (null)
0x561b9082a01c - /usr/bin/mono : (null)
0x561b9087a61f - /usr/bin/mono : (null)
0x7f7ded70ff90 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f7ded75eccc - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f7ded70fef2 - /lib/x86_64-linux-gnu/libc.so.6 : gsignal
0x7f7ded6fa472 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x7f7ded7532d0 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f7ded76864a - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f7ded76a3d4 - /lib/x86_64-linux-gnu/libc.so.6 : (null)
0x7f7ded76cd2f - /lib/x86_64-linux-gnu/libc.so.6 : __libc_free
0x415c1913 - Unknown

=
Telemetry Dumper:
=
Pkilling 0x7f7ded2936c0 from 0x7f7ded6d2bc0
Entering thread summarizer pause from 0x7f7ded6d2bc0
Finished thread summarizer pause from 0x7f7ded6d2bc0.

Waiting for dumping threads to resume

=
External Debugger Dump:
=
:1049: ImportWarning: 
GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()
[New LWP 2312482]
[New LWP 2312483]
[New LWP 2312491]
[New LWP 2312492]
[New LWP 2312538]
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1201: 
DeprecationWarning: invalid escape sequence '\d'
  self.typename = re.sub('^std::experimental::fundamentals_v\d::', 
'std::experimental::', self.typename, 1)
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1219: 
DeprecationWarning: invalid escape sequence '\w'
  mgrname = re.sub("std::string(?!\w)", 
str(gdb.lookup_type('std::string').strip_typedefs()), m.group(1))
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/printers.py:1249: 
DeprecationWarning: invalid escape sequence '\d'
  self.typename = re.sub('^std::(experimental::|)(fundamentals_v\d::|)(.*)', 
r'std::\1\3<%s>' % valtype, typename, 1)
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:151: 
DeprecationWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?array<.*>$', class_type.tag):
/lib/x86_64-linux-gnu/../../share/gcc/python/libstdcxx/v6/xmethods.py:268: 
DeprecationWarning: invalid escape sequence '\d'
  if not re.match('^std::(__\d+::)?deque<.*>$', class_type.tag):