Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Epson WP 4525 printer driver segfault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 474
Location: Italy

PostPosted: Wed Dec 14, 2011 3:47 pm    Post subject: Epson WP 4525 printer driver segfault Reply with quote

I've been trying to install the self-compiled driver (http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/).
I found this thread which helped me correctly compile and install the driver.
However it still segfaults...

This is all the information I have that may be relevant.

Code:
emerge --info
Portage 2.1.10.11 (hardened/linux/amd64/no-multilib, gcc-4.5.3, glibc-2.12.2-r0, 2.6.38-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r6-x86_64-QEMU_Virtual_CPU_version_0.14.1-with-gentoo-2.0.3
Timestamp of tree: Tue, 13 Dec 2011 23:30:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ebuild-locks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv ipv6 justify ldap mmx modules mudflap ncurses nls nptl nptlonly openmp pam pax_kernel pcre pppd readline samba session sse sse2 sse3 ssl sysfs syslog tcpd unicode urandom xorg 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" CALLIGRA_FEATURES="kexi words flow plan 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Build warnings
Code:
blend-watermark-wbf-reader.c:215:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result

pagemanager.c:155:27: warning: cast to pointer from integer of different size

raster_to_epson.c:383:2: warning: ‘cupsRasterReadHeader’ is deprecated (declared at /usr/include/cups/raster.h:339)
raster_to_epson.c:423:15: warning: cast to pointer from integer of different size
raster_to_epson.c:441:5: warning: passing argument 5 of ‘eps_raster_print’ from incompatible pointer type
./raster/raster.h:146:5: note: expected ‘int *’ but argument is of type ‘size_t *’
raster_to_epson.c:448:4: warning: passing argument 5 of ‘eps_raster_print’ from incompatible pointer type
./raster/raster.h:146:5: note: expected ‘int *’ but argument is of type ‘size_t *’

Driver debug trace:
Code:
[printJob:483] TRACE IN
[load_core_library:164] TRACE IN
[get_ppd_attr:140] PPD Attribute epcgCoreLibrary -> libEpson_201113w.so.1.0.1
[load_core_library:226] Model name : WP-4525 Series
[load_core_library:242] TRACE OUT=0
[setup_option:249] TRACE IN
[get_ppd_attr:140] PPD Attribute epcgResourceData -> Epson_201113w.1.data
[setup_option:297] Job Options =media=A4 Duplex=DuplexNoTumble job-uuid=urn:uuid:a6391b6a-ffe9-3605-5d0d-1af174940fef job-originating-host-name=2a00:1620:a0:4e:a00:27ff:fe36:ab9e time-at-creation=1323868103 time-at-processing=1323875952 AP_D_InputSlot= PageSize=A4
[setup_option:310] Option=MediaType Choice=PLAIN
[setup_option:310] Option=PrintQuality Choice=Normal
[setup_option:310] Option=PageSize Choice=A4
[setup_option:310] Option=InputSlot Choice=AutoSelect
[setup_option:310] Option=Color Choice=Color
[setup_option:310] Option=ReduceEnlarge Choice=Off
[setup_option:310] Option=OutputPaper Choice=SameDocumentSize
[setup_option:310] Option=ScaleRatio Choice=100
[setup_option:310] Option=Duplex Choice=DuplexNoTumble
[setup_option:310] Option=AdjustPrintDensity Choice=Text
[setup_option:310] Option=CorrectionColor Choice=EPSONVivid
[setup_option:310] Option=GammaValue Choice=2.2
[setup_option:310] Option=BrightnessValue Choice=0
[setup_option:310] Option=ContrastValue Choice=0
[setup_option:310] Option=SaturationValue Choice=0
[setup_option:310] Option=CyanValue Choice=0
[setup_option:310] Option=MagentaValue Choice=0
[setup_option:310] Option=YellowValue Choice=0
[setup_option:327] TRACE OUT=0
[printJob:500] Job name : 11952
[print_page:349] TRACE IN
[setup_filter_option:216] TRACE IN
[get_filter_option:206] Option=PosterPrinting Choice=Off
[get_filter_option:206] Option=Rotate180 Choice=Off
[get_filter_option:206] Option=MirrorImage Choice=Off
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG00.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG01.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG02.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG03.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG04.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG05.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG06.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG07.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG08.EID
[get_ppd_attr:140] PPD Attribute epcgWatermarkData -> /opt/epson-inkjet-printer-201113w/watermark/WEPCG09.EID
[setup_filter_option:273] Option=Watermark Choice=None
[get_filter_option:206] Option=PositionWatermark Choice=Middle
[get_filter_option:206] Option=DensityWatermark Choice=Level4
[get_filter_option:206] Option=ColurWatermark Choice=Red
[get_filter_option:206] Option=SizeWatermark Choice=70
[setup_filter_option:301] TRACE OUT=0
[pageManagerCreate:101] pageManager Created.
[subPageManagerCreate:38] subPageManager Created.
[subPageManagerCreate:42] Before: width = 2410, height = 3438, bytesPerLine = 7230
[subPageManagerCreate:88] After: width = 2410, height = 3438, bytesPerLine = 7230
[subPageCreate:36] subPage Created.
[raster_helper_create_pipeline:80] Pipeline Processing Mode : FETCHING
[raster_helper_create_pipeline:81] bytes_per_pixel : 3
[raster_helper_create_pipeline:82] src_print_area_x : 2410
[raster_helper_create_pipeline:83] src_print_area_y : 3438
[raster_helper_create_pipeline:84] prt_print_area_x : 2410
[raster_helper_create_pipeline:85] prt_print_area_y : 3438
[raster_helper_create_pipeline:86] scale : 0
[raster_helper_create_pipeline:87] mirror : 0
[raster_helper_create_pipeline:88] reverse : 0
[raster_helper_create_pipeline:89] watermark.use : 0

Cups child process strace:
http://pastebin.com/LYfnqJG1
Cups version: 1.4.8-r1

I really don't know where to go from here or what I may have done wrong.
To me it just dies miserably without an apparent reason.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum