Crash trying to open Preferences

Bug #682379 reported by John A Meinel
144
This bug affects 28 people
Affects Status Importance Assigned to Milestone
Ubuntu One Windows Installer
Invalid
Medium
Manuel de la Peña

Bug Description

During the process of syncing, I went to open Ubuntu One Preferences. While doing so, I got a crash dialog for:

  "UbuntuOneClient has stopped working".

What was strange is that the client seemed to continue updating during this process. So maybe just launching a new Preferences dialog failed?

However, when I clicked "Close this Program" it did kill the taskbar icon. The sync seemed to continue in the background.

This was the problem details:
Description:
  Stopped working

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: ubuntuoneclient.exe
  Problem Signature 02: 1.0.723.1147
  Problem Signature 03: 4ceb22d7
  Problem Signature 04: Newtonsoft.Json
  Problem Signature 05: 3.5.0.0
  Problem Signature 06: 4c65f787
  Problem Signature 07: 337
  Problem Signature 08: 21f
  Problem Signature 09: OY2FQCX4JQSNQFLRRVHMIHGR33VND5BB
  OS Version: 6.0.6002.2.2.0.768.2
  Locale ID: 1033

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

Revision history for this message
John A Meinel (jameinel) wrote :

After the crash and restart, I was able to launch preferences.

It makes me wonder if the bug was getting a status update while the menu was open, etc.

Changed in ubuntuone-windows-installer:
status: New → Confirmed
assignee: nobody → Manuel de la Pena (mandel)
Revision history for this message
mhauden (mhauden) wrote :

Update: I can replicate this reliably under the following conditions:

Attempt to open "Preferences" from tray icon when:
1) Client is actively updating.
2) Tooltip bubble exists above tray icon.

Changed in ubuntuone-windows-installer:
importance: Undecided → Medium
Revision history for this message
archieb0ld (archieb0ld) wrote :

I am experiencing a similar problem. I noticed that opening Preferences, closing the window with the 'Close' button works ok. But if I close the Preferences with the windows 'X' button, then opening Prefences again causes a crash.

Revision history for this message
Matteo Pagliazzi (paglia) wrote :

I have the same problem on windows 7

Revision history for this message
Andrés (viluhh) wrote :

in general, all modal windows for example "about dialog" when are closed with "window X button", and it are reopen, ubuntu one crash

Changed in ubuntuone-windows-installer:
status: Confirmed → In Progress
Revision history for this message
disto2 (disto2) wrote :
Download full text (4.8 KiB)

Windows Eventlist:

Ereignistyp: Fehler
Ereignisquelle: .NET Runtime
Ereigniskategorie: Keine
Ereigniskennung: 1026
Datum: 03.02.2011
Zeit: 16:03:07
Benutzer: Nicht zutreffend
Computer: ##private##
Beschreibung:
Anwendung: UbuntuOneClient.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.ArgumentNullException
Stapel:
   bei Canonical.UbuntuOne.Common.Net.OAuth.GenerateSignatureBase(System.Uri, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String ByRef, System.String ByRef)
   bei Canonical.UbuntuOne.Common.Net.OAuth.GenerateSignature(System.Uri, System.String, System.String, System.String, System.String, System.String, System.String, System.String, SignatureTypes, System.String ByRef, System.String ByRef)
   bei Canonical.UbuntuOne.Common.Net.OAuth.GenerateHeaderWithSignature(System.Uri, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, SignatureTypes, System.String ByRef, System.String ByRef)
   bei Canonical.UbuntuOne.Common.Net.OAuth.MakeRequest(System.String, System.String, System.String, System.String, System.String, System.String)
   bei Canonical.UbuntuOne.Client.Preferences.PreferencesDialogPresenter.GetConsumption()
   bei Canonical.UbuntuOne.Client.Preferences.PreferencesDialogPresenter.Show()
   bei Canonical.UbuntuOne.Client.Notification.NotificationIconPresenter.OpenUbuntuOnePreferences()
   bei Canonical.UbuntuOne.Client.Views.UbuntuOneNotifyIcon.OnUbuntuOnePreferencesMenuItemClick(System.Object, System.Windows.RoutedEventArgs)
   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   bei System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   bei System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
   bei System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   bei System.Threading.ExecutionContext.runTryCode(System.Object)
   bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
   bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Obje...

Read more...

Changed in ubuntuone-windows-installer:
status: In Progress → Fix Committed
Changed in ubuntuone-windows-installer:
status: Fix Committed → In Progress
Revision history for this message
Andrew Black (nordy) wrote :

Same here.

Windows 7 Ultimate (32bit)

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: ubuntuoneclient.exe
  Problem Signature 02: 1.0.723.1147
  Problem Signature 03: 4ceb22d7
  Problem Signature 04: System
  Problem Signature 05: 4.0.0.0
  Problem Signature 06: 4ba1dff4
  Problem Signature 07: 1b9d
  Problem Signature 08: 1f3
  Problem Signature 09: HCWYEHACRWG4FHL1G4Q40L0P00USBU2T
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Revision history for this message
crackelendol (jean-manguy) wrote :

Same problem
on windows 7

Revision history for this message
Bob Busters (dolman23) wrote :

Same problem. Windows 7
Fault bucket 1529733962, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: ubuntuoneclient.exe
P2: 1.0.723.1147
P3: 4ceb22d7
P4: System
P5: 4.0.0.0
P6: 4ba1dff4
P7: 1b9d
P8: 1f3
P9: HCWYEHACRWG4FHL1G4Q40L0P00USBU2T
P10:

Revision history for this message
Earth Bid (earthbid) wrote :

Crashes when selecting preferences.

Description:
  Stopped working

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: ubuntuoneclient.exe
  Problem Signature 02: 1.0.723.1147
  Problem Signature 03: 4ceb22d7
  Problem Signature 04: System
  Problem Signature 05: 4.0.0.0
  Problem Signature 06: 4ba1dff4
  Problem Signature 07: 1b9d
  Problem Signature 08: 1f3
  Problem Signature 09: HCWYEHACRWG4FHL1G4Q40L0P00USBU2T
  OS Version: 6.0.6002.2.2.0.768.3
  Locale ID: 1033

Revision history for this message
Jered Masters (jblacktea) wrote :
Download full text (6.4 KiB)

I get the same problem.

I downloaded the windows client msi on 7/Jun/2011 ~2am GMT.

Windows gives me the option to debug as I have visual studio installed.

I'm able to replicate this bug fairly reliably too.

Hopes this helps Mandel.
Let me know if you want me to grab anything else.

Cheers
Jered

System.InvalidOperationException was unhandled
  Message=Cannot set Visibility or call Show, ShowDialog, or WindowInteropHelper.EnsureHandle after a Window has closed.
  Source=PresentationFramework
  StackTrace:
       at System.Windows.Window.ShowDialog()
       at Canonical.UbuntuOne.Client.Views.PreferencesDialog.Canonical.UbuntuOne.Client.Preferences.IPreferencesView.ShowDialog() in c:\Users\Mandel\Documents\Projects\ubuntuone\net\chipaca_trunk\src\Canonical.UbuntuOne.Client.Views\PreferencesDialog.xaml.cs:line 176
       at Canonical.UbuntuOne.Client.Preferences.PreferencesDialogPresenter.Show() in c:\Users\Mandel\Documents\Projects\ubuntuone\net\chipaca_trunk\src\Canonical.UbuntuOne.Client\Preferences\PreferencesDialogPresenter.cs:line 212
       at Canonical.UbuntuOne.Client.Notification.NotificationIconPresenter.OpenUbuntuOnePreferences() in c:\Users\Mandel\Documents\Projects\ubuntuone\net\chipaca_trunk\src\Canonical.UbuntuOne.Client\Notification\NotificationIconPresenter.cs:line 326
       at Canonical.UbuntuOne.Client.Views.UbuntuOneNotifyIcon.OnUbuntuOnePreferencesMenuItemClick(Object sender, RoutedEventArgs e) in c:\Users\Mandel\Documents\Projects\ubuntuone\net\chipaca_trunk\src\Canonical.UbuntuOne.Client.Views\NotifyIcon.xaml.cs:line 219
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.Hwn...

Read more...

Revision history for this message
Timrobinson49 (timrobinson49) wrote :

same problem - windows 7 64 bit enterprise, so far happens every time

Revision history for this message
Ángel Luis López (angel9484) wrote :

Hello,
This error also shows when you delete the pc from some other of the pc's connected to the ubuntu one account and you try to open Ubuntu One Preferences.
This can be solved deleting the keyring in registry with the steps from the web: https://wiki.ubuntu.com/UbuntuOne/Windows
 section "How can I setup my Windows computer again with Ubuntu One?" and adding the login data newly.
Another error occurred me when I solved this, if i press Synchronize Now the status message changes from Idle to Synced, and the files are not synced.
I tried to reinstall Ubuntu One Client but keeps with the same problem, the files aren't being synced.

Revision history for this message
dnh (dnh) wrote :

I had the first problem as described by Angel.

Revision history for this message
Timothy Jordan (w-tim-8) wrote :

Windows 7 x64 Ultimate - Crashes when trying to open preferences from the system tray icon. Sync is fast - thanks!

Revision history for this message
Manuel de la Peña (mandel) wrote :

We do not longer use .Net an therefore this crash cannot occur anymore, I'll set the bug as invalid.

Changed in ubuntuone-windows-installer:
status: In Progress → Invalid
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.