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

crash in frame_gethints() - gdb trace included #37

Closed
GoogleCodeExporter opened this issue Jul 16, 2015 · 2 comments
Closed

crash in frame_gethints() - gdb trace included #37

GoogleCodeExporter opened this issue Jul 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using (wmii -v)? On what operating system?

wmii-hg2324 on Ubuntu 7.10

Please provide any additional information below.

$ gdb -c ~/core `which wmii` -ex 'bt full'
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Core was generated by `wmii'.
Program terminated with signal 11, Segmentation fault.
#0  0x08054fe9 in frame_gethints (f=0x809ca10) at frame.c:255
255     h = *c->w.hints;
#0  0x08054fe9 in frame_gethints (f=0x809ca10) at frame.c:255
    h = {min = {x = 25, y = 46}, max = {x = 2147483647, y = 2147483647}, base
= {x = 18, y = 27}, baspect = {x = 18, y = 27}, inc = {x = 10, y = 19},
grav = {x = 0, y = 0}, aspect = {
    min = {x = 0, y = 0}, max = {x = 0, y = 0}}, group = 0, gravstatic =
false, position = false}
    c = (Client *) 0x636f6c62
    d = {x = 2, y = 23}
    minh = 21
#1  0x080504c3 in foo (f=0x809ca10) at column.c:285
    h = {min = {x = 25, y = 46}, max = {x = 2147483647, y = 2147483647}, base
= {x = 18, y = 27}, baspect = {x = 18, y = 27}, inc = {x = 10, y = 19},
grav = {x = 0, y = 0}, aspect = {
    min = {x = 0, y = 0}, max = {x = 0, y = 0}}, group = 0, gravstatic =
false, position = false}
    maxh = 2147483647
#2  0x0805073f in column_squeeze (a=0x80a61b8) at column.c:337
    h = {min = {x = 502, y = 212}, max = {x = 10002, y = 212}, base = {x =
502, y = 212}, baspect = {x = 2, y = 23}, inc = {x = 1, y = 1}, grav = {x =
0, y = 0}, aspect = {min = {
      x = 0, y = 0}, max = {x = 0, y = 0}}, group = 0, gravstatic = false,
position = false}
    fp = (Frame **) 0x8092530
    f = (Frame *) 0x809ca10
    surplus = 865
    osurplus = 883
    dy = 17
    fvec = {ary = 0x8092528, n = 1, size = 8}
#3  0x080509ee in column_scale (a=0x80a61b8) at column.c:394
    f = (Frame *) 0x0
    dy = 21
    ncol = 4
    nuncol = 1
    colh = 21
    surplus = 1074
#4  0x08050b80 in column_arrange (a=0x80a61b8, dirty=false) at column.c:428
    f = (Frame *) 0x0
    v = (View *) 0x80a6040
#5  0x08056138 in frame_focus (f=0x809e860) at frame.c:580
    old_f = (Frame *) 0x80a4528
    v = (View *) 0x80a6040
    a = (Area *) 0x80a61b8
    old_a = (Area *) 0x80a61b8
#6  0x08063c22 in view_attach (v=0x80a6040, f=0x809e860) at view.c:314
    c = (Client *) 0x809e3a8
    ff = (Frame *) 0x0
    a = (Area *) 0x80a61b8
#7  0x0804f2b3 in client_setviews (c=0x809e3a8, tags=0x80920e0) at client.c:974
    fp = (Frame **) 0x809e3ac
    f = (Frame *) 0x809e860
    cmp = 0
#8  0x0804fa57 in apply_tags (c=0x809e3a8, tags=0x8092e90 "!") at client.c:1124
    i = 1
    j = 1
    k = 3085661775
    n = 2
    add = true
---Type <return> to continue, or q <return> to quit---
    buf =
"!\000x\000hú\214¿ùé\006\b(ü\214¿rQ\a\b\000\000\000\000\000\000\000\000\t\
000\000\000hú\214¿ÿÿÿÿ\001\000\000\000«µݷÓ\\ݷ\210ú\214¿
\000\000\000\\û\214¿S\\ݷ,ëõ·n{ë·\003\000\000\000\\û\214¿
\000\000\000\177vë·0á\a\b,ëõ·¨ú\214¿Ovë·0á\a\b\\û\214¿ 
\000\000\000,ëõ·
\000\000\000\\û\214¿Øú\214¿yëê·0á\a\b\\û\214¿ ", '\0' <repeats 11 
times>,
"àê\a\b\214ÆϷ,ëõ·\000\000\000\000¸ä\a\b\030û\214¿\004ö그ä\a\b\\û\
214¿ ",
'\0' <repeats 11 times>...
    last = 0 '\0'
    toks = {0x80a6044 "mail", 0x0, 0x10 <Address 0x10 out of bounds>, 0x1
<Address 0x1 out of bounds>, 0x7 <Address 0x7 out of bounds>, 0x280
<Address 0x280 out of bounds>, 0x0, 0x0, 
  0xb7dd5cd3 "[=\001ðÿÿs2Ãè/Ê\001", 0xbf8cf9d8 "\bú\214¿ ", 0x20 <Address
0x20 out of bounds>, 0xbf8cfaac "yëê·0á\a\b\\û\214¿ ", 0xb7dd5c53
"[=\001ðÿÿs2Ãè¯Ê\001", 0xb7f5eb2c "èØ\016", 
  0xb7eb7b6e "\203Ä\024[]Ã\215¶", 0x3 <Address 0x3 out of bounds>,
0xbf8cf9e8 "0003", 0xffffffff <Address 0xffffffff out of bounds>, 0x1
<Address 0x1 out of bounds>, 0xb7ddb5ab "\207û=", 
  0xb7dd5cd3 "[=\001ðÿÿs2Ãè/Ê\001", 0xbf8cfa08 "\001", 0x20 <Address 0x20
out of bounds>, 0xbf8cfadc "\004ö그ä\a\b\\û\214¿ ", 0x3063312e <Address
0x3063312e out of bounds>, 
  0x33303030 <Address 0x33303030 out of bounds>, 0xff0a0000 <Address
0xff0a0000 out of bounds>, 0x807c1ec "x", 0x2 <Address 0x2 out of bounds>,
0xbf8cfa28 "hú\214¿ùé\006\b(ü\214¿rQ\a\b", 
  0x80700d9 "\211Eø\203}ø", 0xbf8cfc28 "Xü\214¿Õú\004\b¨ã\t\b\220.\t\b"}
    p = (char **) 0x80920e0
    cur = 0x80a6044 "mail"
    s = 0x80aa9d8 "\030\023\n\b"
#9  0x0804fad5 in apply_rules (c=0x809e3a8) at client.c:1135
    r = (Rule *) 0x8092e88
#10 0x0804d09a in client_manage (c=0x809e3a8) at client.c:204
    trans = (Client *) 0x0
    f = (Frame *) 0x8000
    tags = 0x0
    newgroup = true
#11 0x0804cf23 in client_create (w=29360131, wa=0xbf8cfd68) at client.c:176
    t = (Client **) 0x80a0dc0
    c = (Client *) 0x809e3a8
    fwa = {background_pixmap = 0, background_pixel = 0, border_pixmap =
95885313, border_pixel = 0, bit_gravity = 421, win_gravity = 33096390,
backing_store = 12386804, 
  backing_planes = 6422528, backing_pixel = 0, save_under = -1078610792,
event_mask = 1605724, do_not_propagate_mask = 24184247, override_redirect =
1, colormap = 6292105, 
  cursor = 3085517648}
    p = {x = 2, y = 21}
    vis = (Visual *) 0x80837c0
    depth = 24
#12 0x080521c0 in maprequest (e=0xbf8cfe04) at event.c:318
    ev = (XMapRequestEvent *) 0xbf8cfe04
    wa = {x = 710, y = 505, width = 500, height = 189, border_width = 0, depth
= 24, visual = 0x80837c0, root = 421, class = 1, bit_gravity = 1,
win_gravity = 1, backing_store = 0, 
  backing_planes = 4294967295, backing_pixel = 0, save_under = 0, colormap
= 32, map_installed = 1, map_state = 0, all_event_masks = 6455347,
your_event_mask = 0, 
  do_not_propagate_mask = 0, override_redirect = 0, screen = 0x8083710}
#13 0x0805172f in dispatch_event (e=0xbf8cfe04) at event.c:14
No locals.
#14 0x0805237d in check_x_event (c=0x808db18) at event.c:393
    ev = {type = 20, xany = {type = 20, serial = 24184243, send_event = 0,
display = 0x807e4b8, window = 421}, xkey = {type = 20, serial = 24184243,
send_event = 0, 
    display = 0x807e4b8, window = 421, root = 29360131, subwindow = 0, time
= 256, x = 20, y = 0, x_root = 0, y_root = 0, state = 0, keycode = 0,
same_screen = 1}, xbutton = {type = 20, 
    serial = 24184243, send_event = 0, display = 0x807e4b8, window = 421,
root = 29360131, subwindow = 0, time = 256, x = 20, y = 0, x_root = 0,
y_root = 0, state = 0, button = 0, 
    same_screen = 1}, xmotion = {type = 20, serial = 24184243, send_event =
0, display = 0x807e4b8, window = 421, root = 29360131, subwindow = 0, time
= 256, x = 20, y = 0, x_root = 0, 
    y_root = 0, state = 0, is_hint = 0 '\0', same_screen = 1}, xcrossing =
{type = 20, serial = 24184243, send_event = 0, display = 0x807e4b8, window
= 421, root = 29360131, subwindow = 0, 
    time = 256, x = 20, y = 0, x_root = 0, y_root = 0, mode = 0, detail =
0, same_screen = 1, focus = 0, state = 0}, xfocus = {type = 20, serial =
24184243, send_event = 0, 
    display = 0x807e4b8, window = 421, mode = 29360131, detail = 0},
xexpose = {type = 20, serial = 24184243, send_event = 0, display =
0x807e4b8, window = 421, x = 29360131, y = 0, 
    width = 256, height = 20, count = 0}, xgraphicsexpose = {type = 20,
serial = 24184243, send_event = 0, display = 0x807e4b8, drawable = 421, x =
29360131, y = 0, width = 256, 
    height = 20, count = 0, major_code = 0, minor_code = 0}, xnoexpose =
{type = 20, serial = 24184243, send_event = 0, display = 0x807e4b8,
drawable = 421, major_code = 29360131, 
    minor_code = 0}, xvisibility = {type = 20, serial = 24184243,
send_event = 0, display = 0x807e4b8, window = 421, state = 29360131},
xcreatewindow = {type = 20, serial = 24184243, 
    send_event = 0, display = 0x807e4b8, parent = 421, window = 29360131, x
= 0, y = 256, width = 20, height = 0, border_width = 0, override_redirect =
0}, xdestroywindow = {type = 20, 
    serial = 24184243, send_event = 0, display = 0x807e4b8, event = 421,
window = 29360131}, xunmap = {type = 20, serial = 24184243, send_event = 0,
display = 0x807e4b8, event = 421, 
    window = 29360131, from_configure = 0}, xmap = {type = 20, serial =
24184243, send_event = 0, display = 0x807e4b8, event = 421, window =
29360131, override_redirect = 0}, 
  xmaprequest = {type = 20, serial = 24184243, send_event = 0, display =
0x807e4b8, parent = 421, window = 29360131}, xreparent = {type = 20, serial
= 24184243, send_event = 0, 
    display = 0x807e4b8, event = 421, window = 29360131, parent = 0, x =
256, y = 20, override_redirect = 0}, xconfigure = {type = 20, serial =
24184243, send_event = 0, 
    display = 0x807e4b8, event = 421, window = 29360131, x = 0, y = 256,
width = 20, height = 0, border_width = 0, above = 0, override_redirect =
0}, xgravity = {type = 20, 
    serial = 24184243, send_event = 0, display = 0x807e4b8, event = 421,
window = 29360131, x = 0, y = 256}, xresizerequest = {type = 20, serial =
24184243, send_event = 0, 
    display = 0x807e4b8, window = 421, width = 29360131, height = 0},
xconfigurerequest = {type = 20, serial = 24184243, send_event = 0, display
= 0x807e4b8, parent = 421, 
    window = 29360131, x = 0, y = 256, width = 20, height = 0, border_width
= 0, above = 0, detail = 0, value_mask = 0}, xcirculate = {type = 20,
serial = 24184243, send_event = 0, 
    display = 0x807e4b8, event = 421, window = 29360131, place = 0},
xcirculaterequest = {type = 20, serial = 24184243, send_event = 0, display
= 0x807e4b8, parent = 421, 
    window = 29360131, place = 0}, xproperty = {type = 20, serial =
24184243, send_event = 0, display = 0x807e4b8, window = 421, atom =
29360131, time = 0, state = 256}, xselectionclear = {
    type = 20, serial = 24184243, send_event = 0, display = 0x807e4b8,
window = 421, selection = 29360131, time = 0}, xselectionrequest = {type =
20, serial = 24184243, send_event = 0, 
---Type <return> to continue, or q <return> to quit---
    display = 0x807e4b8, owner = 421, requestor = 29360131, selection = 0,
target = 256, property = 20, time = 0}, xselection = {type = 20, serial =
24184243, send_event = 0, 
    display = 0x807e4b8, requestor = 421, selection = 29360131, target = 0,
property = 256, time = 20}, xcolormap = {type = 20, serial = 24184243,
send_event = 0, display = 0x807e4b8, 
    window = 421, colormap = 29360131, new = 0, state = 256}, xclient =
{type = 20, serial = 24184243, send_event = 0, display = 0x807e4b8, window
= 421, message_type = 29360131, 
    format = 0, data = {b = "\000\001\000\000\024", '\0' <repeats 14
times>, s = {256, 0, 20, 0, 0, 0, 0, 0, 0, 0}, l = {256, 20, 0, 0, 0}}},
xmapping = {type = 20, serial = 24184243, 
    send_event = 0, display = 0x807e4b8, window = 421, request = 29360131,
first_keycode = 0, count = 256}, xerror = {type = 20, display = 0x17105b3,
resourceid = 0, serial = 134735032, 
    error_code = 165 '¥', request_code = 1 '\001', minor_code = 0 '\0'},
xkeymap = {type = 20, serial = 24184243, send_event = 0, display =
0x807e4b8, window = 421, 
    key_vector = "\003\000À\001\000\000\000\000\000\001\000\000\024", '\0'
<repeats 18 times>}, pad = {20, 24184243, 0, 134735032, 421, 29360131, 0,
256, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 
    0, 0, 0, 0, 0}}
#15 0x0806ab09 in handle_conns (s=0x807c0a0) at server.c:113
    c = (IxpConn *) 0x808db18
    n = (IxpConn *) 0x808daf8
#16 0x0806ac3a in ixp_serverloop (s=0x807c0a0) at server.c:161
    tvp = (timeval *) 0x0
    tv = {tv_sec = 10, tv_usec = 0}
    timeout = 0
    r = 1
#17 0x0805be90 in main (argc=0, argv=0xbf8d0018) at main.c:408
    wmiirc = 0x8073cb5 "wmiistartrc"
    s = (WMScreen *) 0x808ffb8
    wa = {background_pixmap = 3086706280, background_pixel = 134520205,
border_pixmap = 4131212846, border_pixel = 0, bit_gravity = 0, win_gravity
= 0, backing_store = 0, 
  backing_planes = 0, backing_pixel = 0, save_under = 1, event_mask =
3670064, do_not_propagate_mask = -1210608546, override_redirect =
-1209939735, colormap = 134701332, cursor = 6291461}
    i = 1
    _argtmp = 0
    _inargv = 0
    _argv = 0x0
(gdb) 

Original issue reported on code.google.com by sun...@gmail.com on 26 May 2008 at 6:36

@GoogleCodeExporter
Copy link
Author

The crash is triggered when Thunderbird launches the (pinentry-gtk2) OpenPGP 
password
input dialog.  While this dialog is open, any attempts to start wmii 
immediately fail!

Original comment by sun...@gmail.com on 26 May 2008 at 6:41

@GoogleCodeExporter
Copy link
Author

I'm not sure if this is fixed. Please refile if it happens again.

Original comment by maglion...@gmail.com on 14 Nov 2008 at 8:43

  • Changed state: WontFix

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

No branches or pull requests

1 participant