time-admin crashed with SIGSEGV in strcmp()

Bug #406211 reported by Moisa Doru
558
This bug affects 101 people
Affects Status Importance Assigned to Milestone
GST
Fix Released
Undecided
Unassigned
gnome-system-tools (Ubuntu)
Fix Released
Medium
Unassigned
Karmic
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-system-tools

Ubuntu karmic alpha3 (9.10) amd64, System->Administration->Time and Date
 - crashes after opening the timezone selector

ProblemType: Crash
Architecture: amd64
Date: Wed Jul 29 10:14:05 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/time-admin
Package: gnome-system-tools 2.27.2-0ubuntu1
ProcCmdline: time-admin
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-4.23-generic
SegvAnalysis:
 Segfault happened at: 0x7fbb8238ab22 <strcmp+2>: cmp (%rsi),%al
 PC (0x7fbb8238ab22) ok
 source "(%rsi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%al" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-system-tools
StacktraceTop:
 strcmp () from /lib/libc.so.6
 ?? ()
 ?? ()
 g_closure_invoke ()
 ?? () from /usr/lib/libgobject-2.0.so.0
Title: time-admin crashed with SIGSEGV in strcmp()
Uname: Linux 2.6.31-4-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev root sambashare tape vboxusers video

Revision history for this message
Moisa Doru (moisadoru) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:strcmp () at ../sysdeps/x86_64/strcmp.S:30
e_tz_map_get_location_by_name (
gst_time_tool_run_timezone_dialog (
IA__g_closure_invoke (closure=0x16434b0,
signal_emit_unlocked_R (node=0x162ca20,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in gnome-system-tools (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Andreas Moog (ampelbein)
visibility: private → public
Revision history for this message
Guntbert Reiter (guntbert) wrote :

the situation within the dialog: in the time-zone dialog the world map was mostly black with some light points, location of mouse pointer was recognized (status line updated accordinlgly), the list field was empty and just one line high, on <apply> the app crashed

Revision history for this message
Kalman Reti (kalman-reti) wrote :

I think the importance ought to be higher; you can't use some programs in the livecd without being able to set the time correctly, e.g. mythtv.

As I mentioned in the duplicate bug report (414664) I filed (in alpha4 karmic), a popup dialog appeared the first time indicating that it couldn't load the configuration because "you are not allowed to access the system configuration". It is presumably the lack of this access that leads both to the segv and to the messed up map and dialog elements. It probably should be a separate bug that this popup dialog only appears the first time you try to invoke the timezone dialog.

Changed in gnome-system-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Ouch! Thanks for noticing this bug. Don't worry about the importance, Medium is already quite high and it won't prevent me from trying to fix it.

I've just committed a fix so that the map is shown again, it had indeed recently disappeared due to a wrong path to the image file. But the crash is not directly related to this, and I'm starting investigating it - should not be too hard given the bad GTK warnings that are shown. The popup may be another problem, we'll see. ;-)

Changed in gnome-system-tools (Ubuntu):
assignee: nobody → Milan Bouchet-Valat (nalimilan)
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

OK, the crash was also fairly simple: the time zones list was not created, thus we were trying to access invalid zone names. I've added the list back, and that fixed the crash.

This is now committed to our development branch, but I guess you'll have to wait for 2.27.92 to be released, which will happen before September 7th. Please then confirm, and thanks for your attention!

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Oh, and please report the "you are not allowed to access the system configuration" problem separately, including details. You can run 'sudo killall polkitd && sudo /usr/libexec/polkitd', then run time-admin, and attach the logs. Thanks!

Changed in gnome-system-tools (Ubuntu):
assignee: Milan Bouchet-Valat (nalimilan) → nobody
Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

I stumbled across this bug report thanks to the automated bug generation when my time-admin crashed with the same symptoms noted here. I was wondering if the problem with timezone setting is contributing the this bug where an fsck is being forced due to an inconsistency in the superblocks (superblock identified an hour in the future)... http://ubuntuforums.org/showthread.php?t=1252690

Revision history for this message
Nicholas Roberts (nicholasdavidroberts) wrote :

My apologies... the more relevant bug is this one: http://ubuntuforums.org/showthread.php?t=1252108&page=2

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Well, if your clock shows the right time, then no chance the current bug can raise fsck issues. I don't think the time can become incorrect because of the crash, since the system settings should not be modified.

Revision history for this message
Brian Murray (brian-murray) wrote :

The fsck issue is likely bug 423427 which is now fixed.

Changed in gnome-system-tools (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jon Grossart (jon-grossart) wrote :

This bug is still happening as of a fresh install of Karmic Alpha 6

Revision history for this message
Tomasz Rzepecki (nub) wrote :

well, my clock does NOT show the right time. it shows 20:27 whereas it's 12:27 where i am (or 10:27 utc).

Revision history for this message
NeverMind (agathe-durieux) wrote :

To configure correctly your clock you can use :
sudo dpkg-reconfigure tzdata

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

TeutonJon78: yeah, nobody said the contrary. This is because version 2.27.92 has not been uploaded to Karmic yet.

Tomasz: please don't report completely different problems on an existing report. If you think you experience a bug, please report it separately. Else, you can get help in the forums.

Changed in gst:
status: New → Fix Released
Revision history for this message
masinick (masinick) wrote :

I received an exception when I clicked on the clock in an Xubuntu 9.10 Alpha 6 instance, running in Virtualbox OSE from a Debian Sid based laptop system. Not positive that it is the same defect, but problems persist in this interface.

Revision history for this message
Bernhard (b.a.koenig) wrote :

Since it says "Fix released", I just wanted to say that this problem still persists for me with most recent karmic and all updates on Sept. 22.

Revision history for this message
Bernhard (b.a.koenig) wrote :

Oh, sorry missed #16. My gnome-system-tools is still 2.27.3.

Changed in gnome-system-tools (Ubuntu Karmic):
status: Triaged → Fix Released
Revision history for this message
Bernhard (b.a.koenig) wrote :

Yes, got the update today, it works now with 2.28.0.

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.