Project

General

Profile

tonecurve.txt

ASAN info and gdb bt - Mark Oteiza, 10/30/2016 09:25 PM

Download (5.68 KB)

 
1
$ darktable
2
=================================================================
3
==4697==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619001688e08 at pc 0x7f073c1aa9c2 bp 0x7ffd111dae10 sp 0x7ffd111dae00
4
READ of size 8 at 0x619001688e08 thread T0
5
    #0 0x7f073c1aa9c1 in show_module_callback /tmp/makepkg/darktable-git/src/darktable/src/develop/imageop.c:1975
6
    #1 0x7f073a3452e3  (/usr/lib/libgtk-3.so.0+0x2302e3)
7
    #2 0x7f0738e9af74 in g_closure_invoke (/usr/lib/libgobject-2.0.so.0+0xff74)
8
    #3 0x7f0738eacf81  (/usr/lib/libgobject-2.0.so.0+0x21f81)
9
    #4 0x7f0738eb566e in g_signal_emit_valist (/usr/lib/libgobject-2.0.so.0+0x2a66e)
10
    #5 0x7f0738eb5fae in g_signal_emit (/usr/lib/libgobject-2.0.so.0+0x2afae)
11
    #6 0x7f073a2153de in gtk_accel_group_activate (/usr/lib/libgtk-3.so.0+0x1003de)
12
    #7 0x7f073a216cdc in gtk_accel_groups_activate (/usr/lib/libgtk-3.so.0+0x101cdc)
13
    #8 0x7f073a4b4ee0 in gtk_window_activate_key (/usr/lib/libgtk-3.so.0+0x39fee0)
14
    #9 0x7f073a4b5050  (/usr/lib/libgtk-3.so.0+0x3a0050)
15
    #10 0x7f073a3444ab  (/usr/lib/libgtk-3.so.0+0x22f4ab)
16
    #11 0x7f0738e9af74 in g_closure_invoke (/usr/lib/libgobject-2.0.so.0+0xff74)
17
    #12 0x7f0738ead37c  (/usr/lib/libgobject-2.0.so.0+0x2237c)
18
    #13 0x7f0738eb566e in g_signal_emit_valist (/usr/lib/libgobject-2.0.so.0+0x2a66e)
19
    #14 0x7f0738eb5fae in g_signal_emit (/usr/lib/libgobject-2.0.so.0+0x2afae)
20
    #15 0x7f073a490c5b  (/usr/lib/libgtk-3.so.0+0x37bc5b)
21
    #16 0x7f073a341698  (/usr/lib/libgtk-3.so.0+0x22c698)
22
    #17 0x7f073a3435ed in gtk_main_do_event (/usr/lib/libgtk-3.so.0+0x22e5ed)
23
    #18 0x7f0739e55b84  (/usr/lib/libgdk-3.so.0+0x36b84)
24
    #19 0x7f0739e86b41  (/usr/lib/libgdk-3.so.0+0x67b41)
25
    #20 0x7f073aa68586 in g_main_context_dispatch (/usr/lib/libglib-2.0.so.0+0x4a586)
26
    #21 0x7f073aa687ef  (/usr/lib/libglib-2.0.so.0+0x4a7ef)
27
    #22 0x7f073aa68b11 in g_main_loop_run (/usr/lib/libglib-2.0.so.0+0x4ab11)
28
    #23 0x7f073a3427a4 in gtk_main (/usr/lib/libgtk-3.so.0+0x22d7a4)
29
    #24 0x7f073c290dd9 in dt_gui_gtk_run /tmp/makepkg/darktable-git/src/darktable/src/gui/gtk.c:981
30
    #25 0x4008d0 in main /tmp/makepkg/darktable-git/src/darktable/src/main.c:25
31
    #26 0x7f073ba00290 in __libc_start_main (/usr/lib/libc.so.6+0x20290)
32
    #27 0x400939 in _start (/usr/bin/darktable+0x400939)
33

    
34
AddressSanitizer can not describe address in more detail (wild memory access suspected).
35
SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/makepkg/darktable-git/src/darktable/src/develop/imageop.c:1975 in show_module_callback
36
Shadow bytes around the buggy address:
37
  0x0c32802c9170: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
38
  0x0c32802c9180: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
39
  0x0c32802c9190: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
40
  0x0c32802c91a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
41
  0x0c32802c91b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
42
=>0x0c32802c91c0: fa[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa
43
  0x0c32802c91d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
44
  0x0c32802c91e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
45
  0x0c32802c91f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
46
  0x0c32802c9200: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
47
  0x0c32802c9210: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
48
Shadow byte legend (one shadow byte represents 8 application bytes):
49
  Addressable:           00
50
  Partially addressable: 01 02 03 04 05 06 07
51
  Heap left redzone:       fa
52
  Heap right redzone:      fb
53
  Freed heap region:       fd
54
  Stack left redzone:      f1
55
  Stack mid redzone:       f2
56
  Stack right redzone:     f3
57
  Stack partial redzone:   f4
58
  Stack after return:      f5
59
  Stack use after scope:   f8
60
  Global redzone:          f9
61
  Global init order:       f6
62
  Poisoned by user:        f7
63
  Container overflow:      fc
64
  Array cookie:            ac
65
  Intra object redzone:    bb
66
  ASan internal:           fe
67
  Left alloca redzone:     ca
68
  Right alloca redzone:    cb
69
==4697==ABORTING
70
exit 1
71

    
72

    
73
 bt
74
#0  0x00007ffff7a37d04 in  () at /usr/bin/../lib/darktable/libdarktable.so
75
#1  0x00007ffff69a02e4 in  () at /usr/lib/libgtk-3.so.0
76
#2  0x00007ffff54f5f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
77
#3  0x00007ffff5507f82 in  () at /usr/lib/libgobject-2.0.so.0
78
#4  0x00007ffff551066f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
79
#5  0x00007ffff5510faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
80
#6  0x00007ffff68703df in gtk_accel_group_activate () at /usr/lib/libgtk-3.so.0
81
#7  0x00007ffff6871cdd in gtk_accel_groups_activate () at /usr/lib/libgtk-3.so.0
82
#8  0x00007ffff6b0fee1 in gtk_window_activate_key () at /usr/lib/libgtk-3.so.0
83
#9  0x00007ffff6b10051 in  () at /usr/lib/libgtk-3.so.0
84
#10 0x00007ffff699f4ac in  () at /usr/lib/libgtk-3.so.0
85
#11 0x00007ffff54f5f75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
86
#12 0x00007ffff550837d in  () at /usr/lib/libgobject-2.0.so.0
87
#13 0x00007ffff551066f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
88
#14 0x00007ffff5510faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
89
#15 0x00007ffff6aebc5c in  () at /usr/lib/libgtk-3.so.0
90
#16 0x00007ffff699c699 in  () at /usr/lib/libgtk-3.so.0
91
#17 0x00007ffff699e5ee in gtk_main_do_event () at /usr/lib/libgtk-3.so.0
92
#18 0x00007ffff64b0b85 in  () at /usr/lib/libgdk-3.so.0
93
#19 0x00007ffff64e1b42 in  () at /usr/lib/libgdk-3.so.0
94
#20 0x00007ffff70c3587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
95
#21 0x00007ffff70c37f0 in  () at /usr/lib/libglib-2.0.so.0
96
#22 0x00007ffff70c3b12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
97
#23 0x00007ffff699d7a5 in gtk_main () at /usr/lib/libgtk-3.so.0
98
#24 0x00007ffff7aa300c in dt_gui_gtk_run () at /usr/bin/../lib/darktable/libdarktable.so
99
#25 0x000000000040073a in main ()
100
(gdb)
101