[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Program run at startup hogs cpu?
[Thread Prev] | [Thread Next]
- Subject: Re: Program run at startup hogs cpu?
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 11 Mar 2025 17:43:29 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 11/03/2025 à 12:17, Bruce Steers a écrit :
Here's a peculiar problem... My launcher program Desktop-ish does something strange. I add it to my startup by placing a launcher in ~/.config/autostart/ It looks like this... [Desktop Entry] Type=Application Exec=/media/bonus/SSDiskspace/git/Desktop-ish/Desktop-ish.gambas -s Hidden=false Name=Desktop-ish X-MATE-Autostart-Enabled=true X-MATE-Autostart-Delay=3 X-GNOME-Autostart-Enabled=true X-GNOME-Autostart-Delay=3For some reason the program hogs the cpu , my fans blow hard and the program uses 98% cpu.If i close it then re-run it from the desktop icon it runs fine and does not hog cpu.If i do not launch it at startup and just run it from the icon it is okay.But for some reason launching it from ~/.config/autostart/ makes something go loop-de-loo.Anyone seen anything like this before? Know what might cause it, know what to do? gmail.txt archive is 600k so I cannot attach. It's on git though...git clone https://gitlab.com/bsteers4/desktop-ish.git <https:// gitlab.com/bsteers4/desktop-ish.git>Respects BruceS
Use 'gdb' to know where the infinite loop is: $ sudo gdb gbr3 <process id of my program> ... (gdb) bt (gdb) p DEBUG_get_current_position() And send the result of the two last gdb commands. Regards, -- Benoît Minisini.
Re: Program run at startup hogs cpu? | Bruce Steers <bsteers4@xxxxxxxxx> |
Program run at startup hogs cpu? | Bruce Steers <bsteers4@xxxxxxxxx> |