I have the problem. This is a race condition between the sane_net_init() loop adding devices from net.conf into the chained list and the AVAHI thread doing the same thing. As there is no lock to protect the head pointer, we can have list corruption. Delaying avahi_init() at the end of sane_net_init() corrects the problem.
** Patch added: "sane_net.patch" https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1208091/+attachment/4398656/+files/sane_net.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1208091 Title: scanimage assert failure: *** Error in `scanimage': double free or corruption (top): 0x0000000002598130 *** To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1208091/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
