#326 ufraw-0.18 segfault on open DarkFrame-file.

closed-fixed
nobody
None
7
2013-02-24
2012-10-17
No

open *.ufraw file (created with ufraw-0.16) in ufraw-0.18, Result is segfault:

# ufraw IMG_3141.ufraw
# zsh: segmentation fault ufraw IMG_3141.ufraw

In gdb bt:

Program received signal SIGSEGV, Segmentation fault.
0xb73cca2e in __dynamic_cast () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libstdc++.so.6
(gdb) bt
#0 0xb73cca2e in __dynamic_cast () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libstdc++.so.6
#1 0x0806c3cb in UFObject::operator UFGroup& (this=0x0) at ufobject.cc:114
#2 0x08075935 in UFRaw::ufraw_convert_prepare_transform (uf=0x82545b0, width=2602, height=3908, reverse=1, scale=1) at ufraw_lensfun.cc:708
#3 0x08058ac0 in ufraw_convert_prepare_transform_buffer (uf=0x82545b0, img=0x8254720, width=2602, height=3908) at ufraw_ufraw.c:1349
#4 0x0805933d in ufraw_convert_prepare_buffers (uf=0x82545b0, phase=ufraw_transform_phase) at ufraw_ufraw.c:1459
#5 0x08059546 in ufraw_get_image (uf=0x82545b0, phase=ufraw_transform_phase, bufferok=0) at ufraw_ufraw.c:1522
#6 0x0805559f in ufraw_get_image_dimensions (uf=0x82545b0) at ufraw_ufraw.c:356
#7 0x080569b0 in ufraw_load_raw (uf=0x82545b0) at ufraw_ufraw.c:656
#8 0x080552d2 in ufraw_load_darkframe (uf=0x821eaa0) at ufraw_ufraw.c:299
#9 0x08056565 in ufraw_config (uf=0x821eaa0, rc=0xbfff3f90, conf=0xbffde790, cmd=0xbffe9390) at ufraw_ufraw.c:571
#10 0x080547e8 in main (argc=2, argv=0xbfffec54) at ufraw.c:120
(gdb)

Discussion

  • Semenov Sergey

    Semenov Sergey - 2012-10-17

    ufraw-file from 0.16 version of ufraw

     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17

    I am try open ufraw file (0.18 version) in ufraw-0.18 - it opened success.
    Then I open DarkFile.CR2, result - segfault.

    gdb bt:

    Program received signal SIGSEGV, Segmentation fault.
    0xb73cca2e in __dynamic_cast () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libstdc++.so.6
    (gdb) bt
    #0 0xb73cca2e in __dynamic_cast () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/libstdc++.so.6
    #1 0x0806c3cb in UFObject::operator UFGroup& (this=0x0) at ufobject.cc:114
    #2 0x08075935 in UFRaw::ufraw_convert_prepare_transform (uf=0x85a0310, width=2602, height=3908, reverse=1, scale=1) at ufraw_lensfun.cc:708
    #3 0x08058ac0 in ufraw_convert_prepare_transform_buffer (uf=0x85a0310, img=0x85a0480, width=2602, height=3908) at ufraw_ufraw.c:1349
    #4 0x0805933d in ufraw_convert_prepare_buffers (uf=0x85a0310, phase=ufraw_transform_phase) at ufraw_ufraw.c:1459
    #5 0x08059546 in ufraw_get_image (uf=0x85a0310, phase=ufraw_transform_phase, bufferok=0) at ufraw_ufraw.c:1522
    #6 0x0805559f in ufraw_get_image_dimensions (uf=0x85a0310) at ufraw_ufraw.c:356
    #7 0x080569b0 in ufraw_load_raw (uf=0x85a0310) at ufraw_ufraw.c:656
    #8 0x080552d2 in ufraw_load_darkframe (uf=0x821eaa0) at ufraw_ufraw.c:299
    #9 0x08091ceb in load_darkframe (widget=0x82996d8, unused=0x0) at ufraw_preview.c:2505
    #10 0xb75416ad in g_cclosure_marshal_VOID__VOIDv () from /usr/lib/libgobject-2.0.so.0
    #11 0xb753fb4f in ?? () from /usr/lib/libgobject-2.0.so.0
    #12 0xb7559f8f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #13 0xb755a7b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #14 0xb76b5fc2 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
    #15 0xb76b7348 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #16 0xb754168d in g_cclosure_marshal_VOID__VOIDv () from /usr/lib/libgobject-2.0.so.0
    #17 0xb753e203 in ?? () from /usr/lib/libgobject-2.0.so.0
    #18 0xb753fb4f in ?? () from /usr/lib/libgobject-2.0.so.0
    #19 0xb7559f8f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #20 0xb755a7b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #21 0xb76b5ee2 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
    #22 0xb76b5f33 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #23 0xb7772a8c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #24 0xb753e691 in ?? () from /usr/lib/libgobject-2.0.so.0
    #25 0xb753f888 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #26 0xb7552124 in ?? () from /usr/lib/libgobject-2.0.so.0
    #27 0xb755a2d3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #28 0xb755a7b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #29 0xb78a5826 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #30 0xb7770c0d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
    #31 0xb7771017 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
    #32 0xb75f4a3a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
    #33 0xb7cddd32 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #34 0xb7cde118 in ?? () from /usr/lib/libglib-2.0.so.0
    #35 0xb7cde5db in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #36 0xb776fc19 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #37 0x080a2fd9 in ufraw_preview (uf=0x821eaa0, rc=0xbfff3f90, plugin=0, save_func=0) at ufraw_preview.c:5836
    #38 0x08054855 in main (argc=2, argv=0xbfffec54) at ufraw.c:127
    (gdb)

     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17
    • priority: 5 --> 7
     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17

    system info:
    emerge --info
    Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo i686)
    =================================================================
    System uname: Linux-3.3.8-gentoo-i686-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.1
    Timestamp of tree: Mon, 15 Oct 2012 20:30:01 +0000
    ccache version 3.1.7 [enabled]
    app-shells/bash: 4.2_p37
    dev-java/java-config: 2.1.11-r3
    dev-lang/python: 2.6.6-r2::multilib, 2.7.3-r2, 3.2.3
    dev-util/ccache: 3.1.7
    dev-util/cmake: 2.8.9
    dev-util/pkgconfig: 0.27.1
    sys-apps/baselayout: 2.1-r1
    sys-apps/openrc: 0.9.8.4
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.13::<unknown repository>, 2.68
    sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6
    sys-devel/binutils: 2.22-r1
    sys-devel/gcc: 3.4.6-r2, 4.5.4
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r3
    sys-kernel/linux-headers: 3.4 (virtual/os-headers)
    sys-libs/glibc: 2.15-r2
    Repositories: gentoo rion bircoph bitcoin funroll-loops x-portage
    Installed sets: @system
    ACCEPT_KEYWORDS="x86"
    ACCEPT_LICENSE="* -@EULA DOOM3 googleearth skype-eula AdobeFlash-10 AdobeFlash-10.3 AdobeFlash-10.1 Oracle-BCLA-JavaSE"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-O0 -g3 -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O0 -g3 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -march=i686 -pipe"
    FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news nostrip parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -march=i686 -pipe"
    GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/source/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.udc.es/gentoo/ http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo"
    LANG="ru_RU.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    LINGUAS="ru"
    MAKEOPTS="-j3"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/bircoph /var/lib/layman/bitcoin /var/lib/layman/funroll-loops /usr/local/portage"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="3dnow 3dnowext 7zip X a52 aac abyss acpi alsa apng artist-screen audio bash-completion berkdb bluetooth bzip2 cairo cdr clamav cli clock-screen colors consolekit contrast cpudetection cracklib crypt cue curl custom-cpuopts custom-optimization cxx cyrillic daemon demosaic dga directfb djvu dri dtmf dvd dvdnav dvdr enca encode esd exif extras faac faad fbcon ffmpeg fits flac fontconfig fontforge fortran ftp g3dvl gd gdal gdbm geolocation geos gif gimp git glitz gnutls gpg gpgme gphoto gpm gps gsm gstreamer gtk gudev h224 h281 h323 hddtemp hdf5 hotpixels http iceweasel iconv icq id3tag idn ilbc imap imlib iostats ivr jabber jbig jingle jpeg jpeg2k key-screen kpathsea kqemu kvm lcms lensfun lib32 libv4l2 lirc logrotate lyrics-screen mad matroska mbox midi mikmod minizip mmx mmxext mod mod_muc modules mp2 mp3 mpd mpeg mrim mudflap musepack network nfs nls nntp nptl nptlonly nsplugin nvidia ogdi ogg oggvorbis old-hd-rules opencore-amr opengl openmp oss otr pam pch pcre pdf perl plasma plugins png pop postproc pppd proj pth python qos qt3support qt4 radio raw readline roe rss rtc ru-dv ru-i ru-k sasl sdl search-screen session sidebar sip sipim slang smime smp soap song-screen sound spamassassin speex spell sql srt srtp sse sse2 ssl static-libs stats stream subversion svg symlink syslog szip tetex theora threads tiff timezone timidity tools tordns truetype type3 udev unicode usb usbredir userlocales v4l v4l2 vde vdpau vhook video vim-syntax vkontakte vorbis vp8 vpx vxml wav weather-metar weather-xoap webkit win32codecs wineappdb winetools x264 x86 xcb xml xmlrpc xmp xosd xrandr xv xvid xvmc zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" LIRC_DEVICES="all" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 arm i386" QEMU_USER_TARGETS="x86_64 arm i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint nv vesa nvidia radeon radeonhd nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17

    I tested ufraw-file from 0.16 version. I remove in this file record about loading Dark Frame file. After removeing Dark Frame record from ufraw file - it is opened success in ufraw-0.18.

    But if I try open Dark Frame from UI - ufraw segfault.

    Problem in processing Dark Frame... I update name of bug.

     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17
    • summary: ufraw-0.18 segfault on open ufraw-file from 0.16 version --> ufraw-0.18 segfault on open DarkFrame-file.
     
  • Semenov Sergey

    Semenov Sergey - 2012-10-17

    Sorry, I am not said Camera name:

    Cannon EOS 40d.

     
  • Niels Kristian Bech Jensen

    Please test with the current cvs code if possible. There has been some changes to the loading of darkframe files since the release of UFRaw 0.18.

    Regards,
    Niels Kristian

     
  • Niels Kristian Bech Jensen

    Hi Sergey.

    Did you try the current cvs code?

    Regards,
    Niels Kristian

     
  • Semenov Sergey

    Semenov Sergey - 2013-02-24

    Hello, Niels!

    I try cvs version today. Bug is not reproduced!

    Thank you very mach!

    Ufraw not segfolted. It is good! :-)

     
  • Niels Kristian Bech Jensen

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks