[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-28 Thread Sebastien Bacher
Looks like the reported stopped after 1.26.1 so considering it fixes with the update ** Changed in: cups-filters (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-22 Thread Fritz Hudnut
On Wed, Jan 22, 2020 at 3:16 AM Till Kamppeter <1857...@bugs.launchpad.net> wrote: > Now I have tried with creating a fresh VM with the daily snapshot of > Focal and tried to reproduce the crash. Both with all normal, the host > providing some remote printers for which the cups-browsed in the VM

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-22 Thread Till Kamppeter
Now I have tried with creating a fresh VM with the daily snapshot of Focal and tried to reproduce the crash. Both with all normal, the host providing some remote printers for which the cups-browsed in the VM creates local queues and also with CUPS on the host stopped so that cups-browsed does not

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-15 Thread Till Kamppeter
seb128, thank you for the logs. Your cups-browsed uses the standard configuration. What happens is that on shutdown, during the freeing of the data structures for Avahi/DNS-SD support cups-browsed crashes. During shutdown, near the very end, already after cups-browsed has removed the queues which

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-15 Thread Sebastien Bacher
@Till, debug logs attached now ** Attachment added: "cupsdebug.zip" https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1857815/+attachment/5320416/+files/cupsdebug.zip ** Changed in: cups-filters (Ubuntu) Status: Incomplete => New -- You received this bug notification

Re: [Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-13 Thread lpluys
et> Aan: "luc" Verzonden: Maandag 13 januari 2020 19:09:34 Onderwerp: [Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list seb128, as you have found a way to reliably reproduce the bug, I want to ask you to do the following: Run the command cupsctl --debug-lo

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-13 Thread Till Kamppeter
seb128, as you have found a way to reliably reproduce the bug, I want to ask you to do the following: Run the command cupsctl --debug-logging to activate logginf by CUPS. Edit the /etc/cups/cups-browsed.conf file, making sure that it contains a line DebugLogging file with no "#" in the

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-13 Thread Sebastien Bacher
You are right Till, it seems to segfault when the service is stopped, following your step, when doing $ sudo systemctl stop cups-browsed the apport prompt is displayed the error_log is empty though Can you try if you get the issue on stopping the service? Note that the valgrind log error is

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-13 Thread Till Kamppeter
Right before the memset(deleted_master, 0, sizeof(remote_printer_t)); deleted_master is allocated via if (deleted_master == NULL && (deleted_master = (remote_printer_t *)calloc(1, sizeof(remote_printer_t))) == NULL) { debug_printf("ERROR: Unable to allocate memory.\n"); if

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-13 Thread Sebastien Bacher
@Till, the error pointed out by valgrind happend when I manually start cups-browsed at any time during the session, it's not a shutdown problem ==5706== Invalid write of size 8 ==5706== at 0x124791: UnknownInlinedFun (string_fortified.h:71) ==5706== by 0x124791: update_cups_queues

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-10 Thread Till Kamppeter
The stack traces attached to this bug report suggest that cups-browsed crashes on shutdown, but if cups-browsed is shut down during a reboot of the machine, the apport message only appears after the machine has completed the reboot and so makes the impression that the crash happened during

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-10 Thread Till Kamppeter
Sorry, if you get the crash with the method describe above, please attach /var/log/cups/cups-browsed.log, and NOT /var/log/cups/error_log. If you do not get a crash with the method described above, try repeated rebooting until you get a crash. Once having the crash, attach

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-08 Thread Sebastien Bacher
valgrind log of the error ==5706== Invalid write of size 8 ==5706==at 0x124791: UnknownInlinedFun (string_fortified.h:71) ==5706==by 0x124791: update_cups_queues (cups-browsed.c:7381) ==5706==by 0x12A7C6: avahi_browser_shutdown (cups-browsed.c:10023) ==5706==by 0x12A85E:

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-08 Thread Sebastien Bacher
Till, it looks like cups-browsed just segfault on start in focal, could you have a look as a priority once you back from holidays? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857815 Title:

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cups-filters (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857815

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-08 Thread Sebastien Bacher
** Tags added: rls-ff-incoming ** Changed in: cups-filters (Ubuntu) Assignee: (unassigned) => Till Kamppeter (till-kamppeter) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857815 Title:

[Bug 1857815] Re: cups-browsed assert failure: corrupted double-linked list

2020-01-08 Thread Sebastien Bacher
** Information type changed from Private to Public ** Changed in: cups-filters (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857815 Title: cups-browsed