> Quoting Martin Egger <[EMAIL PROTECTED]>:
>> This patch complies with gcc on ia32, but then RS crashes with a segmentation
>> fault  when the first image is loaded.
> 
> If you have gdb installed:
> (sh) $ gdb rawstudio
> (wait for it to crash)
> (gdb) $ bt
> 
> Copy paste the output of this please. It will help me find the buggy function.

OK, I finally realized that it needs a 'r' command after loading rawstudio into
gdb :-(

Here is the output:

[EMAIL PROTECTED]:~$ gdb rawstudio
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/local/bin/rawstudio
[Thread debugging using libthread_db enabled]
[New Thread -1221953840 (LWP 6458)]
[New Thread -1234052208 (LWP 6461)]
[New Thread -1242444912 (LWP 6462)]

(rawstudio:6458): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non
scrollable widget use gtk_scrolled_window_add_with_viewport() instead
[Thread -1234052208 (LWP 6461) exited]
[Thread -1242444912 (LWP 6462) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221953840 (LWP 6458)]
0xb76a1637 in cmsDoTransform () from /usr/lib/liblcms.so.1
(gdb) bt
#0  0xb76a1637 in cmsDoTransform () from /usr/lib/liblcms.so.1
#1  0xb7bfdb7c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x08418c88 in ?? ()
#3  0xbfb475f8 in ?? ()
#4  0xbfb475d0 in ?? ()
#5  0x00000800 in ?? ()
#6  0x00000600 in ?? ()
#7  0xbfb47628 in ?? ()
#8  0x080945af in transform_cms8_sse (rct=0x8251198, width=498,
    height=<value optimized out>, in=0xb3100008, in_rowstride=2048,
    out=0xb308b008, out_rowstride=1536) at rs-color-transform.c:913
#9  0x08095acf in render_buffer (preview=0x80e8830, rect=0xbfb47758)
    at rs-preview-widget.c:787
#10 0x08096732 in rs_preview_widget_redraw (preview=0x80e8830, rect=0xbfb47758)
    at rs-preview-widget.c:1143
#11 0x0805c010 in icon_activated (instance=0x83ea3b8,
    name=0x86e8760 "/home/scratch/temp/Alaska/Alaska-060820-221036-EOS-1D Mark
II-1487.CR2", rs=0x80f04d8) at gtk-interface.c:252
#12 0xb77621a9 in g_cclosure_marshal_VOID__STRING ()
   from /usr/lib/libgobject-2.0.so.0
#13 0xb775562b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb7766103 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x083fba00 in ?? ()
#16 0x00000000 in ?? ()
(gdb) quit


_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to