THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Nate Eldredge (nate)
Attached to Project - awesome
Summary - Assertion fail in image_unref with gimp
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - Operating System - FreeBSD
Severity - High
Priority - Normal
Reported Version - 3.3
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

I have a crash (assertion fail) when using gimp.  I have "gimp" in floatapps.  
I am not sure precisely how to reproduce it other than randomly opening and closing a 
bunch of windows, but here is a trace.

(gdb) where
#0  0x0000000802b597ec in kill () from /lib/libc.so.7
#1  0x0000000802b5861b in abort () from /lib/libc.so.7
#2  0x0000000802b40eb5 in __assert () from /lib/libc.so.7
#3  0x000000000040d9fb in image_unref (L=0x803d0b400, item=0x8040e71c8)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/image.h:44
#4  0x000000000040d850 in luaA_client_gc (L=0x803d0b400)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/client.c:56
#5  0x00000008028481f2 in ?? () from /usr/local/lib/liblua-5.1.so.1
#6  0x00000008028485fd in ?? () from /usr/local/lib/liblua-5.1.so.1
#7  0x0000000802849d11 in ?? () from /usr/local/lib/liblua-5.1.so.1
#8  0x0000000802849dc8 in ?? () from /usr/local/lib/liblua-5.1.so.1
#9  0x000000080284a1cb in ?? () from /usr/local/lib/liblua-5.1.so.1
#10 0x0000000802852104 in ?? () from /usr/local/lib/liblua-5.1.so.1
#11 0x000000080284864d in ?? () from /usr/local/lib/liblua-5.1.so.1
#12 0x0000000802847d97 in ?? () from /usr/local/lib/liblua-5.1.so.1
#13 0x0000000802847e15 in ?? () from /usr/local/lib/liblua-5.1.so.1
#14 0x0000000802843de5 in lua_pcall () from /usr/local/lib/liblua-5.1.so.1
#15 0x00000000004207c0 in luaA_dofunction (L=0x803d0b400, f=1, nargs=1, nret=0) at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/luaa.h:261
#16 0x00000000004205a3 in arrange (screen=0x803d33000)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/layout.c:79
#17 0x0000000000420871 in layout_refresh ()
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/layout.c:99
#18 0x000000000040cac9 in awesome_refresh ()
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/event.h:32
#19 0x000000000040cabd in a_xcb_check_cb (loop=0x80283b480, w=0x7fffffffe9a0, revents=32768)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/awesome.c:214
#20 0x00000008027378ea in ev_loop () from /usr/local/lib/libev.so.3
#21 0x000000000040d4ee in main (argc=1, argv=0x7fffffffeac0)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/awesome.c:537
(gdb) up
#1  0x0000000802b5861b in abort () from /lib/libc.so.7
(gdb) up
#2  0x0000000802b40eb5 in __assert () from /lib/libc.so.7
(gdb) up
#3  0x000000000040d9fb in image_unref (L=0x803d0b400, item=0x8040e71c8)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/image.h:44
(gdb) list
44      LUA_OBJECT_FUNCS(image_t, image, "image")
39          int height;
40          /** Image data */
41          uint8_t *data;
42      } image_t;
43      
44      LUA_OBJECT_FUNCS(image_t, image, "image")
45      
46      int image_new_from_argb32(int, int, uint32_t *);
47      
48      #endif
(gdb) p item
$8 = (image_t *) 0x8040e71c8
(gdb) p *item
$9 = {refs = {tab = 0x0, len = 0, size = 24}, image = 0x803df8cf0, width = 15, height = 32, data = 0x0}
(gdb) up
#4  0x000000000040d850 in luaA_client_gc (L=0x803d0b400)
   at /home/nate/bugs/awesome2/awesome/work/awesome-3.3/client.c:56
56          image_unref(L, c->icon);
(gdb) p *c
$10 = {refs = {tab = 0x0, len = 0, size = 24}, invalid = true, name = 0x803dccb50 "wetsuit.jpg-3.0 (RGB, 1 layer) 235x500 â\200\223 GIMP", icon_name = 0x803d7bd00 "wetsuit.jpg-3.0 (RGB, 1 layer) 235x500 â\200\223 GIMP", class = 0x803d2cb20 "Gimp", instance = 0x803d2cb18 "gimp", startup_id = 0x0, geometry = {x = 374, y = 398, width = 522, height = 593}, geometries = {fullscreen = {x = 0, y = 0, width = 0, height = 0}, max = { x = 0, y = 0, width = 0, height = 0}, internal = {x = 374, y = 398, width = 520, height = 591}}, strut = {left = 0, right = 0, top = 0, bottom = 0, left_start_y = 0, left_end_y = 0, right_start_y = 0, right_end_y = 0, top_start_x = 0, top_end_x = 0, bottom_start_x = 0, bottom_end_x = 0}, border = 1, border_fs = 0, border_color = {pixel = 0, red = 0, green = 0, blue = 0, alpha = 65535, initialized = true}, issticky = false, isurgent = false, ishidden = false, isminimized = false, isfullscreen = false, ismaxhoriz = false, ismaxvert = false, isabove = false, isbelow = false, ismodal = false, isontop = false, isbanned = false, skiptb = false, nofocus = false, type = WINDOW_TYPE_NORMAL, win = 25165942, group_win = 25165825, leader_win = 25165825, screen = 0x803d33000, phys_screen = 0, titlebar = 0x0, buttons = {tab = 0x0, len = 12, size = 24}, keys = { tab = 0x803da6ba0, len = 32, size = 60}, icon = 0x8040e71c8, size_hints = {flags = 533, x = 0, y = 0, width = 0, height = 0, min_width = 208, min_height = 77, max_width = 0, max_height = 0, width_inc = 0, height_inc = 0, min_aspect_num = 0, min_aspect_den = 0, max_aspect_num = 0, max_aspect_den = 0, base_width = 0, base_height = 0, win_gravity = 1}, size_hints_honor = true, transient_for = 0x0}

(Note: since gdb's `logging on' command only records the output of the 
commands, I had to retype the commands that I ran from memory.  Hopefully they 
match.)


More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=536

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to