[sane-devel] Bus Error on pnm backend in FreeBSD 8

m. allan noah kitno455 at gmail.com
Mon Mar 22 16:49:01 UTC 2010


That is right after the patch you added. try valgrind?

allan

On Mon, Mar 22, 2010 at 12:37 PM, Alejandro Imass <ait at p2ee.org> wrote:
> On Mon, Mar 22, 2010 at 11:57 AM, m. allan noah <kitno455 at gmail.com> wrote:
>> try turning up the pnm backend's debugging?
>>
>
> Here you go:
>
> [root at lucifer /usr/ports/graphics/sane-backends]# scanimage -L
> [sanei_debug] Setting debug level of dll to 255.
> [dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.20
> [dll] sane_init/read_dlld: processing /usr/local/etc/sane.d/dll.d ...
> [dll] sane_init/read_dlld: done.
> [dll] sane_init/read_config: reading dll.conf
> [dll] add_backend: adding backend `pnm'
> [dll] sane_get_devices
> [dll] load: searching backend `pnm' in `/usr/local/lib/sane'
> [dll] load: trying to load `/usr/local/lib/sane/libsane-pnm.so.1'
> [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-pnm.so.1'
> [dll] init: initializing backend `pnm'
> [sanei_debug] Setting debug level of pnm to 255.
> [pnm] sane_init: version_code != 0, authorize != 0
> [pnm] sane_init: SANE pnm backend version 1.0.9 from sane-backends 1.0.20
> [dll] init: backend `pnm' is version 1.0.9
> [pnm] sane_get_devices: local_only = 0
> Bus error: 10 (core dumped)
>
>
>> allan
>>
>> On Mon, Mar 22, 2010 at 12:15 PM, Alejandro Imass <ait at p2ee.org> wrote:
>>> (sorry if this is a double post, I hit send before conforming my
>>> subscription to the list)
>>> Hi,
>>>
>>> I am trying to get the pnm backend to work on FreeBSD. I originally
>>> thought it was related to an old bug in pnm.c and had filed this bug
>>> which is now closed:
>>>
>>> https://alioth.debian.org/tracker/?group_id=30186&atid=410366&func=detail&aid=312401
>>>
>>> I built the FreeBSD port using the patch method and patching the pnm.c
>>> file with the diff I got from the oriniogal pnm.c file and the pnm.c
>>> file I got from the latest master via git. I verified that the patch
>>> worked by examining the port's work directory and it patched perfectly
>>> before build.
>>>
>>> The FreeBSD port is built from a 1.0.20 freeze, here are the first few
>>> lines of the ChangeLog:
>>>
>>> ******  Release of sane-backends 1.0.20. End of code freeze ******
>>>
>>> 2009-05-03  m. allan noah <kitno455 a t gmail d o t com>
>>>       * config.guess, config.sub: updated to latest versions
>>>       * NEWS, configure.in, configure: updated for 1.0.20
>>>       * sane-backends.lsm, doc/releases.txt: minor tweaks
>>>       * doc/descriptions/coolscan3.desc, doc/descriptions/rts8891.desc:
>>>         add :new marker, correct manpage link
>>>
>>> 2009-05-01  m. allan noah <kitno455 a t gmail d o t com>
>>>       * backend/fujitsu.c: copy_buffer() needs to count lines, or M309[12]
>>>         cannot scan in duplex
>>>
>>> I am attaching the debug output with SANE_DEBUG_DLL=255, the FBSD
>>> Kernel trace in plain text (bzipped) and the patch file. I am
>>> available to help debug this on FBSD, but I don't know how to proceed.
>>>
>>> Thanks in advance,
>>> Alejandro Imass
>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>>             to sane-devel-request at lists.alioth.debian.org
>>>
>>
>>
>>
>> --
>> "The truth is an offense, but not a sin"
>>
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list