Hi, I had a crash in lensfun so when using ufraw

Program received signal SIGSEGV, Segmentation fault.
0x003ed001 in _lf_detect_cpu_features () at libs/lensfun/cpuid.cpp:73
73                          cpuflags |= LF_CPU_FLAG_MMX;
(gdb) bt
#0  0x003ed001 in _lf_detect_cpu_features () at libs/lensfun/cpuid.cpp:73
#1  0x003f75f6 in lfModifier::AddCoordCallbackDistortion (this=0x836bb38, 
model=..., reverse=true) at libs/lensfun/mod-coord.cpp:56
#2  0x003fb55a in lfModifier::Initialize (this=0x836bb38, lens=0x8349050, 
format=LF_PF_U16, focal=300, aperture=5.5999999, distance=1, scale=1, 
    targeom=LF_UNKNOWN, flags=58, reverse=true) at libs/lensfun/modifier.cpp:46
#3  0x08072afc in ufraw_convert_prepare_transform (uf=0x820c468, width=3900, 
height=2613, reverse=1, scale=1) at ufraw_lensfun.cc:676
#4  0x08058138 in ufraw_convert_prepare_transform_buffer (uf=0x820c468, 
img=0xbfebfbff, width=58269, height=2613) at ufraw_ufraw.c:1360
#5  0x080598a2 in ufraw_convert_prepare_buffers (uf=0x820c468, 
phase=ufraw_transform_phase) at ufraw_ufraw.c:1471
#6  0x0805ac57 in ufraw_get_image (uf=0x820c468, rc=0xbfff4c28, 
conf=0xbffdf440, cmd=0xbffea034) at ufraw_ufraw.c:1534
#7  ufraw_get_image_dimensions (uf=0x820c468, rc=0xbfff4c28, conf=0xbffdf440, 
cmd=0xbffea034) at ufraw_ufraw.c:356
#8  ufraw_config (uf=0x820c468, rc=0xbfff4c28, conf=0xbffdf440, cmd=0xbffea034) 
at ufraw_ufraw.c:573
#9  0x080a6e27 in ufraw_chooser (rc=0xbfff4c28, conf=0xbffdf440, 
cmd=0xbffea034, defPath=0x0) at ufraw_chooser.c:156
#10 0x08053c8a in main (argc=1, argv=0xbffff8e4) at ufraw.c:93
(gdb) info locals
bx = 2097734
dx = 3219913727
ax = 3893118391
cx = 58269
lock = {runtime_mutex = 0x0, static_mutex = {pad = 
"\001\000\000\000\000\000\000\000:\\\000\000\000\000\000\000\001\000\000\000\000\000\000",
 
    dummy_double = 4.9406564584124654e-324, dummy_pointer = 0x1, dummy_long = 
1}}
cpuflags = 0
(gdb) quit

 I modified lensfun-0.2.5/libs/lensfun/cpuid.cpp

guint _lf_detect_cpu_features ()                                                
                                                                             
{                                                                               
                                                                             
return 
LF_CPU_FLAG_MMX|LF_CPU_FLAG_SSE|LF_CPU_FLAG_SSE2|LF_CPU_FLAG_CMOV|LF_CPU_FLAG_SSSE3;
 
} 

 and everything works fine now

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to