[openbox] Is this crash fixed already?

Andrej N. Gritsenko andrej at rep.kiev.ua
Sat Aug 17 06:15:34 EDT 2013


    Hello!

>    I can often get a crash when I'm trying to move app to other desktop
>or some other operation from lxpanel. It may be lxpanel fault, of course,
>but shouldn't Openbox have some protection against this? Or is it fixed
>already? My version in use is 3.5.0.

>Core was generated by `/usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX'.
>Program terminated with signal 11, Segmentation fault.
>#0  screen_monitor_active () at openbox/screen.c:1683
>1683            return client_monitor(focus_client);
>(gdb) bt full
>#0  screen_monitor_active () at openbox/screen.c:1683
>No locals.
>#1  screen_monitor_active () at openbox/screen.c:1678
>No locals.
>#2  0x0808a74d in screen_monitor_primary (fixed=<optimized out>) at openbox/screen.c:1704
>No locals.
>#3  screen_monitor_primary (fixed=0) at openbox/screen.c:1693
>No locals.
>#4  0x0808ad1c in screen_find_monitor (search=0x8486248) at openbox/screen.c:1656
>        i = <optimized out>
>        most = 1
>        mostv = <optimized out>
>[.......]
>(gdb) p focus_client
>$1 = (struct _ObClient *) 0x8485230

Oh, may be you want this too:

(gdb) p *focus_client
$1 = {obwin = {type = OB_WINDOW_CLASS_CLIENT}, window = 10485872, managed = 1, prompt = 0x0,
  frame = 0x8486220, ignore_unmaps = 0, group = 0x8532228, session = 0x0, transient = 0,
  transient_for_group = 0, parents = 0x0, transients = 0x0, desktop = 4294967295,
  startup_id = 0x0, title = 0x8464eb8 "panel", icon_title = 0x8464ea8 "panel",
  original_title = 0x83ed498 "panel", client_machine = 0x0, wm_command = 0x85783e8 "lxpanel",
  pid = 24772, name = 0x83ed438 "panel", class = 0x83e3980 "lxpanel", role = 0x8588518 "",
  sm_client_id = 0x0, type = OB_CLIENT_TYPE_NORMAL, area = {x = 0, y = 1080, width = 1920,
    height = 2}, root_pos = {x = 0, y = 1080}, pre_max_area = {x = 0, y = 0, width = 0,
    height = 0}, pre_fullscreen_area = {x = 0, y = 0, width = 0, height = 0},
  pre_fullscreen_max_horz = 0, pre_fullscreen_max_vert = 0, strut = {left = 0, top = 0, right = 0,
    bottom = 0, left_start = 0, left_end = 0, top_start = 0, top_end = 0, right_start = 0,
    right_end = 0, bottom_start = 0, bottom_end = 0}, logical_size = {width = 1920, height = 2},
  border_width = 0, min_ratio = 0, max_ratio = 0, min_size = {width = 1920, height = 2},
  max_size = {width = 1920, height = 2}, size_inc = {width = 1, height = 1}, base_size = {
    width = -1, height = -1}, mwmhints = {flags = 2, functions = 0, decorations = 0},
  colormap = 32, gravity = 1, wmstate = 1, delete_window = 1, positioned = 0, sized = 0,
  can_focus = 1, focus_notify = 1, ping = 1, not_responding = 0, kill_prompt = 0x0,
  kill_level = 0, sync_request = 1, sync_counter = 10485874, sync_counter_value = 0, shaped = 0,
  shaped_input = 0, modal = 0, shaded = 0, iconic = 0, max_vert = 0, max_horz = 0, skip_pager = 1,
  skip_taskbar = 1, fullscreen = 0, above = 1, below = 0, demands_attention = 0, urgent = 0,
  layer = OB_STACKING_LAYER_ABOVE, decorations = 0, undecorated = 0, functions = 998,
  icon_set = 0x8415330, icon_geometry = {x = 0, y = 0, width = 0, height = 0}, visited = 1}

    Cheers!
    Andriy.


More information about the openbox mailing list