-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Not sure if I reported this before (and if not why not...)
duc gui quickly crashes on Fedora (since 1.4.5 was added as a package).
Testing with 1.4.6:
$ duc gui
dpi 93.784615
*** buffer overflow detected ***: terminated
Aborted (core dumped) duc gui
Basically it crashes as soon as the mouse pointer passes around the window.
GDB backtrace:
#0 __pthread_kill_implementation
(threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
at pthread_kill.c:44
#1 0x00007ffff7982253 in __pthread_kill_internal (threadid=<optimized out>, signo=6)
at pthread_kill.c:89
#2 0x00007ffff7927dde in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff790f734 in __GI_abort () at abort.c:77
#4 0x00007ffff791079f in __libc_message_impl
(vma_name=vma_name@entry=0x7ffff7abf5c2 "glibc: fatal", fmt=fmt@entry=0x7ffff7ac2aa8 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:138
#5 0x00007ffff7a0ef70 in __libc_message_wrapper
(vmaname=0x7ffff7abf5c2 "glibc: fatal", fmt=0x7ffff7ac2aa8 "*** %s ***: terminated\n") at ../include/stdio.h:203
#6 __GI___fortify_fail (msg=msg@entry=0x7ffff7ac2a8f "buffer overflow detected")
at fortify_fail.c:24
#7 0x00007ffff7a0e8e4 in __GI___chk_fail () at chk_fail.c:28
#8 0x00007ffff7a10225 in ___snprintf_chk
(s=s@entry=0x555555d604cb "", maxlen=maxlen@entry=16640, flag=flag@entry=2, slen=<optimized out>, format=format@entry=0x55555556b968 "type: %s\nactual size: %s\napparent size: %s\nfile count: %s") at snprintf_chk.c:29
#9 0x000055555555713c in snprintf
(__s=0x555555d604cb "", __n=16640, __fmt=0x55555556b968 "type: %s\nactual size: %s\napparent size: %s\nfile count: %s") at /usr/include/bits/stdio2.h:68
#10 gen_tooltip
(g=g@entry=0x555555d60430, size=size@entry=0x5555563ade40, name=0x5555563626a0 "duc-debuginfo-1.4.5-5.el8.x86_64.rpm", type=DUC_FILE_TYPE_REG) at src/libduc-graph/graph.c:213
#11 0x000055555555ecdf in do_dir
(g=g@entry=0x555555d60430, dir=dir@entry=0x555555c12b50, level=2, r1=r1@entry=112.19491525423729, a1_dir=a1_dir@entry=0.65462012320328544, a2_dir=a2_dir@entry=0.76632443531827521, total=<optimized out>) at src/libduc-graph/graph.c:339
#12 0x000055555555edda in do_dir
(g=g@entry=0x555555d60430, dir=dir@entry=0x555555b29200, level=1, r1=r1@entry=71.694915254237287, a1_dir=a1_dir@entry=0.65462012320328544, a2_dir=a2_dir@entry=0.76632443531827521, total=<optimized out>) at src/libduc-graph/graph.c:367
#13 0x000055555555edda in do_dir
(g=g@entry=0x555555d60430, dir=dir@entry=0x5555555bd200, level=level@entry=0, r1=48, a1_dir=a1_dir@entry=0, a2_dir=<optimized out>, total=total@entry=0x0)
at src/libduc-graph/graph.c:367
#14 0x000055555555f18e in duc_graph_draw (g=0x555555d60430, dir=0x5555555bd200)
at src/libduc-graph/graph.c:436
#15 0x000055555556285a in draw (window=<optimized out>) at src/duc/cmd-guigl.c:86
#16 guigl_main (duc=<optimized out>, argc=<optimized out>, argv=<optimized out>)
at src/duc/cmd-guigl.c:231
#17 0x0000555555555f56 in main (argc=<optimized out>, argv=<optimized out>)
at src/duc/main.c:179
duc ui works fine.
Maybe I should just disable gui?
Metadata
Metadata
Assignees
Labels
No labels