Public bug reported:

######
Asus notebook with Linux Mint 18:
######

~ $ lsb_release -rd
Description:    Linux Mint 18 Sarah
Release:        18

~ $ apt-cache policy conky-all
conky-all:
  Installato: 1.10.1-3
  Candidato:  1.10.1-3
  Tabella versione:
 *** 1.10.1-3 500
        500 http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive xenial/universe 
amd64 Packages
        100 /var/lib/dpkg/status

~ $ inxi -Fxz
System:    Host: N751JK Kernel: 4.4.0-34-generic x86_64 (64 bit gcc: 5.3.1)
           Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 
18 Sarah
Machine:   System: ASUSTeK (portable) product: N751JK v: 1.0
           Mobo: ASUSTeK model: N751JK v: 1.0 Bios: American Megatrends v: 
N751JK.205 date: 03/11/2015
CPU:       Quad core Intel Core i7-4710HQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19956
           clock speeds: max: 3500 MHz 1: 2489 MHz 2: 2540 MHz 3: 2649 MHz 4: 
2500 MHz 5: 2505 MHz 6: 2500 MHz
           7: 2688 MHz 8: 2508 MHz
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller 
bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 850M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.3 driver: nvidia Resolution: 
[email protected]
           GLX Renderer: GeForce GTX 850M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 
367.44 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-34-generic
Network:   Card-1: MEDIATEK MT7630e 802.11bgn Wireless Network Adapter
           driver: mt7630e v: 2.3.5
bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 04:00.1
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2000.4GB (44.1% used) ID-1: /dev/sda model: 
HGST_HTS721010A9 size: 1000.2GB temp: 38C
           ID-2: /dev/sdb model: HGST_HTS721010A9 size: 1000.2GB temp: 0C
Partition: ID-1: / size: 99G used: 12G (12%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 333G used: 67G (22%) fs: ext4 dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.0C mobo: N/A gpu: 0.0:54C
           Fan Speeds (in rpm): cpu: 1900
Info:      Processes: 249 Uptime: 5:44 Memory: 1468.9/15930.3MB Init: systemd 
runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.421) inxi: 2.2.35 

######
I suspect it may depends on the battery status: crash with battery charging or 
removed, OK with battery full. More test needed.

The error given in console is:
######

~ $ conky
conky: desktop window (1600044) is subwindow of root window (20b)
conky: window type - normal
conky: drawing to created window (0x600001)
conky: drawing to double buffer

<<FROM HERE WHEN CRASH OCCURS>>
             |
             |
             v

*** Error in `conky': free(): invalid pointer: 0x0000000000fc6770 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7ff587116725]
/lib/x86_64-linux-gnu/libc.so.6(+0x7ff4a)[0x7ff58711ef4a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff587122abc]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0x17c49)[0x7ff58936ac49]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xfcee)[0x7ff589362cee]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xd8dd)[0x7ff5893608dd]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe1f2)[0x7ff5893611f2]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xe73d)[0x7ff58936173d]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xba5e)[0x7ff58935ea5e]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(+0xc8eb)[0x7ff58935f8eb]
/usr/lib/x86_64-linux-gnu/liblua5.1.so.0(lua_pcall+0x58)[0x7ff58935b3a8]
conky(_ZN3lua5state4callEiii+0x22)[0x462042]
conky(_ZN5conky23config_setting_templateIbE3getERN3lua5stateE+0x9d)[0x432fbd]
conky(_Z15calc_text_widthPKc+0x69)[0x4369d9]
conky[0x437418]
conky[0x439bfc]
conky[0x43c00e]
conky(main+0x879)[0x42e139]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ff5870bf830]
conky(_start+0x29)[0x432139]
======= Memory map: ========
00400000-004c6000 r-xp 00000000 08:05 5384520                            
/usr/bin/conky
006c5000-006c6000 r--p 000c5000 08:05 5384520                            
/usr/bin/conky
006c6000-006c8000 rw-p 000c6000 08:05 5384520                            
/usr/bin/conky
006c8000-006ed000 rw-p 00000000 00:00 0 
00f00000-00fe3000 rw-p 00000000 00:00 0                                  [heap]
7ff54c000000-7ff54c021000 rw-p 00000000 00:00 0 
7ff54c021000-7ff550000000 ---p 00000000 00:00 0 
7ff550000000-7ff550021000 rw-p 00000000 00:00 0 
7ff550021000-7ff554000000 ---p 00000000 00:00 0 
7ff554000000-7ff554021000 rw-p 00000000 00:00 0 
7ff554021000-7ff558000000 ---p 00000000 00:00 0 
7ff558000000-7ff558021000 rw-p 00000000 00:00 0 
7ff558021000-7ff55c000000 ---p 00000000 00:00 0 
7ff55c000000-7ff55c022000 rw-p 00000000 00:00 0 
7ff55c022000-7ff560000000 ---p 00000000 00:00 0 
7ff564000000-7ff564029000 rw-p 00000000 00:00 0 
7ff564029000-7ff568000000 ---p 00000000 00:00 0 
7ff56c000000-7ff56c021000 rw-p 00000000 00:00 0 
7ff56c021000-7ff570000000 ---p 00000000 00:00 0 
7ff5737ff000-7ff573800000 ---p 00000000 00:00 0 
7ff573800000-7ff574000000 rw-p 00000000 00:00 0 
7ff574000000-7ff574021000 rw-p 00000000 00:00 0 
7ff574021000-7ff578000000 ---p 00000000 00:00 0 
7ff57afdd000-7ff57afde000 ---p 00000000 00:00 0 
7ff57afde000-7ff57b7de000 rw-p 00000000 00:00 0 
7ff57b7de000-7ff57b832000 r--p 00000000 08:05 8992                       
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
7ff57b832000-7ff57b833000 ---p 00000000 00:00 0 
7ff57b833000-7ff57c033000 rw-p 00000000 00:00 0 
7ff57c033000-7ff57c034000 ---p 00000000 00:00 0 
7ff57c034000-7ff57c834000 rw-p 00000000 00:00 0 
7ff57c834000-7ff57c835000 ---p 00000000 00:00 0 
7ff57c835000-7ff57d035000 rw-p 00000000 00:00 0 
7ff57d035000-7ff57d036000 ---p 00000000 00:00 0 
7ff57d036000-7ff57d836000 rw-p 00000000 00:00 0 
7ff57d836000-7ff57d837000 ---p 00000000 00:00 0 
7ff57d837000-7ff57e037000 rw-p 00000000 00:00 0 

[ ... a long bunch of libs here; I don't know if they are useful ... ]

7ff58ab83000-7ff58ab84000 rw-p 00000000 00:00 0 
7fffa9a4f000-7fffa9a70000 rw-p 00000000 00:00 0                          [stack]
7fffa9abd000-7fffa9abf000 r--p 00000000 00:00 0                          [vvar]
7fffa9abf000-7fffa9ac1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Annullato

######
and my .conkyrc:
######

~ $ cat .conkyrc 
conky.config = {
        use_xft = true,
        font = 'Ubuntu:size=10',
        use_xft = true,
        override_utf8_locale = true,

        update_interval = 2,
        update_interval_on_battery = 10,
        --total_run_times = 0,
        double_buffer = true,
        no_buffers = true,
        net_avg_samples = 2,
        --text_buffer_size=924,

        own_window = true,
        --own_window_type = conky,
        own_window_transparent = true,
        own_window_type = 'normal',
        own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

        alignment = 'middle_right',
        background = false,
        border_width = 0,
        cpu_avg_samples = 2,
        --default_color = white,
        default_color = 'BBBBBB',
        color2 = '666666',
        --color2 = 'B04A53',
        default_shade_color = '101010',
        draw_borders = false,
        draw_graph_borders = true,
        draw_outline = false,
        draw_shades = true,

        gap_x = 10,
        gap_y = 15,

        out_to_console = false,
        out_to_stderr = false,
        extra_newline = false,

        stippled_borders = 0,
        uppercase = false,
        use_spacer = 'right',
        show_graph_scale = false,
        show_graph_range = false,

        short_units = true,
        top_name_width = 8,
}

conky.text = [[
${font Ubuntu:style=bold:size=9}${color2}SYSTEM $hr${color}${font}
$sysname $kernel $alignr $machine
Host: $alignr $nodename
Uptime: $alignr $uptime

${font Ubuntu:style=bold:size=9}${color2}PROCESSORS $hr${color}${font}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU3: ${cpu cpu3}% ${cpubar cpu3}
CPU4: ${cpu cpu4}% ${cpubar cpu4}
CPU5: ${cpu cpu5}% ${cpubar cpu5}
CPU6: ${cpu cpu6}% ${cpubar cpu6}
CPU7: ${cpu cpu7}% ${cpubar cpu7}
CPU8: ${cpu cpu8}% ${cpubar cpu8}
Freq: $alignr ${freq}MHz

${font Ubuntu:style=bold:size=9}${color2}TOP PROCESSES $hr${color}${font}
Name$alignc PID$alignr CPU   MEM${color}
${top name 1}$alignc${top pid 1}$alignr${top cpu 1}%$alignr${top mem 1}%
${top name 2}$alignc${top pid 2}$alignr${top cpu 2}%$alignr${top mem 2}%
${top name 3}$alignc${top pid 3}$alignr${top cpu 3}%$alignr${top mem 3}%
${top name 4}$alignc${top pid 4}$alignr${top cpu 4}%$alignr${top mem 4}%
${top name 5}$alignc${top pid 5}$alignr${top cpu 5}%$alignr${top mem 5}%

${font Ubuntu:style=bold:size=9}${color2}MEMORY $hr${color}${font}
RAM ${alignc}     $mem/$memmax  $alignr $memperc%
${membar}
        
${font Ubuntu:style=bold:size=9}${color2}PARTITIONS $hr${color}${font}
${font Ubuntu:style=bold:size=9}/ ${font}$alignc ${fs_used /} / ${fs_size /} 
$alignr ${fs_used_perc /}%
${fs_bar /}
        
${font Ubuntu:style=bold:size=9}HOME ${font}$alignc ${fs_used /home} / 
${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}

${font Ubuntu:style=bold:size=9}DATA2 ${font}$alignc ${fs_used 
/media/samuele/DATA2} / ${fs_size /media/samuele/DATA2} $alignr ${fs_used_perc 
/media/samuele/DATA2}%
${fs_bar /media/samuele/DATA2}
        
${font Ubuntu:style=bold:size=9}${color2}WIRED NETWORK $hr${color}${font}
$alignc IP address: ${addr eth0}
${downspeedgraph eth0}
Dwnl-Sp: ${downspeed eth0}/s $alignr Tot Dwnl ${totaldown eth0}
${upspeedgraph eth0}
Upl-Sp: ${upspeed eth0}/s $alignr Tot Upl ${totalup eth0}
        
${font Ubuntu:style=bold:size=9}${color2}WI-FI NETWORK $hr${color}${font}
$alignc IP address: ${addr wlan0}
${downspeedgraph wlan0}
Dwnl-Sp: ${downspeed wlan0}/s $alignr Tot Dwnl ${totaldown wlan0}
${upspeedgraph wlan0}
Upl-Sp: ${upspeed wlan0}/s $alignr Tot Upl ${totalup wlan0}

${font Ubuntu:style=bold:size=9}${color2}SYSTEM UPDATES $hr${color}${font}
Number of Available Updates: $alignr ${font Ubuntu:style=bold:size=9} ${execi 
900 aptitude search "~U" | wc -l}


]]

** Affects: conky (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Conky crashes after a few seconds from starting it up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/conky/+bug/1618958/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to