On Thu, 14 Feb 2013 14:31:15 -0200 pca...@zytor.com (Paulo C. A. Cavalcanti Jr)
said:

> Hi,
> 
> Carsten Haitzler (The Rasterman) <ras...@rasterman.com> writes:
> 
> > has anyone else given this a serious burl? it worked ok with smaller tests,
> > but with e17... it's having a bad day. :(
> 
> I've been using E17 + Cserve2 wih software X11 over the last few weeks
> without any problem.
> 
> About the SVG issue - there is no SVG loader for Cserve2 yet.
> 
> Could you describe a bit more about the problem you're facing ?
> 
> Also, could you provide us any backtrace, or even some other relevant
> information ?

sure! hmm so you have been using it. i found a tonne of cases with im->data2
are null - i protected against it in the code (otherwise we segv).

let's start with the "wrong font" problem:

http://www.enlightenment.org/ss/e-511dbbd127d889.46128484.png

notice the blue title is bold italic.. where it shouldnt be italic at all...
somehow cserve2 is messing up fonts here.

while i'm at it with fonts+cserve2:

ERR<32754>:evas_cserve2_bin bin/evas/evas_cserve2_fonts.c:259 _font_slave_load
() Could not load font source:
'/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'
ERR<32754>:evas_cserve2_bin bin/evas/evas_cserve2_fonts.c:259 _font_slave_load
() Could not load font source:
'/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'
ERR<32754>:evas_cserve2_bin bin/evas/evas_cserve2_fonts.c:259 _font_slave_load
() Could not load font source:
'/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'
ERR<32754>:evas_cserve2_bin bin/evas/evas_cserve2_fonts.c:259 _font_slave_load
() Could not load font source:
'/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'

that ttf is a valid ttf. it has glyphs. i can view them in various tools and
evas itself has never had a problem before. just fyi. this font is basically
full of symbols.

then later on i get:

ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:1026 Failed to wait loading
font '/usr/share/fonts/truetype/ttf-marvosym/marvosym.ttf'.

then the data2 problems:

ERR<evas_main>lib/evas/cache2/evas_cache2.c:958 Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/dd/ee1ad4a432d1857b15debc1237c95ba91629ec-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/bd/5a28af69477865f3a0ef0f1ba13611666f2779-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/80/110e4eb4bfbd4a9d302e0ac70598162a32efc5-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/d0/d44a72b1712985dc3de0936460968a4b9189d7-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/12/1a1e8d1b8afe450d0edcdaf759d921555acb53-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/85/07ddca9f48e45dee62c0dced2ae14443abbe8c-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/b8/bc46ca9d2ae90536d67f415a52f226c232256b-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/d0/d44a72b1712985dc3de0936460968a4b9189d7-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/12/1a1e8d1b8afe450d0edcdaf759d921555acb53-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958
Failed to load data for image
'/home/raster/T/.e/e/fileman/thumbnails/17/f955d55e74adb8e37c100a0e84045c88049ed3-128x128.thm'
'/thumbnail/data'. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file.
...
ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't send LOAD message to
cserve2. ERR<evas_main>lib/evas/cache2/evas_cache2.c:958 Failed to load data
for image '/usr/share/pixmaps/sylpheed.png' ''.
ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No data2 for opened file.
ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't send LOAD message to
cserve2. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No data2 for
opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't send LOAD
message to cserve2. ERR<evas_main>lib/evas/cserve2/evas_cs2_client.c:611 No
data2 for opened file. ERR<evas_main>lib/evas/cache2/evas_cache2.c:964 Couldn't
send LOAD message to cserve2. ERR<>lib/eina/eina_file.c:1104 safety check
failed: file == NULL

... etc.

if i didn't have it safely check for data2 and return.. it'd be segv land. now
how do i reproduce this? just open this dir in efm and scroll around:

http://www.enlightenment.org/~raster/png.tgz

its simple icons from the faenza theme (pngs).

this leads then after some more scrolling around to e hanging:

(gdb) info threads
  Id   Target Id         Frame
  2    Thread 0xb7571b40 (LWP 372) "enlightenment" 0x00cf61b2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2
* 1    Thread 0xb7773780 (LWP 32755) "enlightenment" 0x00cf61b2 in
_dl_sysinfo_int80 () from /lib/ld-linux.so.2

(gdb) bt
#0  0x00cf61b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x006be9db in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x00568153 in _evas_async_events_process_single () at
#lib/evas/canvas/evas_async_events.c:125 3  0x00568385 in
#evas_async_events_process_blocking () at
#lib/evas/canvas/evas_async_events.c:212 4  0x00563480 in
#evas_render_rendering_wait (evas=0x88acef4) at
#lib/evas/canvas/evas_render.c:1394 5  0x005655fb in _canvas_render_idle_flush
#(eo_e=0x88acea8, _pd=0x88acef4, list=0xbfb38568) at
#lib/evas/canvas/evas_render.c:2160 6  0x00bbb2e2 in _eo_op_internal
#(obj=0x88acea8, op_type=EO_OP_TYPE_REGULAR, op=112, p_list=0xbfb38568) at
#lib/eo/eo.c:363 7  0x00bbb435 in _eo_dov_internal (obj=0x88acea8,
#op_type=EO_OP_TYPE_REGULAR, p_list=0xbfb38568) at lib/eo/eo.c:403 8
#0x00bbb614 in eo_do_internal (obj=0x88acea8, op_type=EO_OP_TYPE_REGULAR) at
#lib/eo/eo.c:434 9  0x005655cf in evas_render_idle_flush (eo_e=0x88acea8) at
#lib/evas/canvas/evas_render.c:2152 10 0x00b7c25c in _ecore_evas_cb_idle_flush
#(data=0x88ab658) at lib/ecore_evas/ecore_evas.c:2482 11 0x00169ebf in
#_ecore_call_task_cb (func=0xb7c229 <_ecore_evas_cb_idle_flush>,
#data=0x88ab658) at lib/ecore/ecore_private.h:300 12 0x0016b4d6 in
#_ecore_timer_expired_call (when=92406.700860284007) at
#lib/ecore/ecore_timer.c:912 13 0x0016b373 in _ecore_timer_expired_timers_call
#(when=92406.700860284007) at lib/ecore/ecore_timer.c:866 14 0x00167947 in
#_ecore_main_loop_iterate_internal (once_only=0) at lib/ecore/ecore_main.c:1825
#15 0x00165eeb in ecore_main_loop_begin () at lib/ecore/ecore_main.c:956 16
#0x08077379 in main (argc=1, argv=0xbfb39864) at e_main.c:1070

(gdb) bt
#0  0x00cf61b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x006bf3b1 in pause () at ../sysdeps/unix/syscall-template.S:82
#2  0x0807aa6d in e_alert_show () at e_alert.c:38
#3  0x081875d7 in e_sigseg_act (x=11, info=0xb7570bec, data=0xb7570c6c) at
#e_signals.c:71 4  <signal handler called>
#5  0x0058a57f in _op_blend_mas_c_dp_mmx (s=0x0, m=0x1d <Address 0x1d out of
#bounds>, c=192, d=0xb58f2c0c, l=3) at
#bounds>lib/evas/common/./evas_op_blend/op_blend_mask_color_i386.c:13 6
#bounds>0x0059d3a7 in evas_common_font_rgba_draw (dst=0x8fe3e20, dc=0xb75711cc,
#bounds>x=22, y=26, glyphs=0x8ee3b60, func=0x58a525 <_op_blend_mas_c_dp_mmx>,
#bounds>ext_x=22, ext_y=18, ext_w=4, ext_h=11, im_w=34, im_h=36)
    at lib/evas/common/evas_font_draw.c:153
#7  0x005cd436 in _draw_thread_font_draw (data=0x930f5e8) at
#modules/evas/engines/software_generic/evas_engine.c:2009 8  0x005b8fc4 in
#evas_thread_worker_func (data=0x0, thread=3075939136) at
#lib/evas/common/evas_thread_render.c:107 9  0x00211813 in _eina_internal_call
#(context=0x875bcb8) at lib/eina/eina_thread.c:280 10 0x006b7d4c in
#start_thread (arg=0xb7571b40) at pthread_create.c:308 11 0x008e7ace in clone
#() at ../sysdeps/unix/sysv/linux/i386/clone.S:130

something font-wise gone bad (memory/glyph data for fonts not there/wrong).

cserve2 works fine - mostly.. for a lot of things.. and then... begins to
"crack under pressure" and things degrade pretty fast then. cedric has found
expedite problems too now.

did you ever see anything like the above?

> -- 
> Paulo C. A. Cavalcanti Jr, Intel Open Source Technology Center
> I speak only for myself.
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> 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


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to