'lo!

I was trying to make a simple .ufrawrc to augment my command line
switches to ufraw-batch because I couldn't find a way to specify an input
profile with a command line switch, and I noticed that it seems that any
.ufrawrc I use without a <ChannelMultipliers> line causes a Segmentation
Fault when combined with the --wb=camera switch.

For example:

$ mv .ufrawrc .ufrawrc.backup
$ echo '<?xml version="1.0" encoding="utf-8"?>' > .ufrawrc
$ ufraw-batch --wb=camera
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
UFRaw::Image::SetWB (this=0x814e070, mode=0x0) at ufraw_settings.cc:281
281         if (uf->rgbMax == 0) { // Raw file was not loaded yet.
(gdb) print uf
$1 = (ufraw_data *) 0x10
(gdb) bt
#0  UFRaw::Image::SetWB (this=0x814e070, mode=0x0) at ufraw_settings.cc:281
#1  0x0806b3d1 in UFRaw::WB::OriginalValueChangedEvent (this=0x814cae0) at 
ufraw_settings.cc:114
#2  0x08068f55 in _UFObject::CallValueChangedEvent (this=0x814caf0, 
that=0x814cae0) at ufobject.cc:50
#3  0x0806b319 in UFRaw::CommandLineImage::Event (this=0x814e070, 
type=uf_element_added) at ufraw_settings.cc:382
#4  0x08066df8 in UFGroup::operator<< (this=0x814e070, object=0x814cae0) at 
ufobject.cc:742
#5  0x08063bd3 in ufgroup_add (group=0x814e070, object=0x814cae0) at 
ufobject.cc:1039
#6  0x08059f66 in ufraw_process_args ()
#7  0xfffdd89c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) x/10x &uf     
0x814e078:      0x00000010      0x00000049      0x00000000      0x65760077
0x814e088:      0x6f697372      0x31223d6e      0x2022302e      0x6f636e65
0x814e098:      0x676e6964      0x7475223d

This is a build from current CVS.  This is occurring on a sid x86 box but
for some reason isn't occurring on an amd64 box.

Simon-

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to