Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on start with auto updates enabled #2148

Open
leolost2605 opened this issue May 30, 2024 · 0 comments
Open

Segfault on start with auto updates enabled #2148

leolost2605 opened this issue May 30, 2024 · 0 comments

Comments

@leolost2605
Copy link
Member

leolost2605 commented May 30, 2024

What Happened?

Window shows, spinner does a bit of spinning and before the carousel and the featured apps load we get a segfault.

Steps to Reproduce

  1. Install without packagekit and drivers backend
  2. Have automatic updates enabled (by default on latest install)
  3. open it

Expected Behavior

Dont crash

OS Version

8.x (Early Access)

Software Version

Compiled from git

Log Output

A kinda strange bt tbh. Another one I got that had the same symptoms ended with gtk_widget_is_ancestor

#0  default_break.isra.0 (text=0xffffffffca9d4460 <error: Cannot access memory at address 0xffffffffca9d4460>, length=23, attrs=attrs@entry=0x64e4c729edf0,     
    attrs_len=<optimized out>, analysis=<optimized out>) at ../pango/break.c:272
272	  if (length == 0 || *text == '\0')
[Current thread is 1 (Thread 0x7febe5d19240 (LWP 30911))]
(gdb) bt
#0  default_break.isra.0
    (text=0xffffffffca9d4460 <error: Cannot access memory at address 0xffffffffca9d4460>, length=23, attrs=attrs@entry=0x64e4c729edf0, attrs_len=<optimized out>, analysis=<optimized out>) at ../pango/break.c:272
#1  0x00007febe98a1010 in pango_default_break
    (text=<optimized out>, length=<optimized out>, analysis=<optimized out>, attrs=0x64e4c729edf0, attrs_len=<optimized out>) at ../pango/break.c:2192
#2  0x00007febe98bff5c in get_items_log_attrs
    (log_attrs_len=1, log_attrs=0x64e4c729edf0, attrs=<optimized out>, items=0x64e4c879a4c0 = {...}, length=23, start=-895663011, text=<optimized out>)
    at ../pango/pango-layout.c:4606
#3  pango_layout_check_lines.part.0.lto_priv.0 (layout=<optimized out>) at ../pango/pango-layout.c:4912
#4  0x00007febe98b224a in pango_layout_check_lines (layout=0x64e4c8657110) at ../pango/pango-layout.c:4792
#5  pango_layout_is_wrapped (layout=0x64e4c8657110) at ../pango/pango-layout.c:540
#6  0x00007febea78bd31 in gtk_label_get_measuring_layout.part.0.lto_priv.0 (self=0x64e4c63799b0, width=-1, existing_layout=<optimized out>)
    at ../../../gtk/gtklabel.c:1031
#7  0x00007febea77e152 in gtk_label_get_measuring_layout (width=<optimized out>, existing_layout=0x0, self=0x64e4c63799b0) at ../../../gtk/gtklabel.c:996
#8  get_static_size
    (natural_baseline=0x7ffd03c59c68, minimum_baseline=0x7ffd03c59c6c, natural=0x7ffd03c59c70, minimum=0x7ffd03c59c74, orientation=GTK_ORIENTATION_VERTICAL, self=0x64e4c63799b0) at ../../../gtk/gtklabel.c:1114
#9  gtk_label_measure
    (widget=0x64e4c63799b0, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7ffd03c59c74, natural=0x7ffd03c59c70, minimum_baseline=0x7ffd03c59c6c, natural_baseline=0x7ffd03c59c68) at ../../../gtk/gtklabel.c:1307
#10 0x00007febea81b74e in gtk_widget_query_size_for_orientation
    (widget=0x64e4c63799b0, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7ffd03c59d58, natural=0x7ffd03c59d5c, minimum_baseline=0x7ffd03c59d60, natural_baseline=0x7ffd03c59d64) at ../../../gtk/gtksizerequest.c:260
#11 0x00007febea6eac33 in gtk_box_layout_compute_opposite_size
    (nat_baseline=0x7ffd03c59de8, min_baseline=0x7ffd03c59dec, natural=0x7ffd03c59df0, minimum=<optimized out>, widget=<optimized out>, self=0x64e4cc42f3c0)
    at ../../../gtk/gtkboxlayout.c:340
#12 gtk_box_layout_measure
    (layout_manager=0x64e4cc42f3c0, widget=<optimized out>, orientation=<optimized out>, for_size=<optimized out>, minimum=<optimized out>, natural=0x7ffd03c59df0, min_baseline=0x7ffd03c59dec, nat_baseline=0x7ffd03c59de8) at ../../../gtk/gtkboxlayout.c:741
#13 0x00007febea787a90 in gtk_layout_manager_measure
    (manager=0x64e4cc42f3c0, widget=0x64e4c6fe6770, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7ffd03c59ec4, natural=0x7ffd03c59ec0, minimum_baseline=0x7ffd03c59ebc, natural_baseline=0x7ffd03c59eb8) at ../../../gtk/gtklayoutmanager.c:341
#14 0x00007febea81b86a in gtk_widget_query_size_for_orientation
    (widget=0x64e4c6fe6770, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7ffd03c59f64, natural=0x7ffd03c59f60, minimum_baseline=0x7ffd03c59f5c, natural_baseline=0x7ffd03c59f58) at ../../../gtk/gtksizerequest.c:216
#15 0x00007febea6e1e67 in gtk_bin_layout_measure
    (layout_manager=<optimized out>, widget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7ffd03c59ff4, natural=0x7ffd03c59ff0, minimum_baseline=0x7ffd03c59fec, natural_baseline=0x7ffd03c59fe8) at ../../../gtk/gtkbinlayout.c:66
#16 0x00007febea787a90 in gtk_layout_manager_measure
    (manager=0x64e4cc411250, widget=0x64e4c69cc3e0, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7ffd03c5a0c4, natural=0x7ffd03c5a0c0, minimum_baseline=0x7ffd03c5a0bc, natural_baseline=0x7ffd03c5a0b8) at ../../../gtk/gtklayoutmanager.c:341
#17 0x00007febea81b86a in gtk_widget_query_size_for_orientation
    (widget=widget@entry=0x64e4c69cc3e0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7ffd03c5a144, 
    minimum@entry=0x7ffd03c5a140, natural=0x7ffd03c5a140, natural@entry=0x0, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=0x0)
--Type <RET> for more, q to quit, c to continue without paging--c
    at ../../../gtk/gtksizerequest.c:216
#18 0x00007febea81a7dd in gtk_widget_measure
    (widget=widget@entry=0x64e4c69cc3e0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=-1, minimum=0x7ffd03c5a140, natural=0x0, 
    natural@entry=0x7ffd03c5a140, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=<optimized out>) at ../../../gtk/gtksizerequest.c:518
#19 0x00007febea81bf57 in gtk_widget_get_preferred_size (widget=0x64e4c69cc3e0, minimum_size=0x7ffd03c5a190, natural_size=0x7ffd03c5a188)
    at ../../../gtk/gtksizerequest.c:644
#20 0x00007febea7c80ed in gtk_overlay_get_child_position (overlay=0x64e4c8337460, widget=widget@entry=0x64e4c69cc3e0, alloc=alloc@entry=0x7ffd03c5a5c0)
    at ../../../gtk/gtkoverlay.c:134
#24 0x00007febeb417a98 in <emit signal '0x7febeabb9170 "get-child-position"' on instance ???>
    (instance=instance@entry=0x64e4c8337460, detailed_signal=detailed_signal@entry=0x7febeabb9170 "get-child-position") at ../../../gobject/gsignal.c:3624
    #21 0x00007febea6bf184 in _gtk_marshal_BOOLEAN__OBJECT_BOXEDv
    (closure=0x64e4c63e7610, return_value=0x7ffd03c5a390, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x64e4c64ed8b0) at gtk/gtkmarshalers.c:1264
    #22 0x00007febeb4176bd in _g_closure_invoke_va
    (param_types=0x64e4c64ed8b0, n_params=<optimized out>, args=0x7ffd03c5a450, instance=0x64e4c8337460, return_value=0x7ffd03c5a390, closure=0x64e4c63e7610)
    at ../../../gobject/gclosure.c:897
    #23 signal_emit_valist_unlocked
    (instance=instance@entry=0x64e4c8337460, signal_id=signal_id@entry=138, detail=<optimized out>, var_args=var_args@entry=0x7ffd03c5a450)
    at ../../../gobject/gsignal.c:3424
#25 0x00007febea7c9bb1 in gtk_overlay_compute_child_allocation
    (child=<optimized out>, widget_allocation=0x7ffd03c5a5b0, widget=0x64e4c69cc3e0, overlay=0x64e4c8337460) at ../../../gtk/gtkoverlaylayout.c:298
#26 gtk_overlay_child_allocate (child=<optimized out>, widget=0x64e4c69cc3e0, overlay=<optimized out>) at ../../../gtk/gtkoverlaylayout.c:401
#27 gtk_overlay_layout_allocate (layout_manager=0x64e4c9a89e90, widget=0x64e4c8337460, width=<optimized out>, height=<optimized out>, baseline=<optimized out>)
    at ../../../gtk/gtkoverlaylayout.c:432
#28 0x00007febea895f11 in gtk_widget_allocate (widget=<optimized out>, width=<optimized out>, height=<optimized out>, baseline=<optimized out>, transform=0x0)
    at ../../../gtk/gtkwidget.c:4096
#29 0x00007febea6e9622 in gtk_box_layout_allocate
    (layout_manager=0x64e4cbc99660, widget=<optimized out>, width=<optimized out>, height=<optimized out>, baseline=<optimized out>)
    at ../../../gtk/gtkboxlayout.c:990
#30 0x00007febea895f11 in gtk_widget_allocate
    (widget=<optimized out>, width=<optimized out>, height=<optimized out>, baseline=<optimized out>, transform=0x64e4c9451a50)
    at ../../../gtk/gtkwidget.c:4096
#31 0x00007febea8a6930 in gtk_window_size_allocate (widget=0x64e4c66ceb80, width=<optimized out>, height=<optimized out>, baseline=<optimized out>)
    at ../../../gtk/gtkwindow.c:4608
#32 0x00007febea8961a7 in gtk_widget_allocate (widget=<optimized out>, width=<optimized out>, height=<optimized out>, baseline=<optimized out>, transform=0x0)
    at ../../../gtk/gtkwidget.c:4103
#33 0x00007febea8a2308 in gtk_window_native_layout (native=0x64e4c66ceb80, width=<optimized out>, height=<optimized out>) at ../../../gtk/gtkwindow.c:2172
#34 0x00007febea7f3096 in gtk_native_layout (height=742, width=1178, self=0x64e4c66ceb80) at ../../../gtk/gtknative.c:111
#35 surface_layout_cb (surface=<optimized out>, width=1178, height=742, native=0x64e4c66ceb80) at ../../../gtk/gtknative.c:120
#40 0x00007febeb417883 in <emit signal '???' on instance ???> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at ../../../gobject/gsignal.c:3583
    #36 0x00007febea6bdd30 in _gtk_marshal_VOID__ENUM_INTv
    (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x64e4c9705090) at gtk/gtkmarshalers.c:3419
    #37 0x00007febeb4176bd in _g_closure_invoke_va
    (param_types=0x64e4c9705090, n_params=<optimized out>, args=0x7ffd03c5ad30, instance=0x64e4c721bec0, return_value=0x0, closure=0x64e4c8044c40)
    at ../../../gobject/gclosure.c:897
    #38 signal_emit_valist_unlocked
    (instance=instance@entry=0x64e4c721bec0, signal_id=signal_id@entry=246, detail=detail@entry=0, var_args=var_args@entry=0x7ffd03c5ad30)
    at ../../../gobject/gsignal.c:3424
    #39 0x00007febeb4177c1 in g_signal_emit_valist (instance=0x64e4c721bec0, signal_id=246, detail=0, var_args=var_args@entry=0x7ffd03c5ad30)
    at ../../../gobject/gsignal.c:3263
#44 0x00007febeb417883 in <emit signal '???' on instance ???> (instance=instance@entry=0x64e4ca291230, signal_id=<optimized out>, detail=detail@entry=0)
    at ../../../gobject/gsignal.c:3583
    #41 0x00007febeb4176bd in _g_closure_invoke_va
    (param_types=0x0, n_params=<optimized out>, args=0x7ffd03c5b040, instance=0x64e4ca291230, return_value=0x0, closure=0x64e4cca5d060)
    at ../../../gobject/gclosure.c:897
    #42 signal_emit_valist_unlocked
    (instance=instance@entry=0x64e4ca291230, signal_id=signal_id@entry=255, detail=detail@entry=0, var_args=var_args@entry=0x7ffd03c5b040)
    at ../../../gobject/gsignal.c:3424
    #43 0x00007febeb4177c1 in g_signal_emit_valist (instance=0x64e4ca291230, signal_id=255, detail=0, var_args=var_args@entry=0x7ffd03c5b040)
    at ../../../gobject/gsignal.c:3263
#45 0x00007febeaa7475b in _gdk_frame_clock_emit_layout (frame_clock=0x64e4ca291230) at ../../../gdk/gdkframeclock.c:724
#46 gdk_frame_clock_paint_idle (data=0x64e4ca291230) at ../../../gdk/gdkframeclockidle.c:617
#47 0x00007febeb4a3522 in g_timeout_dispatch (source=source@entry=0x64e4ca2cfe70, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4989
#48 0x00007febeb4a248e in g_main_dispatch (context=0x64e4c62aaeb0) at ../../../glib/gmain.c:3344
#49 0x00007febeb501717 in g_main_context_dispatch_unlocked (context=0x64e4c62aaeb0) at ../../../glib/gmain.c:4152
#50 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x64e4c62aaeb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4217
#51 0x00007febeb4a1a53 in g_main_context_iteration (context=context@entry=0x64e4c62aaeb0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4282
#52 0x00007febeb2f988d in g_application_run (application=0x64e4c62b67c0, argc=<optimized out>, argv=0x7ffd03c5b4c8) at ../../../gio/gapplication.c:2712
#53 0x000064e4c41fc391 in _vala_main (args=0x7ffd03c5b4c8, args_length1=1) at ../src/Application.vala:438
#54 0x000064e4c41fc3d8 in main (argc=1, argv=0x7ffd03c5b4c8) at ../src/Application.vala:436

Hardware Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant