indicator-datetime-preferences crashed with SIGSEGV in g_utf8_normalize()

Bug #727089 reported by Ngassam Nkwenga
132
This bug affects 24 people
Affects Status Importance Assigned to Milestone
GTK+
Expired
Low
Indicator Date and Time
Fix Released
Medium
Michael Terry
Unity Foundations
Fix Released
High
Michael Terry
indicator-datetime (Ubuntu)
Fix Released
Medium
Karl Lattimer
Natty
Fix Released
Medium
Karl Lattimer

Bug Description

Binary package hint: indicator-datetime

I was trying to add more time location to be shown.

I can't reproduce this bug

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: indicator-datetime 0.1.95-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Tue Mar 1 11:39:34 2011
ExecutablePath: /usr/bin/indicator-datetime-preferences
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110212)
ProcCmdline: indicator-datetime-preferences
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x1f3b37: cmpb $0x0,(%esi)
 PC (0x001f3b37) ok
 source "$0x0" ok
 destination "(%esi)" (0x00000000) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: indicator-datetime
StacktraceTop:
 ?? () from /lib/libglib-2.0.so.0
 g_utf8_normalize () from /lib/libglib-2.0.so.0
 gtk_entry_completion_complete () from /usr/lib/libgtk-x11-2.0.so.0
 ?? ()
 ?? ()
Title: indicator-datetime-preferences crashed with SIGSEGV in g_utf8_normalize()
UpgradeStatus: Upgraded to natty on 2011-02-24 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors: (nautilus:1866): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

Related branches

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

StacktraceTop:
 _g_utf8_normalize_wc (str=0x0, max_len=-1, mode=G_NORMALIZE_ALL) at /build/buildd/glib2.0-2.28.1/./glib/gunidecomp.c:364
 g_utf8_normalize (str=0x0, len=-1, mode=G_NORMALIZE_ALL) at /build/buildd/glib2.0-2.28.1/./glib/gunidecomp.c:525
 IA__gtk_entry_completion_complete (completion=0x8d53890) at /build/buildd/gtk+2.0-2.24.1/gtk/gtkentrycompletion.c:1177
 save_and_use_model (completion=0x8d53890, model=0x8e5fca0) at timezone-completion.c:68
 geonames_data_ready (object=0x8f18000, res=0x8f12950, user_data=0x8d53890) at timezone-completion.c:172

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 indicator-datetime (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Changed in indicator-datetime (Ubuntu):
assignee: nobody → Karl Lattimer (karl-qdh)
Revision history for this message
joopbraak (joopbraak) wrote :

Just added Indicator Applet Complete, clicked on Time & Date Settings, Unlock, Clock, Choose Locations, tried to close "Choose Locations" window, then crash happened.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has some duplicates, setting as confirmed

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Changed in indicator-datetime:
importance: Undecided → Medium
status: New → Triaged
David Barth (dbarth)
Changed in unity-foundations:
assignee: nobody → Karl Lattimer (karl-qdh)
importance: Undecided → High
milestone: none → ubuntu-11.04-beta-1
status: New → Confirmed
Changed in indicator-datetime:
assignee: nobody → Karl Lattimer (karl-qdh)
Revision history for this message
Karl Lattimer (karl-qdh) wrote :

taking a look at the code that causes this bug now, some changes to the geonames code might have occurred since.

any hints on reproducing this bug, e.g. input methods used, keyboard layout used, language used and location added might help.

Could possibly be bad data from geonames which hasn't been well sanitised.

Changed in indicator-datetime (Ubuntu Natty):
status: Confirmed → In Progress
Changed in indicator-datetime:
status: Triaged → In Progress
Changed in unity-foundations:
status: Confirmed → In Progress
Revision history for this message
Karl Lattimer (karl-qdh) wrote :

this bug is triggered when the system is offline, possibly when some unexpected text is put in the completion entry.

I'd like a sample of the text which causes this bug so I can identify the issue.

Revision history for this message
Gary M (garym) wrote :

I get this bug when online. Language is en-nz, and no completions are shown when typing in any city.

Karl Lattimer (karl-qdh)
Changed in indicator-datetime (Ubuntu Natty):
status: In Progress → Fix Committed
Changed in indicator-datetime:
status: In Progress → Fix Committed
Changed in unity-foundations:
status: In Progress → Fix Committed
Changed in indicator-datetime:
status: Fix Committed → In Progress
Changed in unity-foundations:
status: Fix Committed → In Progress
Changed in indicator-datetime (Ubuntu Natty):
status: Fix Committed → In Progress
Revision history for this message
Karl Lattimer (karl-qdh) wrote :

Looking through mterry's patches yesterday it appears this may be fixed, a lot has changed in the save_and_use_model function.

Changed in indicator-datetime:
status: In Progress → Fix Committed
Changed in unity-foundations:
status: In Progress → Fix Committed
Changed in indicator-datetime (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
David Barth (dbarth) wrote :

Thanks mterry!

Changed in unity-foundations:
milestone: unity-3.8.0-beta → unity-3.6.8
assignee: Karl Lattimer (karl-qdh) → Michael Terry (mterry)
Revision history for this message
Ron Lusk (luskwater) wrote :

I get this trying to add other locations. I check "Show time in other locations", and then "Add locations" (this from memory, not sure of the real texts). A small listbox with "UTC" and a time appears. If I click "+" to add an item, I get an edit control on the left-side of the listbox. There's no completion, no apparent validation, etc. I can enter "India", "ISt", and so forth, and get a crash from doing so.

Changed in unity-foundations:
milestone: unity-3.6.8 → unity-3.8.0-beta
Revision history for this message
Gary M (garym) wrote :

( indicator-datetime 0.2.0-0ubuntu1 )
Retested here, and problem solved for me, both online and offline. Completion now works, and city addition does not currently crash.

Revision history for this message
Michael Terry (mterry) wrote :

Nope, I see what's causing this now. Patch coming.

Changed in indicator-datetime:
assignee: Karl Lattimer (karl-qdh) → Michael Terry (mterry)
status: Fix Committed → In Progress
tags: added: patch-forwarded-upstream
Michael Terry (mterry)
Changed in indicator-datetime (Ubuntu Natty):
status: Fix Committed → Triaged
Changed in gtk:
importance: Unknown → Low
status: Unknown → New
Ted Gould (ted)
Changed in indicator-datetime:
status: In Progress → Fix Committed
milestone: none → 0.2.1
Karl Lattimer (karl-qdh)
Changed in indicator-datetime (Ubuntu Natty):
status: Triaged → Fix Committed
status: Fix Committed → In Progress
Ted Gould (ted)
Changed in indicator-datetime:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-datetime - 0.2.1-0ubuntu1

---------------
indicator-datetime (0.2.1-0ubuntu1) natty; urgency=low

  * New upstream release.
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_utf8_normalize() (LP: #727089)
    * Uninstalling Evolution removes calendar from clock applet (LP: #691953)
    * clock doesn't update on timezone change (LP: #735445)
    * Cannot change main location (LP: #729029)
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_simple_async_result_complete() (LP: #734951)
    * Time zone map looks identical when sensitive vs. insensitive (LP: #740846)
    * "Locations" window behaves like a modal dialog (LP: #740924)
    * Added location for clock menu isn't used or remembered (LP: #740930)
    * Time not displayed for added location in "Locations" window (LP: #740931)
    * "UTC" location can be removed but not re-added (LP: #740938)
    * "Locations" window bottom bar is missing a border (LP: #740941)
    * Add and Remove buttons in "Locations" window have unnecessary tooltips
      (LP: #740944)
    * No separator between "Add Event" and locations (LP: #740971)
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_atomic_int_exchange_and_add() (LP: #740978)
    * inicator-datetime dosen't show corretly the time when changing from 24
      hours format to 12 hours (LP: #743394)
    * Add tooltips on the error icons
    * Fix marking to refresh as the calendar changes
    * Recycle old entries to make the refresh cleaner
    * Use day when timezone is set to 'locale'
    * Reset time when coming back from suspend (LP: #726053)
 -- Ted Gould <email address hidden> Thu, 31 Mar 2011 14:32:40 -0500

Changed in indicator-datetime (Ubuntu Natty):
status: In Progress → Fix Released
Michael Terry (mterry)
Changed in unity-foundations:
status: Fix Committed → Fix Released
Changed in gtk:
status: New → Expired
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.