Gentoo Archives: gentoo-user

From: Kevin Thompson <phlux@×××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] conky crashes with JSON output.
Date: Sun, 05 May 2013 23:10:43
Message-Id: 20130505230945.GC23603@localhost.gateway.2wire.net
1 Hello, everyone. I'm experiencing some problems with conky that seems to
2 be Gentoo-specific. All of my friends running other distributions are
3 able to run my configuration file just fine. Here's the output from
4 conky:
5
6 7f2af50f5000-7f2af52f4000 ---p 00120000 08:02 1469347
7 /usr/lib64/libglib-2.0.so.0.3400.3
8 7f2af52f4000-7f2af52f5000 r--p 0011f000 08:02 1469347
9 /usr/lib64/libglib-2.0.so.0.3400.3
10 7f2af52f5000-7f2af52f6000 rw-p 00120000 08:02 1469347
11 /usr/lib64/libglib-2.0.so.0.3400.3
12 7f2af52f6000-7f2af52f7000 rw-p 00000000 00:00 0
13 7f2af52f7000-7f2af5346000 r-xp 00000000 08:02 393324
14 /lib64/libncurses.so.5.9
15 7f2af5346000-7f2af5545000 ---p 0004f000 08:02 393324
16 /lib64/libncurses.so.5.9
17 7f2af5545000-7f2af5549000 r--p 0004e000 08:02 393324
18 /lib64/libncurses.so.5.9
19 7f2af5549000-7f2af554a000 rw-p 00052000 08:02 393324
20 /lib64/libncurses.so.5.9
21 7f2af554a000-7f2af554b000 rw-p 00000000 00:00 0
22 7f2af554b000-7f2af5553000 r-xp 00000000 08:02 395702
23 /lib64/libiw.so.30
24 7f2af5553000-7f2af5752000 ---p 00008000 08:02 395702
25 /lib64/libiw.so.30
26 7f2af5752000-7f2af5753000 r--p 00007000 08:02 395702
27 /lib64/libiw.so.30
28 7f2af5753000-7f2af5754000 rw-p 00008000 08:02 395702
29 /lib64/libiw.so.30
30 7f2af5754000-7f2af576c000 r-xp 00000000 08:02 393403
31 /lib64/libpthread-2.15.so
32 7f2af576c000-7f2af596b000 ---p 00018000 08:02 393403
33 /lib64/libpthread-2.15.so
34 7f2af596b000-7f2af596c000 r--p 00017000 08:02 393403
35 /lib64/libpthread-2.15.so
36 7f2af596c000-7f2af596d000 rw-p 00018000 08:02 393403
37 /lib64/libpthread-2.15.so
38 7f2af596d000-7f2af5971000 rw-p 00000000 00:00 0
39 7f2af5971000-7f2af5992000 r-xp 00000000 08:02 393396
40 /lib64/ld-2.15.so
41 7f2af59ab000-7f2af5b70000 r--p 00000000 08:02 1588257
42 /usr/lib64/locale/locale-archive
43 7f2af5b70000-7f2af5b76000 rw-p 00000000 00:00 0
44 7f2af5b8f000-7f2af5b92000 rw-p 00000000 00:00 0
45 7f2af5b92000-7f2af5b93000 r--p 00021000 08:02 393396
46 /lib64/ld-2.15.so
47 7f2af5b93000-7f2af5b94000 rw-p 00022000 08:02 393396
48 /lib64/ld-2.15.so
49 7f2af5b94000-7f2af5b95000 rw-p 00000000 00:00 0
50 7fff6c9e6000-7fff6ca07000 rw-p 00000000 00:00 0
51 [stack]
52 7fff6ca6c000-7fff6ca6d000 r-xp 00000000 00:00 0
53 [vdso]
54 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
55 [vsyscall]
56 [1] 2770 abort conky -c .i3/conkyrc
57
58 This happens when I kill my network and conky is running. The
59 configuration for my network is as follows:
60
61 { "full_text" : "${if_up wlp9s0}Wifi:${else}${if_up
62 enp8s0}Eth:${else}Network Down$endif$endif" , "separator": ${if_up
63 wlp9s0}false${else}${if_up enp8s0}false${else}true$endif$endif ,
64 "separator_block_width" : ${if_up wlp9s0}4${else}${if_up
65 enp8s0}4${else}6$endif$endif , "color" : "\#4c7899" },
66 { "full_text" : "${if_up wlp9s0}${wireless_essid wlp9s0}${else}${if_up
67 enp8s0}up$endif$endif" , "color" : ${if_up wlp9s0}${if_match
68 ${wireless_link_qual_perc wlp9s0}>90}"\#4E9A06"${else}${if_match
69 ${wireless_link_qual_perc
70 wlp9s0}>80}"\#C4A000"${else}"\#CC0000"${else}${if_up
71 enp8s0}"\#4E9A06"$endif$endif$endif$endif },
72
73 Here is the output of conky -v:
74
75 Conky 1.9.0 compiled Sun May 5 18:03:28 CDT 2013 for Linux
76 3.7.10-gentoo-r1 (x86_64)
77
78 Compiled in features:
79
80 System config file: /etc/conky/conky.conf
81 Package library path: /usr/lib64/conky
82
83
84 Music detection:
85 * MPD
86 * MOC
87
88 General:
89 * math
90 * portmon
91 * wireless
92 * config-output
93 * iostats
94 * ncurses
95
96 Any ideas?