On Sun, 20 Jun 2010 19:47:41 +0900
Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:

> On Sun, 20 Jun 2010 12:41:10 +0200 Ralph Sennhauser
> <gentoo.s...@bluewin.ch> said:
> 
> > On Sun, 20 Jun 2010 17:54:59 +0900
> > Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:
> > 
> > > On Sun, 20 Jun 2010 09:43:26 +0200 Ralph Sennhauser
> > > <gentoo.s...@bluewin.ch> said:
> > > 
> > > i fixed the warnings, and 1 may be relevant on 64bit. not 32
> > > though.
> > The additional ones are gone. E still hangs. Thanks nonetheless.
> > 
> > I found another warning which needs attention and is likely to cause
> > problems on 64-bit systems and is probably not visible on a 32-bit
> > system. It might be related or not, but certainly a potential source
> > for segfaults.
> > 
> > In e/src/modules/comp/e_mod_config.c
> > e_mod_config.c: In function '_style_demo':
> > e_mod_config.c:246: warning: cast from pointer to integer of
> > different size e_mod_config.c:248: warning: cast to pointer from
> > integer of different size
> > 
> > It's the only one of this kind for enlightenment and all it's
> > dependencies.
> 
> it's safe. i knew i was casting a pointer. it will be fine on any
> number of bits :) (32,, 64.. or more).
> 
> > > la files are just for libtool - not debugging. i can get all the
> > > warnings myself too btw. :) if you can find out what the problem
> > > actually is - i am sure it can be fixed - but i don't see it (and
> > > no
> > > - i'm not going to go install gentoo and portage etc. etc. just to
> > > start trying - if i installed a new distro for every bug someone
> > > found i'f have 400+ of them installed by now :)).
> > > 
> > Even installing Gentoo and portage does not necessary mean you will
> > be able to reproduce it. So I agree this is pointless. :)
> 
> correct.
> 
> > I posted to the list in hope to find others with the same issue,
> > preferably an enlightenment developer. :) I my self am struggling to
> > find the solution.
> 
> well you can disable async rendering. that's a simple solution. :)
> 

Well I meant a proper solution. :)

The only other thread has it's initial frame at 0. So this looks like
a pointer issue somewhere. As all llvm warnings are going to be fixed
anyway I hope this will be solved with it for now.

Some gdb output:

#0  0x00007f65f37120e3 in ?? ()
#1  0x00007f65f46ea86a in ?? ()
#2  0x00007f65f53a57d8 in ?? ()
#3  0x3fa098c428f5c28f in ?? ()
#4  0x0000000000000000 in ?? ()
Stack level 0, frame at 0x7fff2423c620:
 rip = 0x7f65f37120e3; saved rip 0x7f65f46ea86a
 called by frame at 0x7fff2423c628
 Arglist at 0x7fff2423c610, args:
 Locals at 0x7fff2423c610, Previous frame's sp is 0x7fff2423c620
 Saved registers:
  rip at 0x7fff2423c618
#4  0x0000000000000000 in ?? ()
Stack level 4, frame at 0x7fff2423c640:
 rip = 0x0; saved rip 0x0
 caller of frame at 0x7fff2423c638
 Arglist at 0x7fff2423c630, args:
 Locals at 0x7fff2423c630, Previous frame's sp is 0x7fff2423c640
 Saved registers:
  rip at 0x7fff2423c638

#0  0x00007f599f0d1a9c in pthread_barrier_wait () from /lib/libpthread.so.0
#1  0x00007f59a13b8bed in evas_common_pipe_image_load_do () at evas_pipe.c:1795
#2  0x00007f59a13b911e in evas_common_pipe_map4_begin (root=0x7f59a372b410) at 
evas_pipe.c:1898
#3  0x00007f5999800f7b in eng_output_redraws_next_update_push 
(data=0x7f59a35903c0, surface=0x7f59a372b410, x=0, y=0, w=32, h=32) at 
evas_engine.c:310
#4  0x00007f59a1347fef in evas_render_updates_internal (e=0x7f59a35b58e0, 
make_updates=1 '\001', do_draw=1 '\001') at evas_render.c:1109
#5  0x00007f59a13484fb in evas_render_updates (e=0x7f59a35b58e0) at 
evas_render.c:1249
#6  0x00007f59a1893c9d in e_pointer_idler_before () at e_pointer.c:212
#7  0x00007f59a186f173 in _e_main_cb_idler_before (data=0x0) at e_main.c:1570
#8  0x00007f59a10c672d in _ecore_idle_enterer_call () at 
ecore_idle_enterer.c:132
#9  0x00007f59a10c7f18 in _ecore_main_loop_iterate_internal (once_only=0) at 
ecore_main.c:770
#10 0x00007f59a10c706e in ecore_main_loop_begin () at ecore_main.c:166
#11 0x00007f59a186dc91 in main (argc=1, argv=0x7ffff3c74698) at e_main.c:1109
Stack level 0, frame at 0x7ffff3c711b0:
 rip = 0x7f599f0d1a9c in pthread_barrier_wait; saved rip 0x7f59a13b8bed
 called by frame at 0x7ffff3c711c0
 Arglist at 0x7ffff3c711a0, args:
 Locals at 0x7ffff3c711a0, Previous frame's sp is 0x7ffff3c711b0
 Saved registers:
  rip at 0x7ffff3c711a8
#1  0x00007f59a13b8bed in evas_common_pipe_image_load_do () at evas_pipe.c:1795
1795    evas_pipe.c: No such file or directory.
    in evas_pipe.c
Stack level 1, frame at 0x7ffff3c711c0:
 rip = 0x7f59a13b8bed in evas_common_pipe_image_load_do (evas_pipe.c:1795); 
saved rip 0x7f59a13b911e
 called by frame at 0x7ffff3c711f0, caller of frame at 0x7ffff3c711b0
 source language c.
 Arglist at 0x7ffff3c711b0, args:
 Locals at 0x7ffff3c711b0, Previous frame's sp is 0x7ffff3c711c0
 Saved registers:
  rbp at 0x7ffff3c711b0, rip at 0x7ffff3c711b8
#2  0x00007f59a13b911e in evas_common_pipe_map4_begin (root=0x7f59a372b410) at 
evas_pipe.c:1898
1898    in evas_pipe.c
Stack level 2, frame at 0x7ffff3c711f0:
 rip = 0x7f59a13b911e in evas_common_pipe_map4_begin (evas_pipe.c:1898); saved 
rip 0x7f5999800f7b
 called by frame at 0x7ffff3c71230, caller of frame at 0x7ffff3c711c0
 source language c.
 Arglist at 0x7ffff3c711e0, args: root=0x7f59a372b410
 Locals at 0x7ffff3c711e0, Previous frame's sp is 0x7ffff3c711f0
 Saved registers:
  rbp at 0x7ffff3c711e0, rip at 0x7ffff3c711e8
$1 = (RGBA_Image *) 0x7f59a372b410
#3  0x00007f5999800f7b in eng_output_redraws_next_update_push 
(data=0x7f59a35903c0, surface=0x7f59a372b410, x=0, y=0, w=32, h=32) at 
evas_engine.c:310
310 evas_engine.c: No such file or directory.
    in evas_engine.c
#2  0x00007f59a13b911e in evas_common_pipe_map4_begin (root=0x7f59a372b410) at 
evas_pipe.c:1898
1898    evas_pipe.c: No such file or directory.
    in evas_pipe.c
$2 = {cache_entry = {__in_list = {next = 0x7f59a3776490, prev = 0x0, last = 
0x7f59a37067f0}, cache = 0x7f59a36f5da0, cache_key = 0x0, file = 0x0, key = 0x0,
    targets = 0x0, preload = 0x0, timestamp = 0, laststat = 1277043108, 
references = 1, lock_references = {__data = {__lock = 0, __count = 0, __owner = 
0, __nusers = 0,
        __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size 
= '\0' <repeats 16 times>, "\001", '\0' <repeats 22 times>, __align = 0},
    scale = 1 '\001', load_opts = {scale_down_by = 0, dpi = 0, w = 0, h = 0, 
region = {x = 0, y = 0, w = 0, h = 0}}, space = 0, w = 32, h = 32, allocated = 
{w = 0,
      h = 0}, info = {module = 0x0, loader = 0x0}, lock = {__data = {__lock = 
0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {
          __prev = 0x0, __next = 0x0}}, __size = '\0' <repeats 16 times>, 
"\001", '\0' <repeats 22 times>, __align = 0}, flags = {loaded = 0 '\0', 
in_progress = 0 '\0',
      dirty = 1 '\001', activ = 0 '\0', need_data = 1 '\001', lru_nodata = 0 
'\0', cached = 1 '\001', alpha = 1 '\001', alpha_sparse = 0 '\0', preload_done 
= 0 '\0',
      delete_me = 0 '\0', pending = 0 '\0'}, scale_hint = 
EVAS_IMAGE_SCALE_HINT_NONE, data1 = 0x0, data2 = 0x0, server_id = 0, 
connect_num = 0, channel = 0},
  flags = RGBA_IMAGE_NOTHING, info = {comment = 0x0}, extended_info = 0x0, pipe 
= 0x0, ref_fq_add = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 
0,
      __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = 
'\0' <repeats 16 times>, "\001", '\0' <repeats 22 times>, __align = 0}, 
ref_fq_del = {
    __data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 1, 
__spins = 0, __list = {__prev = 0x0, __next = 0x0}},
    __size = '\0' <repeats 16 times>, "\001", '\0' <repeats 22 times>, __align 
= 0}, cond_fq_del = {__data = {__lock = 0, __futex = 0, __total_seq = 0,
      __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, 
__broadcast_seq = 0}, __size = '\0' <repeats 47 times>, __align = 0}, ref_fq = 
{0, 0}, ref = 1,
  cs = {data = 0x0, no_free = 0 '\0', dirty = 1 '\001'}, image = {data = 
0x7f59a372a400, no_free = 1 '\001'}, cache = {lock = {__data = {__lock = 0, 
__count = 0,
        __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 
0x0, __next = 0x0}}, __size = '\0' <repeats 16 times>, "\001", '\0' <repeats 22 
times>,
      __align = 0}, list = 0x0, orig_usage = 0, usage_count = 0, populate_count 
= 0, newest_usage = 0, newest_usage_count = 0}}
#3  0x00007f5999800f7b in eng_output_redraws_next_update_push 
(data=0x7f59a35903c0, surface=0x7f59a372b410, x=0, y=0, w=32, h=32) at 
evas_engine.c:310
310 evas_engine.c: No such file or directory.
    in evas_engine.c
Attempt to dereference a generic pointer.
Attempt to dereference a generic pointer.
#4  0x00007f59a1347fef in evas_render_updates_internal (e=0x7f59a35b58e0, 
make_updates=1 '\001', do_draw=1 '\001') at evas_render.c:1109
1109    evas_render.c: No such file or directory.
    in evas_render.c
$3 = (Evas *) 0x7f59a35b58e0
$4 = {__in_list = {next = 0x0, prev = 0x0, last = 0x0}, magic = 1886877552, 
pointer = {inside = 0 '\0', mouse_grabbed = 0, button = 0, x = 0, y = 0, object 
= {
      in = 0x0}}, viewport = {x = 0, y = 0, w = 32, h = 32, changed = 1 
'\001'}, output = {w = 32, h = 32, render_method = 1, changed = 1 '\001'}, 
damages = 0x0,
  obscures = 0x0, layers = 0x7f59a36dd240, name_hash = 0x7f59a35b5b10, 
output_validity = 2, walking_list = 0, events_frozen = 0, engine = {module = 
0x7f59a36f4b80,
    func = 0x7f5999a03080, data = {output = 0x7f59a35903c0, context = 
0x7f59a3723df0}, info = 0x7f59a36baa10, info_magic = 196393880}, delete_objects 
= {data = 0x0,
    total = 0, count = 0, step = 256, __magic = 2557874747}, active_objects = 
{data = 0x7f59a38b3f80, total = 256, count = 3, step = 256, __magic = 
2557874747},
  restack_objects = {data = 0x7f59a38b4fa0, total = 256, count = 0, step = 256, 
__magic = 2557874747}, render_objects = {data = 0x7f59a38b4790, total = 256, 
count = 1,
    step = 256, __magic = 2557874747}, pending_objects = {data = 
0x7f59a372bab0, total = 256, count = 7, step = 256, __magic = 2557874747}, 
obscuring_objects = {
    data = 0x0, total = 0, count = 0, step = 256, __magic = 2557874747}, 
temporary_objects = {data = 0x0, total = 0, count = 0, step = 256, __magic = 
2557874747},
  calculate_objects = {data = 0x0, total = 0, count = 0, step = 256, __magic = 
2557874747}, clip_changes = {data = 0x7f59a38c68a0, total = 256, count = 0, 
step = 256,
    __magic = 2557874747}, post_events = 0x0, callbacks = 0x0, delete_grabs = 
0, walking_grabs = 0, grabs = 0x0, font_path = 0x0, focused = 0x0, attach_data 
= 0x0,
  modifiers = {mod = {count = 0, list = 0x0}, mask = 0}, locks = {lock = {count 
= 0, list = 0x0}, mask = 0}, last_timestamp = 0, last_mouse_down_counter = 0,
  last_mouse_up_counter = 0, hinting = EVAS_FONT_HINTING_BYTECODE, changed = 1 
'\001', delete_me = 0 '\0', invalidate = 1 '\001', cleanup = 0 '\0', focus = 0 
'\0'}
#5  0x00007f59a13484fb in evas_render_updates (e=0x7f59a35b58e0) at 
evas_render.c:1249
1249    in evas_render.c
$5 = (Evas *) 0x7f59a35b58e0
#6  0x00007f59a1893c9d in e_pointer_idler_before () at e_pointer.c:212
212 e_pointer.c: No such file or directory.
    in e_pointer.c
#7  0x00007f59a186f173 in _e_main_cb_idler_before (data=0x0) at e_main.c:1570
1570    e_main.c: No such file or directory.
    in e_main.c
Stack level 7, frame at 0x7ffff3c71410:
 rip = 0x7f59a186f173 in _e_main_cb_idler_before (e_main.c:1570); saved rip 
0x7f59a10c672d
 called by frame at 0x7ffff3c71440, caller of frame at 0x7ffff3c713d0
 source language c.
 Arglist at 0x7ffff3c71400, args: data=0x0
 Locals at 0x7ffff3c71400, Previous frame's sp is 0x7ffff3c71410
 Saved registers:
  rbp at 0x7ffff3c71400, rip at 0x7ffff3c71408
$6 = (void *) 0x0
#2  0x00007f59a13b911e in evas_common_pipe_map4_begin (root=0x7f59a372b410) at 
evas_pipe.c:1898
1898    evas_pipe.c: No such file or directory.
    in evas_pipe.c
Stack level 2, frame at 0x7ffff3c711f0:
 rip = 0x7f59a13b911e in evas_common_pipe_map4_begin (evas_pipe.c:1898); saved 
rip 0x7f5999800f7b
 called by frame at 0x7ffff3c71230, caller of frame at 0x7ffff3c711c0
 source language c.
 Arglist at 0x7ffff3c711e0, args: root=0x7f59a372b410
 Locals at 0x7ffff3c711e0, Previous frame's sp is 0x7ffff3c711f0
 Saved registers:
  rbp at 0x7ffff3c711e0, rip at 0x7ffff3c711e8
#3  0x00007f5999800f7b in eng_output_redraws_next_update_push 
(data=0x7f59a35903c0, surface=0x7f59a372b410, x=0, y=0, w=32, h=32) at 
evas_engine.c:310
310 evas_engine.c: No such file or directory.
    in evas_engine.c
Stack level 3, frame at 0x7ffff3c71230:
 rip = 0x7f5999800f7b in eng_output_redraws_next_update_push 
(evas_engine.c:310); saved rip 0x7f59a1347fef
 called by frame at 0x7ffff3c71380, caller of frame at 0x7ffff3c711f0
 source language c.
 Arglist at 0x7ffff3c71220, args: data=0x7f59a35903c0, surface=0x7f59a372b410, 
x=0, y=0, w=32, h=32
 Locals at 0x7ffff3c71220, Previous frame's sp is 0x7ffff3c71230
 Saved registers:
  rbp at 0x7ffff3c71220, rip at 0x7ffff3c71228
#4  0x00007f59a1347fef in evas_render_updates_internal (e=0x7f59a35b58e0, 
make_updates=1 '\001', do_draw=1 '\001') at evas_render.c:1109
1109    evas_render.c: No such file or directory.
    in evas_render.c
Stack level 4, frame at 0x7ffff3c71380:
 rip = 0x7f59a1347fef in evas_render_updates_internal (evas_render.c:1109); 
saved rip 0x7f59a13484fb
 called by frame at 0x7ffff3c713a0, caller of frame at 0x7ffff3c71230
 source language c.
 Arglist at 0x7ffff3c71370, args: e=0x7f59a35b58e0, make_updates=1 '\001', 
do_draw=1 '\001'
 Locals at 0x7ffff3c71370, Previous frame's sp is 0x7ffff3c71380
 Saved registers:
  rbx at 0x7ffff3c71368, rbp at 0x7ffff3c71370, rip at 0x7ffff3c71378
#5  0x00007f59a13484fb in evas_render_updates (e=0x7f59a35b58e0) at 
evas_render.c:1249
1249    in evas_render.c
Stack level 5, frame at 0x7ffff3c713a0:
 rip = 0x7f59a13484fb in evas_render_updates (evas_render.c:1249); saved rip 
0x7f59a1893c9d
 called by frame at 0x7ffff3c713d0, caller of frame at 0x7ffff3c71380
 source language c.
 Arglist at 0x7ffff3c71390, args: e=0x7f59a35b58e0
 Locals at 0x7ffff3c71390, Previous frame's sp is 0x7ffff3c713a0
 Saved registers:
  rbp at 0x7ffff3c71390, rip at 0x7ffff3c71398
#6  0x00007f59a1893c9d in e_pointer_idler_before () at e_pointer.c:212
212 e_pointer.c: No such file or directory.
    in e_pointer.c
Stack level 6, frame at 0x7ffff3c713d0:
 rip = 0x7f59a1893c9d in e_pointer_idler_before (e_pointer.c:212); saved rip 
0x7f59a186f173
 called by frame at 0x7ffff3c71410, caller of frame at 0x7ffff3c713a0
 source language c.
 Arglist at 0x7ffff3c713c0, args:
 Locals at 0x7ffff3c713c0, Previous frame's sp is 0x7ffff3c713d0
 Saved registers:
  rbp at 0x7ffff3c713c0, rip at 0x7ffff3c713c8
#8  0x00007f59a10c672d in _ecore_idle_enterer_call () at 
ecore_idle_enterer.c:132
132 ecore_idle_enterer.c: No such file or directory.
    in ecore_idle_enterer.c
Stack level 8, frame at 0x7ffff3c71440:
 rip = 0x7f59a10c672d in _ecore_idle_enterer_call (ecore_idle_enterer.c:132); 
saved rip 0x7f59a10c7f18
 called by frame at 0x7ffff3c71470, caller of frame at 0x7ffff3c71410
 source language c.
 Arglist at 0x7ffff3c71430, args:
 Locals at 0x7ffff3c71430, Previous frame's sp is 0x7ffff3c71440
 Saved registers:
  rbp at 0x7ffff3c71430, rip at 0x7ffff3c71438

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to