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 free under XQueryColor #360

dmcbride opened this Issue Jan 25, 2017 · 0 comments


None yet
1 participant

dmcbride commented Jan 25, 2017

After running for some time, I get the following crash:

(gdb) bt
#0  0x00007feeb7452107 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007feeb745355a in __GI_abort () at abort.c:89
#2  0x00007feeb748e238 in __libc_message (do_abort=do_abort@entry=2, 
    fmt=fmt@entry=0x7feeb7583400 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007feeb74938a6 in malloc_printerr (action=3, 
    str=0x7feeb7583510 "free(): invalid next size (fast)", 
    ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004
#4  0x00007feeb74940ae in _int_free (av=0x7feeb77b2c40 <main_arena>, 
    p=<optimized out>, have_lock=0) at malloc.c:3865
#5  0x00007feeb8249649 in luaL_getmetafield (L=0x1c1eb88, obj=<optimized out>, 
    event=0x0) at lauxlib.c:216
#6  0x0000000001c1eb88 in ?? ()
#7  0x0000000001c1ead0 in ?? ()
#8  0x000000000000e177 in ?? ()
#9  0x0000000000423890 in XQueryColor@plt ()
#10 0x00007feeb8239293 in lua_settable (L=0x32fb, idx=13051) at lapi.c:645
#11 0x00007feeb8236a6b in ?? () from /usr/lib64/
#12 0x00007ffc63e2c120 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000001c1eeb0 in ?? ()
#15 0x0000000001c1ed40 in ?? ()
#16 0x0000000000000000 in ?? ()

I'm retrying to see how long it takes, with more debug libraries to see if I get more in the backtrace.

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