conky crashed with SIGSEGV in __underflow()

Bug #279493 reported by Thomas Pifer
14
Affects Status Importance Assigned to Milestone
Conky
Unknown
Unknown
conky (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: conky

Crashed when started at log-in. Attaching my .conkyrc file as well.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/conky
Package: conky 1.6.1-0ubuntu2
ProcAttrCurrent: unconfined
ProcCmdline: conky
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: conky
StacktraceTop:
 __underflow () from /lib/tls/i686/cmov/libc.so.6
 _IO_default_xsgetn () from /lib/tls/i686/cmov/libc.so.6
 _IO_sgetn () from /lib/tls/i686/cmov/libc.so.6
 fread () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
Title: conky crashed with SIGSEGV in __underflow()
Uname: Linux 2.6.27-5-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Tags: apport-crash

Related branches

Revision history for this message
Thomas Pifer (zero456) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:__underflow () from /lib/tls/i686/cmov/libc.so.6
_IO_default_xsgetn_internal () from /lib/tls/i686/cmov/libc.so.6
_IO_sgetn_internal () from /lib/tls/i686/cmov/libc.so.6
fread () from /lib/tls/i686/cmov/libc.so.6
read_exec (data=<value optimized out>,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in conky:
importance: Undecided → Medium
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Do you have mounted partitions in media which are called:

Main Disk
Data Disk
Extra Disk

?
What error messages you get when you launch conky from a terminal?

Changed in conky:
status: New → Incomplete
Revision history for this message
Thomas Pifer (zero456) wrote : Re: [Bug 279493] Re: conky crashed with SIGSEGV in __underflow()

> Do you have mounted partitions in media which are called:
>
> Main Disk
> Data Disk
> Extra Disk
>
> ?
Yes.

> What error messages you get when you launch conky from a terminal?
Conky: use_spacer should have an argument of left, right, or none.
'yes' seems to be some form of 'true', so defaulting to right.
Conky: desktop window (12000a9) is subwindow of root window (188)
Conky: window type - override
Conky: drawing to created window (0x3a00001)
Conky: drawing to double buffer
Segmentation fault (core dumped)

--
Thomas Pifer <email address hidden>

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I can't reproduce this on my machine; I thought the problem could be related to the name being used for your partitions (which contains a space) but in bug 279791 there is a crash reported with a similar .conkyrc (and partition names without a space).
Can you try to obtain a proper backtrace (see https://wiki.ubuntu.com/DebuggingProgramCrash)? The one reported by apport doesn't seem reliable.
Also, could you try to remove all entries and selectively add them back to .conkyrc so that we can pinpoint where exactly is the problem?

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Also, can you try to remove this line from .conkyrc and see what happens:

${execi 30 tail -n3 /var/log/messages | fold -w50}

Revision history for this message
Thomas Pifer (zero456) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Thanks, that was useful.

Could you attach to this bug report your /var/log/messages file?
If you have edited your conky.conf file, or created a new one, attaching these should also be helpful.

Revision history for this message
Thomas Pifer (zero456) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I'm uploading a new version that should solve this problem, please test and reopen this bug if it still fails. Note that you may have to add a text_buffer_size greater that the default of 256 if you want to see all your log messages (640 should do).

Changed in conky:
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package conky - 1.6.1-0ubuntu3

---------------
conky (1.6.1-0ubuntu3) intrepid; urgency=low

  * debian/patches:
    - fix_exec_buffer_size.patch (LP: #279493, LP: #279791):
      fix SIGSEGV due to wrong buffer size being used in all exec* calls.

 -- Cesare Tirabassi <email address hidden> Fri, 10 Oct 2008 22:40:09 +0200

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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