Bug#901422: gpaste-daemon: random crash (SIGSEGV)

2019-01-29 Thread Jérémy Lal
Package: gpaste
Followup-For: Bug #901422

Hi,

did you see it recently happen with version 3.30.2-1 ?

Regards,
Jérémy

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), 
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpaste depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  libc62.28-5
ii  libglib2.0-0 2.58.2-4
ii  libgpaste11  3.30.2-1
ii  libgtk-3-0   3.24.4-1

gpaste recommends no packages.

gpaste suggests no packages.

-- no debconf information


Bug#901422: gpaste-daemon: random crash (SIGSEGV)

2018-06-12 Thread Paul Wise
Package: gpaste
Version: 3.28.0-2
Severity: normal
File: /usr/lib/x86_64-linux-gnu/gpaste/gpaste-daemon
Usertags: crash

I got a couple of random crashes (SIGSEGV) in gpaste-daemon.
If the backtraces below are not useful, please close this bug.

$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' 
--core 
/var/crash/1000/2081-1000-1000-11-1528779084-chianamo--usr-lib-x86_64-linux-gnu-gpaste-gpaste-daemon.core
 /usr/lib/x86_64-linux-gnu/gpaste/gpaste-daemon
[New LWP 2081]
[New LWP 2083]
[New LWP 2082]
[New LWP 2084]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/x86_64-linux-gnu/gpaste/gpaste-daemon'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  fast_validate (str=) at ../../../../glib/gutf8.c:1492
1492../../../../glib/gutf8.c: No such file or directory.
[Current thread is 1 (Thread 0x7fdc65158a80 (LWP 2081))]
#0  0x7fdc638b2b50 in fast_validate (str=) at 
../../../../glib/gutf8.c:1492
#1  0x7fdc638b2b50 in g_utf8_validate (str=str@entry=0x0, 
max_len=max_len@entry=-1, end=end@entry=0x0) at ../../../../glib/gutf8.c:1673
#2  0x7fdc646f0351 in selection_get_text_plain 
(selection_data=0x7fff75a2d8a0) at ../../../../gtk/gtkselection.c:1568
#3  0x7fdc646f0351 in gtk_selection_data_get_text 
(selection_data=selection_data@entry=0x7fff75a2d8a0) at 
../../../../gtk/gtkselection.c:1682
#4  0x7fdc647d1cbb in request_text_received_func (clipboard=0x55dcdb4d3670 
[GtkClipboard], selection_data=0x7fff75a2d8a0, data=0x55dcdb699cd0) at 
../../../../gtk/gtkclipboard.c:1035
#5  0x7fdc647d0fd9 in selection_received (widget=0x55dcdb5833b0 
[GtkInvisible], selection_data=0x7fff75a2d8a0, time=) at 
../../../../gtk/gtkclipboard.c:960
#9  0x7fdc63b772e8 in  (instance=0x55dcdb5833b0, 
detailed_signal=detailed_signal@entry=0x7fdc64857c04 "selection-received") at 
../../../../gobject/gsignal.c:3487
#6  0x7fdc63b5af6d in g_closure_invoke (closure=0x55dcdb551770, 
return_value=0x0, n_param_values=3, param_values=0x7fff75a2d530, 
invocation_hint=0x7fff75a2d4b0) at ../../../../gobject/gclosure.c:804
#7  0x7fdc63b6dd3e in signal_emit_unlocked_R 
(node=node@entry=0x55dcdb45b220, detail=detail@entry=0, 
instance=instance@entry=0x55dcdb5833b0, 
emission_return=emission_return@entry=0x0, 
instance_and_params=instance_and_params@entry=0x7fff75a2d530) at 
../../../../gobject/gsignal.c:3635
#8  0x7fdc63b763f5 in g_signal_emit_valist 
(instance=instance@entry=0x55dcdb5833b0, signal_id=signal_id@entry=101, 
detail=, var_args=var_args@entry=0x7fff75a2d768) at 
../../../../gobject/gsignal.c:3391
#10 0x7fdc646edd83 in gtk_selection_retrieval_report 
(info=info@entry=0x55dcdb645950, type=, format=, 
buffer=, length=, time=1300254466) at 
../../../../gtk/gtkselection.c:3047
#11 0x7fdc646f2048 in _gtk_selection_property_notify (widget=, event=0x55dcdb4430a0) at ../../../../gtk/gtkselection.c:2935
#12 0x7fdc64661f17 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x55dcdb45a570, 
return_value=0x7fff75a2db00, instance=, args=, 
marshal_data=, n_params=, 
param_types=0x55dcdb45a5a0) at ../../../../gtk/gtkmarshalers.c:128
#13 0x7fdc63b5b1a6 in _g_closure_invoke_va (closure=0x55dcdb45a570, 
return_value=0x7fff75a2db00, instance=0x55dcdb5833b0, args=0x7fff75a2dbd0, 
n_params=1, param_types=0x55dcdb45a5a0) at ../../../../gobject/gclosure.c:867
#14 0x7fdc63b760ad in g_signal_emit_valist (instance=0x55dcdb5833b0, 
signal_id=, detail=, 
var_args=var_args@entry=0x7fff75a2dbd0) at ../../../../gobject/gsignal.c:3300
#15 0x7fdc63b76e0f in g_signal_emit 
(instance=instance@entry=0x55dcdb5833b0, signal_id=, 
detail=detail@entry=0) at ../../../../gobject/gsignal.c:3447
#16 0x7fdc647a9254 in gtk_widget_event_internal 
(widget=widget@entry=0x55dcdb5833b0 [GtkInvisible], 
event=event@entry=0x55dcdb4430a0) at ../../../../gtk/gtkwidget.c:7740
#17 0x7fdc647ab2ca in gtk_widget_event (widget=widget@entry=0x55dcdb5833b0 
[GtkInvisible], event=event@entry=0x55dcdb4430a0) at 
../../../../gtk/gtkwidget.c:7310
#18 0x7fdc64660eee in gtk_main_do_event (event=) at 
../../../../gtk/gtkmain.c:1855
#19 0x7fdc641739b5 in _gdk_event_emit (event=event@entry=0x55dcdb4430a0) at 
../../../../gdk/gdkevents.c:73
#20 0x7fdc641a42f2 in gdk_event_source_dispatch 
(source=source@entry=0x55dcdb42c9b0, callback=, 
user_data=) at ../../../../../gdk/x11/gdkeventsource.c:367
#21 0x7fdc63881287 in g_main_dispatch (context=0x55dcdb440d50) at 
../../../../glib/gmain.c:3177
#22 0x7fdc63881287 in g_main_context_dispatch 
(context=context@entry=0x55dcdb440d50) at ../../../../glib/gmain.c:3830
#23 0x7fdc638814c0 in g_main_context_iterate 
(context=context@entry=0x55dcdb440d50, block=block@entry=1, 
dispatch=dispatch@entry=1, self=) at 
../../../../glib/gmain.c:3903
#24 0x7fdc6388154c in g_main_context_iteration 
(context=context@entry=0x55dcdb440d50, may