[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-11-25 Thread Matthias May
Okay, after a couple of days of testing, the problem still did not come
back, even after activating 'Browsing Yes' in cupsd.conf. In other
words, setting

BrowseRemoteProtocols none
BrowseProtocols none

in /etc/cups/cups-browsed.conf

is sufficient as a workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-11-20 Thread Matthias May
@Till: I have reverted the changes to /etc/cups/cupsd.conf back to
'BrowseLocalProtocols dnssd' and the problem still does not occur.
However, my default setting there was 'Browsing No'. I am now also
testing 'Browsing Yes' in cupsd.conf.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-11-19 Thread John V
I have sent an ubuntu bug with it maxing out 3 cores

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-11-07 Thread Till Kamppeter
@matthias-may, if you turn off browsing in cups-browed.conf but not in
cupsd.conf, does the problem (high CPU usage by cups-browsed) still
occur?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-11-07 Thread Matthias May
Also in my university network environment, this bug made me stop the
transition of other machines, that I manage, to Ubuntu 24.04 or higher.

For me, the following workaround, disabling browsing, seems to work.
That means I set

BrowseRemoteProtocols none
BrowseProtocols none

in /etc/cups/cups-browsed.conf

and

BrowseLocalProtocols none

in /etc/cups/cupsd.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-10-30 Thread Leon White
I updated to Ubuntu 24.10 and I'm still experiencing this problem with
cups 2.4.10-1ubuntu2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-09-12 Thread Jeffrey Knockel
> We are in function httpGets() which seemingly has been called with parameter 
> line being a NUL terminated string "Content-Security-Policy".
> 
> We cycle in the loop 'while (lineptr < lineend)'.
> http->used = -47
> bufptr > bufend
> *lineptr = "Content-Security-Policy"
>
> As bufptr > bufend we never set eol.
>
> The function expects as input a string terminated by a linefeed. But the 
> parameter line = "Content-Security-Policy" has no linefeed. We should not 
> rely on web-servers providing well formed responses.

I think we have to rethink what is happening here a bit.  In gdb, after
hitting the infinite loop, I investigated the underlying file descriptor
by printing `http->fd` and then matching it with what was outputted by
`lsof`.  I found a surprising discovery -- the file descriptor in use
wasn't an Internet socket -- it was a Unix domain socket!  I suspect the
infinite loop we are hitting is from cups-browsed querying
`/run/cups/cups.sock`.  I believe that your debugging above Heinrich
supports this hypothesis as well, since "Content-Security-Policy" is one
of the headers returned by `/run/cups/cups.sock`.  I am curious if you
can reproduce my finding.

For me, this was an unexpected discovery because if my analysis is
correct then (1) I don't think we can easily blame buggy network
printers for what is happening (but maybe the cups server is buggy?) and
(2) I also don't think we can explain the nondeterminism behind this bug
by appealing to random network errors, since this issue is occurring
over a Unix domain socket and not (e.g.) a dodgy WiFi connection.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-09-10 Thread Michael De La Rue
I sent an ubuntu-bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-09-10 Thread Michael De La Rue
ps aux | grep cups-b
root2095  0.0  0.0   2892  1280 ?Ss   Sep09   0:00 /bin/sh 
/snap/cups/1058/scripts/run-cups-browsed
root2428  0.0  0.0   2892   768 ?SSep09   0:00 /bin/sh 
/snap/cups/1058/scripts/run-cups-browsed
cups-br+2856  163  0.0 416060 21656 ?Rsl  Sep09 2716:27 
/usr/sbin/cups-browsed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-08-20 Thread Leon White
I'm currently experiencing this issue 2-3 times a day if I can help with
any further debugging, seems my environment is particularly prone to it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-08-13 Thread Leon White
And gdb output

** Attachment added: "cups-browsed-gdb.txt"
   
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+attachment/5805406/+files/cups-browsed-gdb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-08-13 Thread Leon White
I am experiencing this problem at work and followed the instructions
from https://bugs.launchpad.net/ubuntu/+source/cups-
browsed/+bug/2049315/comments/13, logs are attached


** Attachment added: "Debug logs"
   
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+attachment/5805405/+files/cups-browsed-debug-log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-06-22 Thread Till Kamppeter
No, the CUPS of 24.04 is 2.4.7.

I am have currently installed 2.4.8 from source and I will see if it
actually prevents the problem, but it will need some days to get good
evidence whether the bug is really fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-06-22 Thread Tom Chiverton
> CUPS 2.4.8 got released and the fix
https://github.com/OpenPrinting/cups/issues/879 is included.

Is this incorporated into 24.04 yet ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-06-12 Thread theofficialgman
I frequently get 100% cups-browsed
should I open a separate report?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-09 Thread Till Kamppeter
So you got the 200% on cupsd now, not on cups-browsed? Seems that cupsd
can run into a similar bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-09 Thread Heinrich Schuchardt
>> The instructions are for applying when cups-browsed is running and
stuck, not after killing it.

I did not kill any process before attaching gdb.
And top shows 200 % cpu usage by cupsd.

This is what still needs to be solved.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-09 Thread Till Kamppeter
These processes
-
$ ps aux | grep cups-browsed | grep -v grep
root 2912 0.0 0.0 2892 1708 ? Ss 10:13 0:00 /bin/sh 
/snap/cups/1047/scripts/run-cups-browsed
root 3407 0.0 0.0 2892 892 ? S 10:13 0:00 /bin/sh 
/snap/cups/1047/scripts/run-cups-browsed
-
come from the CUPS Snap. They are from a wrapper script to start cups-browsed, 
but in your case the CUPS Snap does not start cups-browsed, as you have a 
classically installed CUPS and the CUPS Snap is only running as proxy for 
snapped applications. There is no ยจ../cups-browsed" process, so cups-browsed is 
currently not running for you.

You have attached gdb to cupsd.

The instructions I have posted are for applying when cups-browsed is
running and stuck, not after killing it. They only make sense if there
are actually 1 or 2 cups-browsed processes hanging in a 100%-CPU busy
loop.

For your patch on CUPS, which Michael has actually accepted, I am not
absolutely sure whether it will solve the problem. If you do not add the
"return(NULL);" line, the flow will go into the "return(NULL);" right
after the "if () {} else if {}" and so we have no different effect. Or
is this not the case?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-09 Thread Heinrich Schuchardt
@Till

There are two processes running:

$ ps aux | grep cups-browsed | grep -v grep
root2912  0.0  0.0   2892  1708 ?Ss   10:13   0:00 /bin/sh 
/snap/cups/1047/scripts/run-cups-browsed
root3407  0.0  0.0   2892   892 ?S10:13   0:00 /bin/sh 
/snap/cups/1047/scripts/run-cups-browsed

None of these relates to what top shows as culprit:

2898 root  20   0  195916  16320  11736 R 197.0   0.1 139:30.91
cupsd

$ ps -aux | grep 2898
root2898  134  0.1 195916 16320 ?Rsl  10:13 141:15 
/usr/sbin/cupsd -l

$ sudo gbd -p 2898
(gdb) t a a bt

(gdb) t a a bt

Thread 2 (Thread 0x729b3cc006c0 (LWP 5305) "cupsd"):
#0  0x729b3f6a3439 in __pthread_rwlock_wrlock_full64 (abstime=0x0, 
clockid=0, rwlock=0x64af2f2b0270) at ./nptl/pthread_rwlock_common.c:821
#1  ___pthread_rwlock_wrlock (rwlock=0x64af2f2b0270) at 
./nptl/pthread_rwlock_wrlock.c:26
#2  0x64af2d5231a1 in create_local_bg_thread (con=0x64af2f3a1d70) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/ipp.c:5333
#3  0x729b3f69ca94 in start_thread (arg=) at 
./nptl/pthread_create.c:447
#4  0x729b3f729c3c in clone3 () at 
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x729b3e5b1b40 (LWP 2898) "cupsd"):
#0  0x729b3f71c5ad in __GI___libc_write (nbytes=63, buf=0x64af2f1b07c8, 
fd=6) at ../sysdeps/unix/sysv/linux/write.c:26
#1  __GI___libc_write (fd=6, buf=0x64af2f1b07c8, nbytes=63) at 
../sysdeps/unix/sysv/linux/write.c:24
#2  0x729b3f95cf66 in ??? () at /lib/x86_64-linux-gnu/libcups.so.2
#3  0x729b3f95d3ea in cupsFileFlush () at /lib/x86_64-linux-gnu/libcups.so.2
#4  0x64af2d5399f5 in cupsdWriteErrorLog (message=0x64af2f1ae7b0 "[Client 
26] Closing connection.", level=8) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/log.c:1276
#5  cupsdWriteErrorLog (level=level@entry=8, message=0x64af2f1ae7b0 "[Client 
26] Closing connection.") at /build/cups-0ETlfZ/cups-2.4.7/scheduler/log.c:1220
#6  0x64af2d539b72 in cupsdLogClient (con=, level=8, 
message=) at /build/cups-0ETlfZ/cups-2.4.7/scheduler/log.c:540
#7  0x64af2d50d741 in cupsdCloseClient (con=con@entry=0x64af2f3a1d70) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/client.c:405
#8  0x64af2d50f071 in cupsdReadClient (con=0x64af2f3a1d70) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/client.c:618
#9  0x64af2d508469 in cupsdDoSelect (timeout=) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/select.c:477
#10 main (argc=, argv=) at 
/build/cups-0ETlfZ/cups-2.4.7/scheduler/main.c:855

Thread 1 (process 2912 "run-cups-browse"):
#0  0x75225bf4e7dc in sigsuspend () from 
target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x5d1641298ee8 in ?? ()
#2  0x5d164129911a in ?? ()
#3  0x5d164129e58a in ?? ()
#4  0x5d16412a3826 in ?? ()
#5  0x5d16412a650f in ?? ()
#6  0x5d164129fc00 in ?? ()
#7  0x5d16412a4b28 in ?? ()
#8  0x5d1641297d53 in ?? ()
#9  0x75225bf35d90 in ?? () from target:/lib/x86_64-linux-gnu/libc.so.6
#10 0x75225bf35e40 in __libc_start_main () from 
target:/lib/x86_64-linux-gnu/libc.so.6
#11 0x5d1641297f15 in ?? ()

Thread 1 (process 3407 "run-cups-browse"):
#0  0x75225bff63ea in wait4 () from target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x5d1641298ea4 in ?? ()
#2  0x5d164129911a in ?? ()
#3  0x5d16412a63c0 in ?? ()
#4  0x5d164129fc00 in ?? ()
#5  0x5d16412a0070 in ?? ()
#6  0x5d164129fc00 in ?? ()
#7  0x5d16412a48ad in ?? ()
#8  0x5d164129fc00 in ?? ()
#9  0x5d16412a48ad in ?? ()
#10 0x5d164129fc00 in ?? ()
#11 0x5d164129fc3a in ?? ()
#12 0x5d164129fc00 in ?? ()
#13 0x5d16412a4b28 in ?? ()
#14 0x5d1641297d53 in ?? ()
#15 0x75225bf35d90 in ?? () from target:/lib/x86_64-linux-gnu/libc.so.6
#16 0x75225bf35e40 in __libc_start_main () from 
target:/lib/x86_64-linux-gnu/libc.so.6
#17 0x5d1641297f15 in ?? ()

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-08 Thread Heinrich Schuchardt
>> Do you know how to quickly trigger the bug?
Till, unfortunately I would not know how to trigger it on purpose.

Concerning SRU of any fix, I think it would be enough to verify that
printing still works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-08 Thread Till Kamppeter
CUPS 2.4.8 got released and the fix
https://github.com/OpenPrinting/cups/issues/879 is included.

Heinrich, thanks again for the investigations and bug report.

Heinrich, best would be to do an SRU of CUPS, applying the patch to
Ubuntu's 2.4.7 would be easy, but how does one verify this fix? Do you
know how to quickly trigger the bug? I had it only once in more than a
year.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-08 Thread Till Kamppeter
Thanks everyone for posting logs here.

I would like to have another thing from everyone who runs into the
problem.

1. When you observe the problem, DO NOT kill cups-browsed.

2. Save the debug log and attach it to this bug report.

3. Determine the process ID (PID) of cup-browsed:

ps aux  | grep cups-browsed | grep -v grep
cups-browsed  846190  0.0  0.0 112932  5760 ?Ssl  00:00   0:00 
/usr/sbin/cups-browsed

The first number (second word) in the line is the PID

4. Install the debug symbols package of cups-browsed. Its name is "cups-
browsed-dbgsym". Follow the instructions on

https://ubuntu.com/server/docs/debug-symbol-packages

5. Install the debugger gdb if needed:

sudo apt install gdb

6. Attach the debugger gdb to cup-browsed:

sudo gdb attach PID

or

sudo -u cups-browsed attach PID

Replace PID by the PID you determined in (3)

On the prompt of the debugger enter the command

t a a bt

You get some output. If it ends with

--Type  for more, q to quit, c to continue without paging--

press Enter, until you get back to the prompt:

(gdb)

DO NOT press Enter when you are at the prompt.

Now copy the complete output of gdb into an editor, save the file and
attach it to this bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2049315] Re: cups-browsed running non-stop on two cores

2024-05-07 Thread Bryan Beus
The problem occurred again. 
I did have the debug mode active for cups-browsed, and here is the resulting 
log file.

** Attachment added: "cups-browsed_log"
   
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+attachment/5776180/+files/cups-browsed_log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049315

Title:
  cups-browsed running non-stop on two cores

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2049315/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs