On Sun, 20 Jun 2010, Carsten Haitzler (The Rasterman) 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).

demo_state can be a char *. Then pointer arithmetic should work correctly, 
and no more cast. Or just use long

Vincent

>
>>> 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. :)
>
>>> but that bt there is a thread waiting to be woken up - ie the pthread
>>> condition to go "true" and let it continue and do things. why this is
>>> the case - that bt doesn't say. that involved finding out where every
>>> other thread is at and all the starts of things before and leading up
>>> to this condition. thats a lot of things that need to be looked at.
>>>
>>>> Thanks for trying,
>>>>
>>>> If it were that easy to reproduce I guess it would have been fixed
>>>> in the mean time. :) Enlightenment svn is an amazing repo for that
>>>> matter.
>>>>
>>>> http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg25610.html
>>>> looks somewhat similar. amd64, it says selinux disabled which
>>>> probably means a hardened toolchain and the bt looks familiar.
>>>> I do not have any la files as they get stripped by the ebuilds
>>>> during installation. I'll see if I can narrow it further down. The
>>>> pointer warnings could be relevant here.
>>>>
>>>> Any hints on where to start?
>>>>
>>>>
>>>> I just realized attachments do no work. :)
>>>>
>>>> Full stderr log of the evas build with threads use flag enabled in
>>>> the hope formatting wont get messed up to much:
>>>> "
>>>>  ^[[33;01m*^[[0m You have enabled both 'X' and 'xcb', so we will
>>>> use^M ^[[33;01m*^[[0m X as it's considered the most stable for
>>>> evas^M ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
>>>> --mandir=/usr/share/man --infodir=/usr/share/info
>>>> --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
>>>> --libdir=/usr/lib64 --enable-cpu-mmx --enable-cpu-sse
>>>> --disable-cpu-altivec --enable-pthreads --enable-async-events
>>>> --enable-async-preload --enable-async-render --enable-fontconfig
>>>> --disable-fribidi --disable-evas-cserve --enable-cpu-c
>>>> --enable-scale-sample --enable-scale-smooth --enable-convert-yuv
>>>> --enable-buffer --disable-software-gdi --disable-software-ddraw
>>>> --disable-direct3d --disable-quartz --disable-gl-glew
>>>> --disable-directfb --disable-fb --disable-software-sdl
>>>> --enable-software-xlib=yes --enable-xrender-x11=yes
>>>> --enable-software-16-x11=yes --disable-software-xcb
>>>> --disable-xrender-xcb --disable-gl-x11 --disable-software-16-ddraw
>>>> --disable-software-16-wince --disable-image-loader-edb
>>>> --enable-image-loader-eet=yes --enable-font-loader-eet=yes
>>>> --disable-image-loader-gif --enable-image-loader-jpeg=yes
>>>> --disable-image-loader-pmaps --enable-image-loader-png=yes
>>>> --disable-image-loader-svg --disable-image-loader-tiff
>>>> --disable-image-loader-xpm --enable-convert-8-rgb-332
>>>> --enable-convert-8-rgb-666 --enable-convert-8-rgb-232
>>>> --enable-convert-8-rgb-222 --enable-convert-8-rgb-221
>>>> --enable-convert-8-rgb-121 --enable-convert-8-rgb-111
>>>> --enable-convert-16-rgb-565 --enable-convert-16-rgb-555
>>>> --enable-convert-16-rgb-444 --enable-convert-16-rgb-rot-0
>>>> --enable-convert-16-rgb-rot-270 --enable-convert-16-rgb-rot-90
>>>> --enable-convert-24-rgb-888 --enable-convert-24-bgr-888
>>>> --enable-convert-32-rgb-8888 --enable-convert-32-rgbx-8888
>>>> --enable-convert-32-bgr-8888 --enable-convert-32-bgrx-8888
>>>> --enable-convert-32-rgb-rot-0 --enable-convert-32-rgb-rot-270
>>>> --enable-convert-32-rgb-rot-90 --enable-evas-magic-debug
>>>> --disable-doc --disable-static --build=x86_64-pc-linux-gnu^M make
>>>> -j2^M evas_callbacks.c: In function
>>>> '_evas_post_event_callback_call':^M evas_callbacks.c:20: warning:
>>>> passing argument 1 of 'pc->func' discards qualifiers from pointer
>>>> target type^M evas_object_textblock.c: In function
>>>> 'evas_textblock_style_set':^M evas_object_textblock.c:2580:
>>>> warning: ignoring return value of
>>>> 'evas_object_textblock_text_markup_get', declared with attribute
>>>> warn_unused_result^M evas_object_textblock.c: In function
>>>> 'evas_object_textblock_style_set':^M evas_object_textblock.c:2723:
>>>> warning: ignoring return value of
>>>> 'evas_object_textblock_text_markup_get', declared with attribute
>>>> warn_unused_result^M evas_object_textblock.c: In function
>>>> 'evas_textblock_cursor_format_prepend':^M
>>>> evas_object_textblock.c:4108: warning: assignment from incompatible
>>>> pointer type^M evas_convert_rgb_8.c: In function
>>>> 'evas_common_convert_rgba_to_8bpp_rgb_221_dith':^M
>>>> evas_convert_rgb_8.c:167: warning: right shift count is negative^M
>>>> evas_convert_rgb_8.c: In function
>>>> 'evas_common_convert_rgba_to_8bpp_rgb_121_dith':^M
>>>> evas_convert_rgb_8.c:200: warning: right shift count is negative^M
>>>> evas_convert_rgb_8.c: In function
>>>> 'evas_common_convert_rgba_to_8bpp_rgb_111_dith':^M
>>>> evas_convert_rgb_8.c:233: warning: right shift count is negative^M
>>>> evas_pipe.c:962: warning: conflicting types for
>>>> 'evas_common_pipe_flush'^M evas_pipe.c:765: warning: previous
>>>> implicit declaration of 'evas_common_pipe_flush' was here^M
>>>> evas_pipe.c: In function 'evas_common_pipe_image_draw_do':^M
>>>> evas_pipe.c:1499: warning: passing argument 1 of
>>>> 'evas_common_rgba_image_scalecache_do' from incompatible pointer
>>>> type^M evas_pipe.c:1542: warning: passing argument 1 of
>>>> 'evas_common_rgba_image_scalecache_do' from incompatible pointer
>>>> type^M evas_engine.c: In function 'eng_image_draw':^M
>>>> evas_engine.c:780: warning: passing argument 1 of
>>>> 'evas_common_rgba_image_scalecache_prepare' from incompatible
>>>> pointer type^M evas_engine.c: In function '_output_xlib_setup':^M
>>>> evas_engine.c:212: warning: assignment from incompatible pointer
>>>> type^M evas_engine.c:213: warning: assignment from incompatible
>>>> pointer type^M evas_engine.c:214: warning: assignment from
>>>> incompatible pointer type^M evas_engine.c:232: warning: assignment
>>>> from incompatible pointer type^M evas_engine.c:252: warning:
>>>> assignment from incompatible pointer type^M evas_engine.c:260:
>>>> warning: assignment from incompatible pointer type^M
>>>> evas_engine.c:261: warning: assignment from incompatible pointer
>>>> type^M evas_engine.c: In function 'module_open':^M
>>>> evas_engine.c:1554: warning: assignment from incompatible pointer
>>>> type^M evas_engine.c:1577: warning: assignment from incompatible
>>>> pointer type^M evas_image_load_png.c: In function
>>>> 'evas_image_load_file_data_png':^M evas_image_load_png.c:154:
>>>> warning: ignoring return value of 'fread', declared with attribute
>>>> warn_unused_result^M make -j2 install
>>>> DESTDIR=/var/tmp/paludis/media-libs-evas-9999/image/^M libtool:
>>>> install: warning: remember to run `libtool --finish /usr/lib64'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/software_generic/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/buffer/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/software_16/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/software_16_x11/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/software_x11/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/engines/xrender_x11/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/loaders/eet/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/loaders/jpeg/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/loaders/png/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/loaders/bmp/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/loaders/tga/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/savers/eet/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/savers/jpeg/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> libtool: install: warning: relinking `module.la'^M libtool:
>>>> install: warning: remember to run `libtool
>>>> --finish 
>>>> /usr/lib64/evas/modules/savers/png/linux-gnu-x86_64-ver-pre-svn-06'^M
>>>> "
>>>>
>>>>
>>>>
>>>> On Sun, 20 Jun 2010 15:34:56 +0900
>>>> Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:
>>>>
>>>>> On Sat, 19 Jun 2010 23:14:49 +0200 Ralph Sennhauser
>>>>> <gentoo.s...@bluewin.ch> said:
>>>>>
>>>>> i have it enabled and e works just fine. (async render in build -
>>>>> but not actually enabled runtime). if it can't be reproduced...
>>>>> it can't be debugged. so it works for me (tm). (ubuntu 10.04
>>>>> 32bit)
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I use the live ebuilds from the efl repository to install
>>>>>> enlightenment. When I enable the threads use flag enlightenment
>>>>>> hangs at startup. Actually it's only the option
>>>>>> --enable-async-render which when set causes the hang. The
>>>>>> problem persists for at least 2 weeks.
>>>>>>
>>>>>> Some system informations to work with:
>>>>>>
>>>>>> Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.3.4,
>>>>>> glibc-2.10.1-r1, 2.6.34-gentoo x86_64)
>>>>>> =================================================================
>>>>>> System uname:
>>>>>> Linux-2.6.34-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3700
>>>>>> +-with-gentoo-1.12.13 Timestamp of tree: Sat, 19 Jun 2010
>>>>>> 11:45:01 +0000 distcc[22855] (dcc_trace_version) distcc 3.1
>>>>>> x86_64-pc-linux-gnu; built Sep 11 2009 17:38:40 [disabled]
>>>>>> app-shells/bash:     4.0_p37 dev-java/java-config: 2.1.10
>>>>>> dev-lang/python:     2.6.5-r2, 3.1.2-r3 dev-util/cmake:
>>>>>> 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:
>>>>>> 1.6-r2 sys-devel/autoconf:  2.13, 2.65
>>>>>> sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.9.6-r3, 1.10.3, 1.11.1
>>>>>> sys-devel/binutils:  2.20.1-r1
>>>>>> sys-devel/gcc:       4.3.4
>>>>>> sys-devel/gcc-config: 1.4.1
>>>>>> sys-devel/libtool:   2.2.6b
>>>>>> virtual/os-headers:  2.6.30-r1
>>>>>>
>>>>>>
>>>>>> Back trace for threads use flag enabled:
>>>>>> "
>>>>>> #0  0x00007f05d37d4a9c in pthread_barrier_wait ()
>>>>>> from /lib/libpthread.so.0 #1  0x00007f05d5a436cb in
>>>>>> evas_common_pipe_map4_begin (root=0x7f05d7e9d480) #at
>>>>>> evas_pipe.c:1795 2  0x00007f05cdf0898e in
>>>>>> #eng_output_redraws_next_update_push (data=0x7f05d7d023d0,
>>>>>> surface=0x0, x=0, #y=-1, w=32, h=32) at evas_engine.c:310 3
>>>>>> 0x00007f05d59f1bfb in #evas_render_updates_internal
>>>>>> (e=0x7f05d7d278d0, make_updates=1 '\001', #do_draw=1 '\001') at
>>>>>> evas_render.c:1109 4  0x00007f05d5efdec8 in
>>>>>> #e_pointer_idler_before () at e_pointer.c:212 5
>>>>>> 0x00007f05d5ee1405 in #_e_main_cb_idler_before (data=<value
>>>>>> optimized out>) at e_main.c:1570 6 #0x00007f05d5783dd3 in
>>>>>> _ecore_idle_enterer_call () at #ecore_idle_enterer.c:132 7
>>>>>> 0x00007f05d57850dd in #_ecore_main_loop_iterate_internal
>>>>>> (once_only=0) at ecore_main.c:770 8 #0x00007f05d578523f in
>>>>>> ecore_main_loop_begin () at ecore_main.c:166 9
>>>>>> #0x00007f05d5ee4b25 in main (argc=0, argv=0x7f05d7e76a70) at
>>>>>> e_main.c:1109 "
>>>>>>
>>>>>> Additional output to stderr with threads use flag enabled:
>>>>>>
>>>>>> evas_pipe.c:962: warning: conflicting types for
>>>>>> 'evas_common_pipe_flush' evas_pipe.c:765: warning: previous
>>>>>> implicit declaration of 'evas_common_pipe_flush' was here
>>>>>> evas_pipe.c: In function 'evas_common_pipe_image_draw_do':
>>>>>> evas_pipe.c:1499: warning: passing argument 1 of
>>>>>> 'evas_common_rgba_image_scalecache_do' from incompatible pointer
>>>>>> type evas_pipe.c:1542: warning: passing argument 1 of
>>>>>> 'evas_common_rgba_image_scalecache_do' from incompatible pointer
>>>>>> type evas_engine.c: In function 'eng_image_draw':
>>>>>> evas_engine.c:780: warning: passing argument 1 of
>>>>>> 'evas_common_rgba_image_scalecache_prepare' from incompatible
>>>>>> pointer type
>>>>>>
>>>>>>
>>>>>> Attached to the mail there are the full outputs to stderr of
>>>>>> both builds of evas. If there is anything else I can provide to
>>>>>> help find the problem please ask.
>>>>>>
>>>>>> Cheers.
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
> ------------------------------------------------------------------------------
> 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
>
>

------------------------------------------------------------------------------
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