Please sync conky 1.8.0-1 from Debian unstable (contrib).

Bug #525926 reported by ᗡⴺЯMA
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
conky (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: conky

1. Description: Ubuntu lucid (development branch)
Release: 10.04

2. conky:
  Installato: 1.8.0~git925e80ac-0ubuntu1
  Candidato: 1.8.0~git925e80ac-0ubuntu1
  Tabella versione:
 *** 1.8.0~git925e80ac-0ubuntu1 0
        500 http://it.archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status

3. Just closing Firefox & clicked on empty Desktop area

4. Conky crash

ProblemType: Crash
Architecture: i386
Date: Mon Feb 22 19:09:23 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/conky
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100217)
Package: conky-all 1.8.0~git925e80ac-0ubuntu1
ProcCmdline: conky restart
ProcEnviron:
 SHELL=/bin/bash
 LANG=it_IT.utf8
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SegvAnalysis:
 Segfault happened at: 0x8fa8e8 <strnlen+72>: mov (%edx),%eax
 PC (0x008fa8e8) ok
 source "(%edx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: conky
StacktraceTop:
 strnlen () from /lib/tls/i686/cmov/libc.so.6
 strndup () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? ()
 ?? ()
Title: conky crashed with SIGSEGV in strnlen()
Uname: Linux 2.6.32-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
ᗡⴺЯMA (derma) wrote :
Revision history for this message
ᗡⴺЯMA (derma) wrote :

I deleted by mistake the "conkyrc" file in my "/home"... maybe that's the reason why Conky crashed.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __strnlen (str=0x0, maxlen=16383) at strnlen.c:118
 *__GI___strndup (s=0x0, n=16383) at strndup.c:45
 extract_variable_text_internal (retval=0x80aab60,
 extract_variable_text (p=0x0) at ../../src/conky.c:726
 initialisation (argc=2, argv=0xbfb95634)

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in conky (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Cesare Tirabassi (norsetto) wrote : Re: conky crashed with SIGSEGV in strnlen()

Yes, removing the configuration file and restarting will cause conky to crash. I can fix the first crash but then it will crash later on, the code is not really designed to handle this case.
I don' t think we will fix this upstream, but I'll pass this to other devs just in case.

Changed in conky (Ubuntu):
status: New → Won't Fix
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

After some more thinking I think we found a way to fix this without hopefully not breaking anything else (basically, we don' t treat the configuration file deletion as a reload event).

Changed in conky (Ubuntu):
status: Won't Fix → Fix Committed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Please sync conky 1.8.0-1 from Debian unstable (contrib).

This is a bug-fix only release w.r.t. the current Ubuntu version, therefore no FFe is needed.
Upstream git commit log is attached:

2010-03-31 Brenden Matthews Deprecate changelog, bump for release. 1.8.0 1.8.0
2010-03-18 Pavel Labath Fix a leak in mpd.c (refcount fail)
2010-03-13 Cesare Tirabassi Fix doc re. mixer names
2010-03-13 Pavel Labath yikes, fix editing fail, thanks norsetto
2010-03-06 Pavel Labath Fix iwlib detection in certain situations
2010-03-03 Brenden Matthews Build fix due to bad include ordering.
2010-03-03 Pavel Labath Fix crash when using $desktop_name with out_to_x no
2010-03-02 Cesare Tirabassi Fix sf: #2961602
2010-02-28 Pavel Labath s/substract/subtract/
2010-02-23 Nikolas Garofil Fix removing the config and sending a SIGUSR1 results...
2010-02-22 Cesare Tirabassi Fix LP: #525926; conky sigsegv if config file is deletedsnapshot
2010-02-22 Nikolas Garofil Fix wrong output when nesting $combine-s
2010-02-22 Nikolas Garofil Fix memleak
2010-02-22 Nikolas Garofil Fix output of $combine when used in combination with...
2010-02-18 Nikolas Garofil Fix current_mail_spool memleak
2010-02-17 Nikolas Garofil Fix memleak in if_match
2010-02-17 Pavel Labath Update docs to be consistent with changes in previous...
2010-02-17 Pavel Labath Try to make $if_match better handle stranger inputs
2010-02-17 Ben Kibbey Added AF_UNIX socket support.

Package changelog is also attached:

conky (1.8.0-1) unstable; urgency=low

  * New upstream release:
    - add AF_UNIX socket support
    - fix sigsegv if config file is deleted (LP: #525926)
    - the following debian bugs are closed by this upload:
      + change automake1.10 to automake1.11 (Closes: #550929)
      + hwmon made compatible with kernels >= 2.6.31 (Closes: #556926)
      + text_buffer_size change is well documented (Closes: #519401)
      + fix diskio for not existing devices (Closes: #536557)
      + fix wrong mixer values on some systems (Closes: #540282)
      + fix minor memory leak (Closes: #566524)
      + fix some documentation error re. graphs (Closes: #564518)
      + add -p/--pause startup option (Closes: #513440)
      + fix documentation about mixer values (Closes: #538760)
  * This release is based on the Ubuntu package with the following changes
    necessary for Debian (Closes: #536320):
    - change control and rules to build correctly on non-Linux arches
      (Closes: #536326)
    - updated NEWS, descriptions in control and changelog
    - change archive area to contrib
  * Change priority of metapackage to extra
  * My utmost thanks go to Kapil Hari Paranjape for his packaging work and to
    Luca Falavigna for being so kind to review and sponsor this release

summary: - conky crashed with SIGSEGV in strnlen()
+ Please sync conky 1.8.0-1 from Debian unstable (contrib).
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

BTW, this is in Debian NEW at the moment.

Revision history for this message
James Westby (james-w) wrote :

2010-04-12 10:51:19 INFO - <conky_1.8.0-1.debian.tar.bz2: downloading from http://ftp.debian.org/debian/>
[Updating] conky (1.8.0~git925e80ac-0ubuntu1 [Ubuntu] < 1.8.0-1 [Debian])
 * Trying to add conky...
2010-04-12 10:51:19 INFO - <conky_1.8.0.orig.tar.bz2: downloading from http://ftp.debian.org/debian/>
2010-04-12 10:51:19 INFO - <conky_1.8.0-1.dsc: downloading from http://ftp.debian.org/debian/>
I: conky [universe] -> conky_1.8.0~git925e80ac-0ubuntu1 [universe].
I: conky [universe] -> conky-std_1.8.0~git925e80ac-0ubuntu1 [universe].
I: conky [universe] -> conky-cli_1.8.0~git925e80ac-0ubuntu1 [universe].
I: conky [universe] -> conky-all_1.8.0~git925e80ac-0ubuntu1 [universe].

Changed in conky (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.