Re: [E-devel] imlib2, AMD64 segmentation fault in blend_rgba_to_rgba

2005-08-22 Thread The Rasterman
On Sat, 20 Aug 2005 10:29:52 + Tiago Victor Gehring
[EMAIL PROTECTED] babbled:

 Hello,
 
 since upgrading to imlib2 CVS I'm getting a segmentation fault int
 function __imlib_amd64_blend_rgba_to_rgba; I've seen that the code was
 changed to include specyfic optimizations for AMD64 and I tryed to debug
 the code but the problem lies in somewhere in the assembly code, so I
 wasn't really able to identify it. 
 If I recompile imlib2 with --disable-amd64 all is fine (BTW I've noticed
 this problem using 'feh' image viewer);
 Here's the a backtrace of the execution:

seeing as i have no amd64 box, i'll have tyo rely on you to track it down
further unfortunately :(

 
 
 Starting program: /tmp/feh/feh/src/feh
 -dF /mnt/comum/fotos/05_08_wacken/
 
 Program received signal SIGSEGV, Segmentation fault.
 0x2b04b83f in __imlib_amd64_blend_rgba_to_rgba ()
 from /usr/lib64/libImlib2.so.1
 #0  0x2b04b83f in __imlib_amd64_blend_rgba_to_rgba ()
 from /usr/lib64/libImlib2.so.1
 #1  0x2b00a4f6 in __imlib_BlendRGBAToData (src=0x55b4e0,
 src_w=338, src_h=16, dst=0x54ca60, dst_w=341, 
 dst_h=44, sx=0, sy=0, dx=2, dy=2, w=338, h=16, blend=1 '\001',
 merge_alpha=1 '\001', cm=0x0, op=OP_COPY, 
 rgb_src=0 '\0') at blend.c:1710
 #2  0x2b00a7eb in __imlib_BlendImageToImage (im_src=0x5496b0,
 im_dst=0x549630, aa=0 '\0', 
 blend=1 '\001', merge_alpha=1 '\001', ssx=0, ssy=0, ssw=338, ssh=16,
 ddx=2, ddy=2, ddw=338, ddh=16, cm=0x0, 
 op=OP_COPY, clx=0, cly=0, clw=0, clh=0) at blend.c:1762
 #3  0x2b012d90 in imlib_render_str (im=0x549630, fn=0x5446c0,
 drx=2, dry=2, 
 text=0x52d290 /mnt/comum/fotos/05_08_wacken/img_0379.jpg, r=0
 '\0', g=0 '\0', b=0 '\0', a=255 'ÿ', 
 dir=0 '\0', angle=0, retw=0x0, reth=0x0, blur=0, nextx=0x0,
 nexty=0x0, op=OP_COPY, clx=0, cly=0, clw=0, 
 clh=0) at font_draw.c:131
 #4  0x2affeaf3 in imlib_text_draw_with_return_metrics (x=2,
 y=2, 
 text=0x52d290 /mnt/comum/fotos/05_08_wacken/img_0379.jpg,
 width_return=0x0, height_return=0x0, 
 horizontal_advance_return=0x0, vertical_advance_return=0x0) at
 api.c:3113
 #5  0x2affe850 in imlib_text_draw (x=2, y=2, text=0x52d290
 /mnt/comum/fotos/05_08_wacken/img_0379.jpg)
 at api.c:3065
 #6  0x0040e3d9 in feh_draw_filename (w=0x52a710) at imlib.c:724
 #7  0x00407eb8 in winwidget_render_image (winwid=0x52a710,
 resize=800, alias=1) at winwidget.c:548
 #8  0x0040892c in winwidget_create_from_file (list=0x52d2f0, 
 name=0x52a6c0 feh [1 of 138]
 - /mnt/comum/fotos/05_08_wacken/img_0379.jpg, type=1 '\001')
 at winwidget.c:149
 #9  0x0041128b in init_slideshow_mode () at slideshow.c:64
 #10 0x0040606c in main (argc=3, argv=0x7fe3de98) at
 main.c:81
 
 -
 
 Thanks,
 Tiago Gehring
 
 
   
   
   
 ___ 
 Yahoo! Acesso Grátis - Internet rápida e grátis. 
 Instale o discador agora! http://br.acesso.yahoo.com/
 
 
 
 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 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)[EMAIL PROTECTED]
裸好多  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] imlib2, AMD64 segmentation fault in blend_rgba_to_rgba

2005-08-20 Thread Tiago Victor Gehring
Hello,

since upgrading to imlib2 CVS I'm getting a segmentation fault int
function __imlib_amd64_blend_rgba_to_rgba; I've seen that the code was
changed to include specyfic optimizations for AMD64 and I tryed to debug
the code but the problem lies in somewhere in the assembly code, so I
wasn't really able to identify it. 
If I recompile imlib2 with --disable-amd64 all is fine (BTW I've noticed
this problem using 'feh' image viewer);
Here's the a backtrace of the execution:



Starting program: /tmp/feh/feh/src/feh
-dF /mnt/comum/fotos/05_08_wacken/

Program received signal SIGSEGV, Segmentation fault.
0x2b04b83f in __imlib_amd64_blend_rgba_to_rgba ()
from /usr/lib64/libImlib2.so.1
#0  0x2b04b83f in __imlib_amd64_blend_rgba_to_rgba ()
from /usr/lib64/libImlib2.so.1
#1  0x2b00a4f6 in __imlib_BlendRGBAToData (src=0x55b4e0,
src_w=338, src_h=16, dst=0x54ca60, dst_w=341, 
dst_h=44, sx=0, sy=0, dx=2, dy=2, w=338, h=16, blend=1 '\001',
merge_alpha=1 '\001', cm=0x0, op=OP_COPY, 
rgb_src=0 '\0') at blend.c:1710
#2  0x2b00a7eb in __imlib_BlendImageToImage (im_src=0x5496b0,
im_dst=0x549630, aa=0 '\0', 
blend=1 '\001', merge_alpha=1 '\001', ssx=0, ssy=0, ssw=338, ssh=16,
ddx=2, ddy=2, ddw=338, ddh=16, cm=0x0, 
op=OP_COPY, clx=0, cly=0, clw=0, clh=0) at blend.c:1762
#3  0x2b012d90 in imlib_render_str (im=0x549630, fn=0x5446c0,
drx=2, dry=2, 
text=0x52d290 /mnt/comum/fotos/05_08_wacken/img_0379.jpg, r=0
'\0', g=0 '\0', b=0 '\0', a=255 'ÿ', 
dir=0 '\0', angle=0, retw=0x0, reth=0x0, blur=0, nextx=0x0,
nexty=0x0, op=OP_COPY, clx=0, cly=0, clw=0, 
clh=0) at font_draw.c:131
#4  0x2affeaf3 in imlib_text_draw_with_return_metrics (x=2,
y=2, 
text=0x52d290 /mnt/comum/fotos/05_08_wacken/img_0379.jpg,
width_return=0x0, height_return=0x0, 
horizontal_advance_return=0x0, vertical_advance_return=0x0) at
api.c:3113
#5  0x2affe850 in imlib_text_draw (x=2, y=2, text=0x52d290
/mnt/comum/fotos/05_08_wacken/img_0379.jpg)
at api.c:3065
#6  0x0040e3d9 in feh_draw_filename (w=0x52a710) at imlib.c:724
#7  0x00407eb8 in winwidget_render_image (winwid=0x52a710,
resize=800, alias=1) at winwidget.c:548
#8  0x0040892c in winwidget_create_from_file (list=0x52d2f0, 
name=0x52a6c0 feh [1 of 138]
- /mnt/comum/fotos/05_08_wacken/img_0379.jpg, type=1 '\001')
at winwidget.c:149
#9  0x0041128b in init_slideshow_mode () at slideshow.c:64
#10 0x0040606c in main (argc=3, argv=0x7fe3de98) at
main.c:81

-

Thanks,
Tiago Gehring





___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel