Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278118 - app-admin/conky-1.7.1.1 conky -d hangs when using $acpitemp
Summary: app-admin/conky-1.7.1.1 conky -d hangs when using $acpitemp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 06:25 UTC by Philip L
Modified: 2009-07-30 21:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip L 2009-07-17 06:25:56 UTC
Running conky with the -d (daemonize) option causes conky to hang without displaying anything, after which it must be killed with SIGKILL. The console output is normal:

Conky: forked to background, pid is 10661
Conky: desktop window (106) is root window
Conky: drawing to desktop window
Conky: drawing to double buffer

Running with own_window set to 'yes' causes a tiny, empty window to appear.

Reproducible: Always
Comment 1 Brenden Matthews 2009-07-28 20:35:56 UTC
What happens when you run Conky without forking it?  If it crashes, can you provide a backtrace?
Comment 2 Philip L 2009-07-28 22:23:08 UTC
Sorry, I should have tested it more thoroughly before - it only hangs when using the -d option and if the $acpitemp function is used. It works fine without the -d option.

I tried attaching gdb to the process after it froze, and this is the backtrace:
#0  0x00007f9ab56e0a7a in ?? ()
   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.so.1
#1  0x00007f9ab56dfcab in ?? ()
   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.so.1
#2  0x000000000042047a in update_stat ()
#3  0x0000000000407160 in update_stuff ()
#4  0x000000000041a075 in update_text ()
#5  0x000000000041b695 in main ()
Comment 3 Brenden Matthews 2009-07-28 23:33:04 UTC
Try disabling the openmp use flag for Conky.
Comment 4 Philip L 2009-07-28 23:41:53 UTC
(In reply to comment #3)
> Try disabling the openmp use flag for Conky.

That fixes it.
Comment 5 Daniel Pielmeier gentoo-dev 2009-07-30 21:16:19 UTC
Fixed in >=conky-1.7.1.1-r2 by disabling the openmp flag (Upstream rcommendation).