Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345195 - Bug in libecwj2-3.3 on Linux 64 bits
Summary: Bug in libecwj2-3.3 on Linux 64 bits
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sci-geo Project
Depends on:
Reported: 2010-11-12 09:45 UTC by Jean-Claude Repetto
Modified: 2015-12-27 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Patch for libecwj2-3.3 (libecwj2-3.3-resolution.patch,1.20 KB, patch)
2010-11-12 09:47 UTC, Jean-Claude Repetto
Details | Diff
New ebuild for libecwj2-3.3 (libecwj2-3.3-r2.ebuild,1.05 KB, text/plain)
2010-11-12 09:48 UTC, Jean-Claude Repetto

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2010-11-12 09:45:40 UTC
GDAL autotest fails on Linux 64 bits systems, due to a bug in the libecwj2-3.3 library.

Reproducible: Always

Steps to Reproduce:
1.Install gdalautotest.
2.Run ./

Actual Results:  
 TEST: ecw_9 ... Segmentation fault

Expected Results:  
  TEST: ecw_9 ... success
Comment 1 Jean-Claude Repetto 2010-11-12 09:47:14 UTC
Created attachment 254069 [details, diff]
Patch for libecwj2-3.3

This patch fixes bug #345195
Comment 2 Jean-Claude Repetto 2010-11-12 09:48:42 UTC
Created attachment 254071 [details]
New ebuild for libecwj2-3.3

This new ebuild applies a patch to fix bug #345195
Comment 3 Wormo (RETIRED) gentoo-dev 2010-11-26 01:13:20 UTC
Thanks for submitting your patch.

Could you explain why those variables need to be switched from unsigned UINT32 to signed INT32? Also, please post your 'emerge --info' output in case the exact toolchain matters in reproducing this bug.
Comment 4 Jean-Claude Repetto 2010-11-26 08:38:14 UTC
Sorry, I forgot to mention that I am not the author of the patch, I found it at (last comment in the GDAL ticket).

emerge --info :

Portage (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r3, 2.6.33-gentoo-r2 x86_64)
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 25 Nov 2010 09:00:23 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth AdobeFlash-10.1 AdobeFlash-10"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/java-overlay /var/lib/layman/pro-audio /usr/local/portage"
USE="3dnow X alsa amd64 amr assistant bash-completion berkdb bluetooth bzip2 cairo cli consolekit cpudetection cracklib cups curl cxx dbus device-mapper dhcp dhcpcd dirac djvu dri dv dvd dvi ecwj2k encode exif expat extras fam ffmpeg fftw firefox flac fortran fts3 gcj gdal gdbm geos gif glade gnome gps grass gsl gsm gtk hal iconv imagemagick imlib java javascript jpeg lcms libnotify matplotlib mayavi midi mmx modules mp3 mpeg mudflap multilib ncurses nls nodrm nptl nptlonly nsplugin ntfs numpy nvidia odbc ogg opengl openmp pam pcre pdf perl pkcs11 plotutils png policykit postscript ppds proj pulseaudio pylint python qt3support qt4 readline rtc rtsp samba scipy secure-delete session sqlite sqlite3 sse sse2 sse3 ssl ssse3 subversion svg sysfs szip t1lib tcpd test-programs theora tiff tk truetype unicode usb vorbis webkit wxwidgets xcos xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa nv" 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" 
Comment 5 Amy Liffey gentoo-dev 2015-12-27 20:12:25 UTC
# Andreas K. Huettel <> (30 Dec 2014)
# media-libs/lcms:0 is unmaintained and has unspecified severe security
# issues, bug 526642. Its reverse dependencies will be removed in 30days.

Not in tree anymore.