Synaptic crashes
After I select any package with dependencies for installation and click Apply, Synaptic package manager crashes. Here is full backtrace:
#0 0x00007ffff381adcc in _IO_vfprintf_internal (s=s@entry=0x7fffffffc250, format=<optimized out>,
format@entry=0x7ffff7fa2b13 "%d %s ble holdt tilbake og ikke oppgradert;\
", ap=ap@entry=0x7fffffffc3d0)
at vfprintf.c:1642
#1 0x00007ffff38c84b5 in __GI___vasprintf_chk (result_ptr=result_ptr@entry=0x7fffffffc3a0, flags=flags@entry=1,
format=0x7ffff7fa2b13 "%d %s ble holdt tilbake og ikke oppgradert;\
", args=args@entry=0x7fffffffc3d0)
at vasprintf_chk.c:66
#2 0x00007ffff53903fc in vasprintf (__ap=0x7fffffffc3d0, __fmt=<optimized out>, __ptr=0x7fffffffc3a0)
at /usr/include/x86_64-linux-gnu/bits/stdio2.h:210
#3 g_vasprintf (string=string@entry=0x7fffffffc3a0, format=<optimized out>, args=args@entry=0x7fffffffc3d0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gprintf.c:316
#4 0x00007ffff536ea2d in g_string_append_vprintf (string=0x872380, format=<optimized out>, args=args@entry=0x7fffffffc3d0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gstring.c:1160
#5 0x00007ffff536ec64 in g_string_append_printf (string=<optimized out>, format=<optimized out>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gstring.c:1264
#6 0x000000000044a148 in ?? ()
#7 0x000000000043cc26 in ?? ()
#8 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x986530, return_value=0x7ffffffc,
return_value@entry=0x0, instance=0x20, instance@entry=0x9897c0, args=0xffffffffffffffff, args@entry=0x7fffffffccc8,
n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#9 0x00007ffff563c087 in g_signal_emit_valist (instance=0x9897c0, signal_id=<optimized out>, detail=0,
var_args=0x7fffffffccc8) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#10 0x00007ffff563cf2a in g_signal_emit_by_name (instance=0x26,
detailed_signal=0x7ffffffc <error: Cannot access memory at address 0x7ffffffc>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3405
#11 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x9a1050, return_value=0x7ffffffc,
return_value@entry=0x0, instance=0x20, instance@entry=0x967dc0, args=0xffffffffffffffff, args@entry=0x7fffffffcfe0,
n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#12 0x00007ffff563c087 in g_signal_emit_valist (instance=0x967dc0, signal_id=<optimized out>, detail=0,
var_args=var_args@entry=0x7fffffffcfe0) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#13 0x00007ffff563c9df in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3365
#14 0x00007ffff6d68a3d in gtk_button_do_release (button=0x967dc0, emit_clicked=<optimized out>)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkbutton.c:1890
#15 0x00007ffff6d68a95 in gtk_real_button_released (button=0x967dc0) at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkbutton.c:2008
#16 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x9915c0, return_value=0x7ffffffc,
return_value@entry=0x0, instance=0x20, instance@entry=0x967dc0, args=0xffffffffffffffff, args@entry=0x7fffffffd300,
n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#17 0x00007ffff563c087 in g_signal_emit_valist (instance=0x967dc0, signal_id=<optimized out>, detail=0,
var_args=var_args@entry=0x7fffffffd300) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#18 0x00007ffff563c9df in g_signal_emit (instance=instance@entry=0x967dc0, signal_id=<optimized out>, detail=detail@entry=0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3365
#19 0x00007ffff6d66a20 in multipress_released_cb (gesture=0x981f60, n_press=<optimized out>, x=<optimized out>,
y=<optimized out>, widget=0x967dc0) at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkbutton.c:611
#20 0x00007fffef67fdc0 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#21 0x00007fffef67f828 in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#22 0x00007ffff5622ebc in g_cclosure_marshal_generic_va (closure=0x9a0fb0, return_value=0x0, instance=0x981f60,
args_list=<optimized out>, marshal_data=0x0, n_params=3, param_types=0x80df80)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:1541
#23 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x9a0fb0, return_value=0x7ffffffc,
return_value@entry=0x0, instance=0x20, instance@entry=0x981f60, args=0xffffffffffffffff, args@entry=0x7fffffffd8d0,
n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#24 0x00007ffff563c087 in g_signal_emit_valist (instance=0x981f60, signal_id=<optimized out>, detail=0,
var_args=var_args@entry=0x7fffffffd8d0) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#25 0x00007ffff563c9df in g_signal_emit (instance=instance@entry=0x981f60, signal_id=<optimized out>, detail=detail@entry=0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3365
#26 0x00007ffff6e0b1c1 in gtk_gesture_multi_press_end (gesture=0x981f60, sequence=<optimized out>)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkgesturemultipress.c:273
#27 0x00007ffff5625233 in g_cclosure_marshal_VOID__BOXEDv (closure=0x81ccd0, return_value=<optimized out>,
instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>,
param_types=0x772e50) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gmarshal.c:1160
#28 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x81ccd0, return_value=0x7ffffffc,
return_value@entry=0x0, instance=0x20, instance@entry=0x981f60, args=0xffffffffffffffff, args@entry=0x7fffffffdc30,
n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#29 0x00007ffff563c087 in g_signal_emit_valist (instance=0x981f60, signal_id=<optimized out>, detail=0,
var_args=var_args@entry=0x7fffffffdc30) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#30 0x00007ffff563c9df in g_signal_emit (instance=instance@entry=0x981f60, signal_id=<optimized out>, detail=detail@entry=0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3365
#31 0x00007ffff6e0897e in _gtk_gesture_set_recognized (sequence=0x0, recognized=0, gesture=0x981f60)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkgesture.c:275
#32 _gtk_gesture_check_recognized (gesture=gesture@entry=0x981f60, sequence=sequence@entry=0x0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkgesture.c:315
#33 0x00007ffff6e09dcb in gtk_gesture_handle_event (controller=0x981f60, event=0x95a3a0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkgesture.c:624
#34 0x00007ffff6e0c610 in gtk_gesture_single_handle_event (controller=0x981f60, event=0x95a3a0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkgesturesingle.c:218
#35 0x00007ffff6ddfebb in gtk_event_controller_handle_event (controller=0x981f60, event=event@entry=0x95a3a0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkeventcontroller.c:214
#36 0x00007ffff6f7b46d in _gtk_widget_run_controllers (widget=0x967dc0, event=0x95a3a0, phase=GTK_PHASE_BUBBLE)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkwidget.c:7428
#37 0x00007ffff6e4e44e in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x6dc610, return_value=0x7fffffffdf40,
instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>,
param_types=0x6dc640) at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkmarshalers.c:130
#38 0x00007ffff5622474 in _g_closure_invoke_va (closure=0x26, closure@entry=0x6dc610, return_value=0x7ffffffc,
return_value@entry=0x7fffffffdf40, instance=0x20, instance@entry=0x967dc0, args=0xffffffffffffffff,
args@entry=0x7fffffffe040, n_params=38, param_types=0x7ffff381b99a <_IO_vfprintf_internal+22490>)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gclosure.c:831
#39 0x00007ffff563bb30 in g_signal_emit_valist (instance=0x967dc0, signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args@entry=0x7fffffffe040) at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3218
#40 0x00007ffff563c9df in g_signal_emit (instance=instance@entry=0x967dc0, signal_id=<optimized out>, detail=detail@entry=0)
at /build/glib2.0-y6934K/glib2.0-2.42.1/./gobject/gsignal.c:3365
#41 0x00007ffff6f7ee34 in gtk_widget_event_internal (widget=0x967dc0, event=0x95a3a0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkwidget.c:7773
#42 0x00007ffff6e4bd5e in propagate_event_up (topmost=<optimized out>, event=<optimized out>, widget=0x967dc0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkmain.c:2424
#43 propagate_event (widget=<optimized out>, event=0x95a3a0, captured=<optimized out>, topmost=0x0)
at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkmain.c:2526
#44 0x00007ffff6e4d96e in gtk_main_do_event (event=0x95a3a0) at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkmain.c:1748
#45 0x00007ffff69f5b72 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>,
user_data=<optimized out>) at /tmp/buildd/gtk+3.0-3.14.5/./gdk/x11/gdkeventsource.c:364
#46 0x00007ffff534cc5d in g_main_dispatch (context=0x708c10) at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gmain.c:3111
#47 g_main_context_dispatch (context=context@entry=0x708c10) at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gmain.c:3710
#48 0x00007ffff534cf48 in g_main_context_iterate (context=0x708c10, block=block@entry=1, dispatch=dispatch@entry=1,
self=<optimized out>) at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gmain.c:3781
#49 0x00007ffff534d272 in g_main_loop_run (loop=0xb830f0) at /build/glib2.0-y6934K/glib2.0-2.42.1/./glib/gmain.c:3975
#50 0x00007ffff6e4cc25 in gtk_main () at /tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkmain.c:1207
#51 0x00000000004161f6 in ?? ()
#52 0x00007ffff37f1b45 in __libc_start_main (main=0x4155b0, argc=1, argv=0x7fffffffe7d8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe7c8) at libc-start.c:287
#53 0x00000000004185ff in ?? ()
-
Looks like the Norwegian translation added a
%s
format specifier to the message.
This is confusingprintf
because it expects a string on the stack, and Synaptic isn't providing one.blinkdog@jessie-beta2 ~/git.do/issue-85/synaptic-0.81.2 $ fgrep -C 3 -R "holdt tilbake og ikke oppgradert" po/nb.po-#, c-format po/nb.po-msgid "%d package will be held back and not upgraded\ " po/nb.po-msgid_plural "%d packages will be held back and not upgraded\ " po/nb.po:msgstr[0] "%d pakke vil bli holdt tilbake og ikke oppgradert\ " po/nb.po:msgstr[1] "%d pakker vil bli holdt tilbake og ikke oppgradert\ " po/nb.po- po/nb.po-#: ../gtk/rgsummarywindow.cc:412 po/nb.po-#, c-format -- po/no.po-#, c-format po/no.po-msgid "%d package will be held back and not upgraded\ " po/no.po-msgid_plural "%d packages will be held back and not upgraded\ " po/no.po:msgstr[0] "%d %s ble holdt tilbake og ikke oppgradert;\ " po/no.po:msgstr[1] "%d %s ble holdt tilbake og ikke oppgradert;\ " po/no.po- po/no.po-#: ../gtk/rgsummarywindow.cc:412 po/no.po-#, c-format
-
Looks like there may be some other issues with the
no.po
translation file as well:#: ../common/indexcopy.cc:128 msgid "Failed to reopen fd" msgstr "Kunne ikke \xc3\xa5pne %s."
#: ../gtk/rgmainwindow.cc:1937 #, c-format msgid "" "%i packages listed, %i installed, %i broken. %i to install/upgrade, %i to " "remove; %s will be freed" msgstr "" "%i pakker, %i installert, %i \xc3\xb8delagt. %i skal installeres/oppgraderes, %i " "skal fjernes ; %sB vil bli %s"
#: ../gtk/rgsummarywindow.cc:262 #, c-format msgid "<b>%s</b> will be removed with configuration\ " msgstr "%d %s vil bli fjernet;\ "
#: ../gtk/rgsummarywindow.cc:290 #, c-format msgid "<b>%s</b> (version <i>%s</i>) will be installed\ " msgstr "%d %s vil bli installert;\ "
#: ../gtk/rgsummarywindow.cc:405 #, c-format msgid "%d package will be held back and not upgraded\ " msgid_plural "%d packages will be held back and not upgraded\ " msgstr[0] "%d %s ble holdt tilbake og ikke oppgradert;\ " msgstr[1] "%d %s ble holdt tilbake og ikke oppgradert;\ "
-
As far as I know we don't build synaptic, so the best thing to do is report the bug to debian.