diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-13 15:42:38 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-13 15:42:38 +0100 |
commit | 7489bbeb616d4b570ef74417749ee4c615275d01 (patch) | |
tree | f138baa8904d878148bda96140d2370e8c3d84e3 /gg_map | |
parent | include CFLAGS when compiling BINARY (diff) | |
download | glouglou-7489bbeb616d4b570ef74417749ee4c615275d01.tar.xz glouglou-7489bbeb616d4b570ef74417749ee4c615275d01.zip |
more DEBUG backtrace stuff
Diffstat (limited to 'gg_map')
-rw-r--r-- | gg_map/BUGS.txt | 506 | ||||
-rw-r--r-- | gg_map/README.txt | 5 |
2 files changed, 507 insertions, 4 deletions
diff --git a/gg_map/BUGS.txt b/gg_map/BUGS.txt index bf3fc1e..353f3cb 100644 --- a/gg_map/BUGS.txt +++ b/gg_map/BUGS.txt @@ -1,8 +1,506 @@ -#0000 TITLE -DESCRIPTION +=============================================================================== +#00: <title> +DATE: 20121231-0549 +DESCRIPTION: <description> +REPRODUCE: <reproduce> +STATUS: <status> +====================== +<details (bt ...)> +====================== +====================== +====================== +====================== -=== TODO === +=============================================================================== +=============================================================================== +TODO +=============================================================================== +=============================================================================== + + +=============================================================================== +#01: del_edge after node group implementation +DATE: 20121213-0555 +DESCRIPTION: igraph check fails +REPRODUCE: use gg_map and browse the web, load many pages +STATUS: should be fixed, added checks for v2/v3_new in v2_del and _del + +====================== +not last one + type PACKET_DELCONN + delconn_id 10 +not last one + type PACKET_DELCONN + delconn_id 14 +not last one + type PACKET_DELCONN + delconn_id 75 +not last one + type PACKET_DELCONN + delconn_id 16 +not last one + type PACKET_DELCONN + delconn_id 20 +not last one + type PACKET_DELCONN + delconn_id 23 +not last one + type PACKET_DELCONN + delconn_id 6 +not last one + type PACKET_DELCONN + delconn_id 24 + type PACKET_DELCONN + delconn_id 17 +not last one + type PACKET_DELCONN + delconn_id 49 +not last one +blob_send 624 460 + type PACKET_DELCONN + delconn_id 42 +blob_send 449 367 +blob_send 452 338 +blob_send 449 367 + type PACKET_DELCONN + delconn_id 18 +blob_send 420 338 +Error at type_indexededgelist.c:1158 :Cannot get edge id, no such edge, Invalid value + +Program received signal SIGABRT, Aborted. +0x00007ffff44f2fd5 in raise () from /usr/lib/libc.so.6 + +====================== +with egraph DEBUG=1 + + delconn_id 21 +not last one + type PACKET_DELCONN + delconn_id 26 +not last one + type PACKET_DELCONN + delconn_id 112 +not last one + type PACKET_DELCONN + delconn_id 115 +not last one + type PACKET_DELCONN + delconn_id 40 + type PACKET_DELCONN + delconn_id 105 + type PACKET_DELCONN + delconn_id 44 +not last one + type PACKET_DELCONN + delconn_id 36 +not last one + type PACKET_DELCONN + delconn_id 79 +not last one + type PACKET_DELCONN + delconn_id 76 + type PACKET_DELCONN + delconn_id 116 + type PACKET_DELCONN + delconn_id 31 +_v3_update +_v3_update edges +_edge_v2_del 2 51 +_edge_v2_del 2 23 +_edge_v2_del 2 37 +_edge_v2_del 2 41 +_edge_v2_del 2 40 +_edge_v2_del 2 18 +_edge_v2_del 2 12 +_edge_v2_del 2 3 +_edge_v2_del 2 11 +Error at type_indexededgelist.c:1158 :Cannot get edge id, no such edge, Invalid value + +Program received signal SIGABRT, Aborted. +0x00007ffff44f2fd5 in raise () from /usr/lib/libc.so.6 + + +(gdb) bt +#0 0x00007ffff44f2fd5 in raise () from /usr/lib/libc.so.6 +#1 0x00007ffff44f4458 in abort () from /usr/lib/libc.so.6 +#2 0x00007fffec9ad932 in igraph_error_handler_abort () + from /usr/lib/libigraph.so.0 +#3 0x00007fffec9ad9ad in igraph_error () from /usr/lib/libigraph.so.0 +#4 0x00007fffec9aa041 in igraph_get_eid () from /usr/lib/libigraph.so.0 +#5 0x00007fffec97e96f in igraph_i_eit_pairs () from /usr/lib/libigraph.so.0 +#6 0x00007fffec97f212 in igraph_eit_create () from /usr/lib/libigraph.so.0 +#7 0x00007fffec9a8766 in igraph_delete_edges () from /usr/lib/libigraph.so.0 +#8 0x00007ffff4a84ac5 in _edge_v2_del (eg=0x7b1350, e=0x9ace10) at egraph.c:413 +#9 0x00007ffff4a85cfb in _v3_update (eg=0x7b1350) at egraph.c:782 +#10 0x00007ffff4a860e8 in _cb_layouting_start (data=0x7b1350) at egraph.c:836 +#11 0x00007ffff50ec339 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +#12 _ecore_timer_expired_call (when=when@entry=87262.772331019005) + at lib/ecore/ecore_timer.c:911 +#13 0x00007ffff50ec45b in _ecore_timer_expired_timers_call (when= + 87262.772331019005) at lib/ecore/ecore_timer.c:865 +#14 0x00007ffff50e8451 in _ecore_main_loop_iterate_internal ( + once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1831 +#15 0x00007ffff50e8b27 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:964 +#16 0x00000000004022ad in elm_main (argc=1, argv=0x7fffffffe5b8) at gg_map.c:269 +#17 0x00000000004022f8 in main (argc=1, argv=0x7fffffffe5b8) at gg_map.c:276 + +(gdb) p e +$1 = (Egraph_Edge *) 0x9ace10 +(gdb) p *e +$2 = {a = 0x82a200, b = 0x856fd0, type = 0x0, o = 0x0, o_usetheme = 0, data = + 0x88bbb0, new = 0, v2_new = 0, v2_del = 1, v3_new = 1, v3_del = 0} +====================== + +====================== +====================== +====================== + +=============================================================================== +#01: sigsegv in ecore timer +DATE: 20121213-0620 +DESCRIPTION: segv. should be caused by calling efx_move on blobs on every +vertice move. anyway this is bad solution. +REPRODUCE: gg_map usage +STATUS: should be fixed, removed efx_move calls on vertice move. +====================== + +blob_send 450 305 +blob_send 404 331 +blob_send 404 331 +blob_send 450 305 +blob_send 404 331 +[New Thread 0x7fffe6561700 (LWP 32312)] + +Program received signal SIGSEGV, Segmentation fault. +_ecore_call_task_cb (data=0x3fe3333333333333, func=0x40f5b9be3ba41dac) + at lib/ecore/ecore_private.h:300 +300 r = func(data); +(gdb) bt +#0 _ecore_call_task_cb (data=0x3fe3333333333333, func=0x40f5b9be3ba41dac) + at lib/ecore/ecore_private.h:300 +#1 _do_tick () at lib/ecore/ecore_anim.c:125 +#2 0x00007ffff50e14a0 in _ecore_animator (data=<optimized out>) + at lib/ecore/ecore_anim.c:595 +#3 0x00007ffff50ec339 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +#4 _ecore_timer_expired_call (when=when@entry=88988.202157983003) + at lib/ecore/ecore_timer.c:911 +#5 0x00007ffff50ec45b in _ecore_timer_expired_timers_call (when= + 88988.202157983003) at lib/ecore/ecore_timer.c:865 +#6 0x00007ffff50e8451 in _ecore_main_loop_iterate_internal ( + once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1831 +#7 0x00007ffff50e8b27 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:964 +#8 0x00000000004022ad in elm_main (argc=1, argv=0x7fffffffe5b8) at gg_map.c:269 +#9 0x00000000004022f8 in main (argc=1, argv=0x7fffffffe5b8) at gg_map.c:276 +====================== +====================== +====================== +====================== + +=============================================================================== +#00: efx_move eina_list segv +DATE: 20121213-0705 +DESCRIPTION: bug in my egraph blob or in efx ? +REPRODUCE: gg_map +STATUS: new +====================== +gg_map with opengl rendering + + delconn_id 23 [44/1812] +not last one + type PACKET_DELCONN + delconn_id 15 +not last one + type PACKET_DELCONN + delconn_id 13 +not last one + type PACKET_DELCONN + delconn_id 12 + type PACKET_DELCONN + delconn_id 11 +not last one + type PACKET_DELCONN + delconn_id 10 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 +blob_send 791 313 +blob_send 773 210 + +Program received signal SIGSEGV, Segmentation fault. +eina_list_data_get (list=<optimized out>) + at /usr/local/include/eina-1/eina/eina_inline_list.x:47 +47 return list->data; +(gdb) bt +#0 eina_list_data_get (list=<optimized out>) + at /usr/local/include/eina-1/eina/eina_inline_list.x:47 +#1 _move_cb (emd=0x14371a0, pos=0.24678331501490902) at efx_move.c:84 +#2 0x00007ffff50e1b62 in _ecore_animator_run (data=<optimized out>) + at lib/ecore/ecore_anim.c:585 +#3 0x00007ffff50e13c3 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +#4 _do_tick () at lib/ecore/ecore_anim.c:125 +#5 0x00007ffff50e14a0 in _ecore_animator (data=<optimized out>) +#4 _do_tick () at lib/ecore/ecore_anim.c:125 [0/1812] +#5 0x00007ffff50e14a0 in _ecore_animator (data=<optimized out>) + at lib/ecore/ecore_anim.c:595 +#6 0x00007ffff50ec339 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +#7 _ecore_timer_expired_call (when=when@entry=91912.774344784004) + at lib/ecore/ecore_timer.c:911 +#8 0x00007ffff50ec45b in _ecore_timer_expired_timers_call (when= + 91912.774344784004) at lib/ecore/ecore_timer.c:865 +#9 0x00007ffff50e8451 in _ecore_main_loop_iterate_internal ( + once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1831 +#10 0x00007ffff50e8b27 in ecore_main_loop_begin () + at lib/ecore/ecore_main.c:964 +#11 0x000000000040230e in elm_main (argc=1, argv=0x7fffffffe5a8) + at gg_map.c:269 +#12 0x0000000000402359 in main (argc=1, argv=0x7fffffffe5a8) at gg_map.c:276 +(gdb) f 1 +#1 _move_cb (emd=0x14371a0, pos=0.24678331501490902) at efx_move.c:84 +84 EINA_LIST_FOREACH(emd->e->followers, l, e) +(gdb) p emd +$1 = (Efx_Move_Data *) 0x14371a0 +(gdb) p emd-> +A syntax error in expression, near `'. +(gdb) p emd->e +$2 = (EFX *) 0x14cac50 +(gdb) p *emd->e +$3 = {obj = 0x14701c0, owner = 0x0, spin_data = 0x0, rotate_data = 0x0, + zoom_data = 0x0, move_data = 0x14371a0, bumpmap_data = 0x0, pan_data = 0x0, + fade_data = 0x0, resize_data = 0x0, map_data = {rotation = 0, + rotate_center = 0x0, zoom = 0, zoom_center = 0x0, move_center = 0x0, pan = + {x = 0, y = 0}}, followers = 0x10, queue = 0x0} +(gdb) f 1 +#1 _move_cb (emd=0x14371a0, pos=0.24678331501490902) at efx_move.c:84 +84 EINA_LIST_FOREACH(emd->e->followers, l, e) +(gdb) l +79 pct = ecore_animator_pos_map(pos, emd->speed, 0, 0); +80 x = lround(pct * (double)emd->change.x) - emd->current.x; +81 y = lround(pct * (double)emd->change.y) - emd->current.y; +82 _move(emd->e->obj, x, y); +83 efx_maps_apply(emd->e, emd->e->obj, NULL, EFX_MAPS_APPLY_ALL); +84 EINA_LIST_FOREACH(emd->e->followers, l, e) +85 { +86 _move(e->obj, x, y); +87 efx_maps_apply(e, e->obj, NULL, EFX_MAPS_APPLY_ALL); +88 } + + +(gdb) p emd->e->obj +$4 = (Evas_Object *) 0x14701c0 +(gdb) p *emd->e->obj +$5 = {__magic = 2709961778, __in_list = {next = 0x1358d48, prev = 0x1547ce8, + last = 0x0}, parent = 0x68ab10, children = 0x0, klass = 0x99ba30, + refcount = 1, composite_objects = 0x0, mro_itr = {kls = 0x0}, do_error = + 0 '\000', condtor_done = 1 '\001', composite = 0 '\000', del = 0 '\000', + manual_free = 1 '\001'} +(gdb) p *emd->move_data +There is no member named move_data. +(gdb) p *emd->e->move_data +Attempt to dereference a generic pointer. +(gdb) p e +$6 = <optimized out> + + + +=============================================================================== +#03: malloc sigsegv +DATE: 20121213 +DESCRIPTION: we must be facing memory corruption, probably during group handling +because it's something i implemented lastly +REPRODUCE: ggmap with opengl rendering +STATUS: new + +====================== + type PACKET_DELCONN + delconn_id 187 +not last one + type PACKET_DELCONN + delconn_id 184 +not last one + type PACKET_DELCONN + delconn_id 183 + +Program received signal SIGSEGV, Segmentation fault. +0x00007ffff45379e3 in malloc_consolidate () from /usr/lib/libc.so.6 +(gdb) bt +#0 0x00007ffff45379e3 in malloc_consolidate () from /usr/lib/libc.so.6 +#1 0x00007ffff4538ba7 in _int_malloc () from /usr/lib/libc.so.6 +#2 0x00007ffff453b996 in calloc () from /usr/lib/libc.so.6 +#3 0x00007fffec9df2a1 in igraph_vector_copy () from /usr/lib/libigraph.so.0 +#4 0x00007ffff4a862b7 in _coords2_copy (eg=0x11434c0) at egraph.c:956 +#5 0x00007ffff4a862e9 in _cb_layouting_end (data=0x11434c0, thread=0x93bfd0) + at egraph.c:966 +#6 0x00007ffff50ec573 in _ecore_thread_kill (work=0x93bfd0) + at lib/ecore/ecore_thread.c:247 +#7 0x00007ffff50e0114 in _ecore_main_call_flush () at lib/ecore/ecore.c:853 +#8 0x00007ffff50e944e in _ecore_pipe_handler_call (p=0x98761237, buf= + 0x520 <Address 0x520 out of bounds>, len=65) at lib/ecore/ecore_pipe.c:551 +#9 0x00007ffff50e9b44 in _ecore_pipe_read (data=0x620d10, + fd_handler=<optimized out>) at lib/ecore/ecore_pipe.c:693 +#10 0x00007ffff50e86b1 in _ecore_call_fd_cb (data=<optimized out>, + func=<optimized out>, fd_handler=0x621280) at lib/ecore/ecore_private.h:378 +#11 _ecore_main_fd_handlers_call () at lib/ecore/ecore_main.c:1688 +#12 _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) + at lib/ecore/ecore_main.c:1935 +#13 0x00007ffff50e8b27 in ecore_main_loop_begin () + at lib/ecore/ecore_main.c:964 +#14 0x000000000040230e in elm_main (argc=1, argv=0x7fffffffe5a8) + at gg_map.c:269 +#15 0x0000000000402359 in main (argc=1, argv=0x7fffffffe5a8) at gg_map.c:276 +(gdb) f 4 +#4 0x00007ffff4a862b7 in _coords2_copy (eg=0x11434c0) at egraph.c:956 +956 igraph_matrix_copy(&eg->coords, &eg->coords2); +(gdb) p eg->coords +$7 = {data = {stor_begin = 0x13eaf90, stor_end = 0x13eb4b0, end = 0x13eb4b0}, + nrow = 82, ncol = 2} +(gdb) p eg->coords2 +$8 = {data = {stor_begin = 0x155b580, stor_end = 0x155baa0, end = 0x155baa0}, + +====================== +====================== +====================== +====================== + + +=============================================================================== +#00: <title> +DATE: 20121231-0549 +DESCRIPTION: <description> +REPRODUCE: <reproduce> +STATUS: <status> +====================== + + +not last one + type PACKET_DELCONN + delconn_id 85 + type PACKET_DELCONN + delconn_id 193 + type PACKET_DELCONN + delconn_id 14 +not last one + type PACKET_DELCONN + delconn_id 13 +not last one + type PACKET_DELCONN + delconn_id 110 +not last one + type PACKET_DELCONN + delconn_id 109 +not last one + type PACKET_DELCONN + delconn_id 119 +not last one + type PACKET_DELCONN + delconn_id 34 + type PACKET_DELCONN + delconn_id 108 +not last one + type PACKET_DELCONN + delconn_id 103 +not last one + type PACKET_DELCONN + delconn_id 101 +not last one + type PACKET_DELCONN + delconn_id 113 +not last one + type PACKET_DELCONN + delconn_id 100 + type PACKET_DELCONN + delconn_id 99 +[Thread 0x7fffe6560700 (LWP 10889) exited] +[New Thread 0x7fffe6560700 (LWP 10890)] + +Program received signal SIGSEGV, Segmentation fault. +_eo_dov_internal (p_list=0x7fffffffe258, op_type=EO_OP_TYPE_REGULAR, obj= + 0xdf6740) at lib/eo/eo.c:402 +402 _eo_kls_itr_init(obj->klass, &obj->mro_itr, &prev_state); + + +(gdb) bt +#0 _eo_dov_internal (p_list=0x7fffffffe258, op_type=EO_OP_TYPE_REGULAR, obj= + 0xdf6740) at lib/eo/eo.c:402 +#1 eo_do_internal (obj=obj@entry=0xdf6740, op_type=op_type@entry= + EO_OP_TYPE_REGULAR) at lib/eo/eo.c:434 +#2 0x00007ffff707121b in _eo_del_internal (obj=0xdf6740) at lib/eo/eo.c:1254 +#3 _eo_unref (obj=0xdf6740) at lib/eo/eo.c:1309 +#4 eo_parent_set (obj=0xdf6740, parent=parent@entry=0x0) at lib/eo/eo.c:1109 +#5 0x00007ffff50e1438 in _do_tick () at lib/ecore/ecore_anim.c:146 +#6 0x00007ffff50e14a0 in _ecore_animator (data=<optimized out>) + at lib/ecore/ecore_anim.c:595 +#7 0x00007ffff50ec339 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +#8 _ecore_timer_expired_call (when=when@entry=97571.372429319003) + at lib/ecore/ecore_timer.c:911 +#9 0x00007ffff50ec45b in _ecore_timer_expired_timers_call (when= + 97571.372429319003) at lib/ecore/ecore_timer.c:865 +#10 0x00007ffff50e8451 in _ecore_main_loop_iterate_internal ( + once_only=once_only@entry=0) at lib/ecore/ecore_main.c:1831 +#11 0x00007ffff50e8b27 in ecore_main_loop_begin () + at lib/ecore/ecore_main.c:964 +#12 0x000000000040230e in elm_main (argc=1, argv=0x7fffffffe5b8) + at gg_map.c:269 +#13 0x0000000000402359 in main (argc=1, argv=0x7fffffffe5b8) at gg_map.c:276 + + + +(gdb) f 7 +#7 0x00007ffff50ec339 in _ecore_call_task_cb (data=<optimized out>, + func=<optimized out>) at lib/ecore/ecore_private.h:300 +300 r = func(data); +(gdb) l +295 void *data) +296 { +297 Eina_Bool r; +298 +299 _ecore_unlock(); +300 r = func(data); +301 _ecore_lock(); +302 +303 return r; +304 } +(gdb) f 6 +#6 0x00007ffff50e14a0 in _ecore_animator (data=<optimized out>) + at lib/ecore/ecore_anim.c:595 +595 r = _do_tick(); +(gdb) l +590 static Eina_Bool +591 _ecore_animator(void *data EINA_UNUSED) +592 { +593 Eina_Bool r; +594 _ecore_lock(); +595 r = _do_tick(); +596 _ecore_unlock(); +597 return r; +598 } +599 +====================== +====================== +====================== +====================== + + +=============================================================================== +=============================================================================== +DONE +=============================================================================== +=============================================================================== -=== DONE === diff --git a/gg_map/README.txt b/gg_map/README.txt index 8be5d88..5b5146e 100644 --- a/gg_map/README.txt +++ b/gg_map/README.txt @@ -18,6 +18,11 @@ TODO dot file export +DEBUG +===== + +make clean && make && valgrind --leak-check=yes --log-fd=1 ./gg_map |tee valgring.txt + Research ======== |