You are not logged in.

#1 2024-04-24 22:11:43

dcaspar
Member
Registered: 2020-08-12
Posts: 42

Brother DCP-L2520DW will scan as root but not user.

I'm trying to set up a Brother DCP-L2520DW I recently picked up.
After installing the following scanner driver: https://aur.archlinux.org/packages/brscan4
And setting up the scanner over the network with brsaneconfig4 I am able to scan fine as root.

However trying to run scanimage -L as my user results in the following error:
bugchk_free(ptr=(nil))@modelinf.c(464)

The wiki describes a similar error here: https://wiki.archlinux.org/title/SANE/S … ne_crashes
There's nothing at /usr/local/Brother on my system however.

FWIW: Printing over the network is working fine as user via CUPS.

EDIT:
Along with the error journalctl shows the following when running scanimage -L as user:

Apr 25 01:31:04 studio systemd-coredump[15208]: [?] Process 15205 (scanimage) of user 1000 dumped core.

                                                Module libsane-brother4.so.1 without build-id.
                                                Stack trace of thread 15205:
                                                #0  0x00007cfbad21032c n/a (libc.so.6 + 0x8d32c)
                                                #1  0x00007cfbad1bf6c8 raise (libc.so.6 + 0x3c6c8)
                                                #2  0x00007cfbad1a74b8 abort (libc.so.6 + 0x244b8)
                                                #3  0x00007cfbaa617015 bugchk_free (libsane-brother4.so.1 + 0x17015)
                                                #4  0x00007cfbaa610a9b exit_model_info (libsane-brother4.so.1 + 0x10a9b)
                                                #5  0x00007cfbaa6105a7 init_model_info (libsane-brother4.so.1 + 0x105a7)
                                                #6  0x00007cfbaa61aca8 sane_brother4_init (libsane-brother4.so.1 + 0x1aca8)
                                                #7  0x00007cfbad444920 n/a (libsane.so.1 + 0x8920)
                                                #8  0x00007cfbad4454c0 sane_dll_get_devices (libsane.so.1 + 0x94c0)
                                                #9  0x00005737c4b72199 n/a (scanimage + 0x2199)
                                                #10 0x00007cfbad1a8cd0 n/a (libc.so.6 + 0x25cd0)
                                                #11 0x00007cfbad1a8d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                #12 0x00005737c4b753a5 n/a (scanimage + 0x53a5)

                                                Stack trace of thread 15206:
                                                #0  0x00007cfbad27e0df __poll (libc.so.6 + 0xfb0df)
                                                #1  0x00007cfbad177226 n/a (libusb-1.0.so.0 + 0x12226)
                                                #2  0x00007cfbad20e55a n/a (libc.so.6 + 0x8b55a)
                                                #3  0x00007cfbad28ba5c n/a (libc.so.6 + 0x108a5c)
                                                ELF object binary architecture: AMD x86-64

Last edited by dcaspar (2024-04-24 23:32:50)

Offline

Board footer

Powered by FluxBB