calaos / calaos_base

Calaos server
https://calaos.fr
GNU General Public License v3.0
162 stars 37 forks source link

calaos_home SEG FAULT #40

Closed sanbeam closed 10 years ago

sanbeam commented 10 years ago

SEGV observed when trying to add multiple second note widget.

Steps to reproduce.

while(1) { Main Screen -> Add New Widget ->Notes }

gdb trace is as follows.

INF<29379>:evas_main lib/evas/canvas/evas_events.c:1306 _canvas_event_feed_mouse_up() ButtonEvent:up time=2085669269 x=512 y=292 button=1 downs=1 ERR<29379>:eo lib/eo/eo_ptr_indirection.x:275 _eo_obj_pointer_get() obj_id (nil) is not pointing to a valid object. Maybe it has already been freed.

Program received signal SIGSEGV, Segmentation fault. _elm_list_item_unfocused (it=0xbad040) at elm_list.c:1025 1025 if (!sd->focused_item || (gdb) bt

0 _elm_list_item_unfocused (it=0xbad040) at elm_list.c:1025

1 0x00007ffff7aa3fe1 in _item_focus_set_hook (it=0xc99970, focused=10 '\n') at elm_list.c:1700

2 0x00007ffff7aa29f3 in _mouse_up_cb (data=0xc99970, evas=0xa, o=0x7ffff49269e0 <_IO_stdfile_2_lock>, o@entry=0x8000018120001a4b, event_info=0x7fffffffd6c0) at elm_list.c:1464

3 0x00007ffff75f29f3 in _eo_evas_object_cb (data=0xbea9f0, eo_obj=0x8000018120001a4b, desc=, event_info=0x7fffffffd6c0) at lib/evas/canvas/evas_callbacks.c:130

4 0x00007ffff3f26e98 in _ev_cb_call (obj_id=0x8000018120001a4b, class_data=0xd7c020, list=) at lib/eo/eo_base_class.c:690

5 0x00007ffff3f219e3 in _eo_op_internal (p_list=0x7fffffffd448, op=16, op_type=EO_OP_TYPE_REGULAR, cur_klass=0x885f30, eo_ptr=0xd7bfe0, line=302, file=0x7ffff76ff518 "lib/evas/canvas/evas_callbacks.c") at lib/eo/eo.c:306

6 _eo_dov_internal (p_list=0x7fffffffd448, op_type=EO_OP_TYPE_REGULAR, klass=0x885f30, obj=0xd7bfe0, line=302, file=0x7ffff76ff518 "lib/evas/canvas/evas_callbacks.c") at lib/eo/eo.c:338

7 _eo_obj_dov_internal (p_list=0x7fffffffd448, obj=0xd7bfe0, line=302, file=0x7ffff76ff518 "lib/evas/canvas/evas_callbacks.c") at lib/eo/eo.c:359

8 eo_do_internal (file=file@entry=0x7ffff76ff518 "lib/evas/canvas/evas_callbacks.c", line=line@entry=302, obj_id=obj_id@entry=0x8000018120001a4b) at lib/eo/eo.c:396

9 0x00007ffff75f2fd7 in evas_object_event_callback_call (eo_obj=0x8000018120001a4b, obj=0xd7c050, type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd6c0, event_id=19501) at lib/evas/canvas/evas_callbacks.c:302

10 0x00007ffff75f30a0 in evas_object_event_callback_call (eo_obj=, obj=0xd6e6c0, type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd6c0, event_id=19501) at lib/evas/canvas/evas_callbacks.c:322

11 0x00007ffff75fd81d in _canvas_event_feed_mouse_up (eo_e=, _pd=, list=) at lib/evas/canvas/evas_events.c:1361

12 0x00007ffff3f219e3 in _eo_op_internal (p_list=0x7fffffffd798, op=402, op_type=EO_OP_TYPE_REGULAR, cur_klass=0x866b50, eo_ptr=0x874310, line=1292, file=0x7ffff76ffc6a "lib/evas/canvas/evas_events.c") at lib/eo/eo.c:306

13 _eo_dov_internal (p_list=0x7fffffffd798, op_type=EO_OP_TYPE_REGULAR, klass=0x866b50, obj=0x874310, line=1292, file=0x7ffff76ffc6a "lib/evas/canvas/evas_events.c") at lib/eo/eo.c:338

14 _eo_obj_dov_internal (p_list=0x7fffffffd798, obj=0x874310, line=1292, file=0x7ffff76ffc6a "lib/evas/canvas/evas_events.c") at lib/eo/eo.c:359

15 eo_do_internal (file=file@entry=0x7ffff76ffc6a "lib/evas/canvas/evas_events.c", line=line@entry=1292, obj_id=) at lib/eo/eo.c:396

16 0x00007ffff75fc703 in evas_event_feed_mouse_up (eo_e=, b=, flags=flags@entry=EVAS_BUTTON_NONE, timestamp=, data=data@entry=0x0) at lib/evas/canvas/evas_events.c:1292

17 0x00007ffff1f0a2d4 in _ecore_event_evas_mouse_button (e=0xd8ab00, press=ECORE_UP, faked=) at lib/ecore_input_evas/ecore_input_evas.c:375

18 0x00007ffff65f1a57 in _ecore_call_handler_cb (event=, type=, data=, func=) at lib/ecore/ecore_private.h:359

19 _ecore_event_call () at lib/ecore/ecore_events.c:562

20 0x00007ffff65f8a35 in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at lib/ecore/ecore_main.c:2039

21 0x00007ffff65f8d47 in ecore_main_loop_begin () at lib/ecore/ecore_main.c:1042

22 0x000000000040ff30 in main (argc=1, argv=0x7fffffffdd08) at main.cpp:92

sanbeam commented 10 years ago

Still seeing this issue in efl HEAD. You may need to add the ntoes widget multiple times.

raoulh commented 10 years ago

Works here with efl-1.8.3

Problem with efl?

sanbeam commented 10 years ago

Maybe. Will check and confirm soon.