bugGNUstep - Bugs: bug #32404, GWorkspace hangs when trying to...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #32404: GWorkspace hangs when trying to logout/quit when there are apps in the dock

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Thu 10 Feb 2011 08:03:54 AM UTC  
 
Category: ApplicationSeverity: 3 - Normal
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 26 Apr 2014 12:04:31 PM UTC, comment #2:

yes, haven't seen this for a while.

Sebastian Reitenbach <buzzdee>
Project Member
Fri 11 Apr 2014 04:12:48 PM UTC, comment #1:

I think this has been solved in current SVN, can you confirm, Sebastian?

Riccardo Mottola <rmottola>
Project Member
Thu 10 Feb 2011 08:03:54 AM UTC, original submission:

When there are apps in the dock, dragged 'n dropped from the File Viewer, and then trying to quit/logout from GWorkspace, gworkspace hangs, and makes it unable to quit the application in a "normal" way. This happens on OpenSUSE 11.3 x86_64 and on OpenBSD i386.
On both systems, installed GWorkspace from svn, but together with latest versions of gnustep-core stable, which are:
make 2.4.0
base: 1.20.2
gui/back: 0.18.0
cairo backend.

attaching gdb, and setting a breakpoint on -[NSException raise], and then trying to quit GWorkspace, I see it stopping there, with the following backtrace:

Breakpoint 1, -[NSException raise] (self=0x121a600, _cmd=0x7f488f632860)
at NSException.m:946
946 if (_reserved == 0)
(gdb) bt
#0 -[NSException raise] (self=0x121a600, _cmd=0x7f488f632860)
at NSException.m:946
#1 0x00007f488f1d37f9 in +[NSException raise:format:arguments:] (
self=0x7f488f632480, _cmd=0x7f488f632830, name=0x7f488f631ea0,
format=0x7f488f66a290, argList=0x7fff9be633f0) at NSException.m:839
#2 0x00007f488f1d3716 in +[NSException raise:format:] (self=0x7f488f632480,
_cmd=0x7f488f66b800, name=0x7f488f631ea0, format=0x7f488f66a290)
at NSException.m:825
#3 0x00007f488f2630d5 in OAppend (obj=0x1bf98e0, loc=0x11ed790, lev=2,
step=2, x=100, dest=0x123ea50) at NSPropertyList.m:2101
#4 0x00007f488f2636b8 in OAppend (obj=0x93d320, loc=0x11ed790, lev=1, step=2,
x=100, dest=0x123ea50) at NSPropertyList.m:2227
#5 0x00007f488f2636b8 in OAppend (obj=0xf98640, loc=0x11ed790, lev=0, step=2,
x=100, dest=0x123ea50) at NSPropertyList.m:2227
#6 0x00007f488f264282 in +[NSPropertyListSerialization dataFromPropertyList:format:errorDescription:] (self=0x7f488f66b0a0, _cmd=0x7f488f69b020,
aPropertyList=0xf98640, aFormat=100, anErrorString=0x7fff9be63e00)
at NSPropertyList.m:2343
#7 0x00007f488f2d674f in writeDictionary (dict=0xf98640, file=0x90c9e0)
at NSUserDefaults.m:157
#8 0x00007f488f2dda1c in -[NSUserDefaults writeDefaults:oldData:] (
self=0x8c98f0, _cmd=0x7f488f69b750, defaults=0xf98640, oldData=0x10b8690)
at NSUserDefaults.m:1699
---Type <return> to continue, or q <return> to quit---
#9 0x00007f488f2ddff9 in -[NSUserDefaults synchronize] (self=0x8c98f0,
_cmd=0x70c240) at NSUserDefaults.m:1771
#10 0x0000000000411c7c in -[GWorkspace updateDefaults] (self=0xa7ede0,
_cmd=0x70c810) at GWorkspace.m:915
#11 0x000000000040fa5b in -[GWorkspace applicationShouldTerminate:] (
self=0xa7ede0, _cmd=0x7f488fe29ea0, app=0xa86dd0) at GWorkspace.m:606
#12 0x00007f488f8ce609 in -[NSApplication terminate:] (self=0xa86dd0,
_cmd=0x7f488ff65fc0, sender=0x1015a30) at NSApplication.m:3388
#13 0x00007f488f8ca924 in -[NSApplication sendAction:to:from:] (self=0xa86dd0,
_cmd=0x7f488fea0d60, aSelector=0x7f488ff65fc0, aTarget=0x0,
sender=0x1015a30) at NSApplication.m:2193
#14 0x00007f488f9c8a2b in -[NSMenu performActionForItemAtIndex:] (
self=0xe8f2f0, _cmd=0x7f488fea4f50, index=11) at NSMenu.m:1283
#15 0x00007f488f9d4468 in -[NSMenuView trackWithEvent:] (self=0xffac30,
_cmd=0x7f488fea5040, event=0x1bff1f0) at NSMenuView.m:1642
#16 0x00007f488f9d4638 in -[NSMenuView mouseDown:] (self=0xffac30,
_cmd=0x7f488ff1f920, theEvent=0xfff040) at NSMenuView.m:1687
#17 0x00007f488facb7f5 in -[NSWindow sendEvent:] (self=0xe959f0,
_cmd=0x7f488fe299e0, theEvent=0xfff040) at NSWindow.m:3667
#18 0x00007f488f8ca33f in -[NSApplication sendEvent:] (self=0xa86dd0,
_cmd=0x7f488fe29840, theEvent=0xfff040) at NSApplication.m:2068
#19 0x00007f488f8c872f in -[NSApplication run] (self=0xa86dd0, _cmd=0x703080)
at NSApplication.m:1530
---Type <return> to continue, or q <return> to quit---
#20 0x0000000000408e17 in main (argc=1, argv=0x7fff9be649c8,
env=0x7fff9be649d8) at main.m:38

(gdb) frame 7
#7 0x00007f488f2d674f in writeDictionary (dict=0xf98640, file=0x90c9e0)
at NSUserDefaults.m:157
157 data = [NSPropertyListSerialization dataFromPropertyList: dict
(gdb) list
152 {
153 NSData *data;
154 NSString *err;
155
156 err = nil;
157 data = [NSPropertyListSerialization dataFromPropertyList: dict
158 format: NSPropertyListXMLFormat_v1_0
159 errorDescription: &err];
160 if (data == nil)
161 {
(gdb) print dict
$1 = (struct NSDictionary *) 0xf98640
(gdb) po dict
{GSPdf = {NSDefaultOpenDirectory = "/home/sre"; NSRecentDocuments = ("file://localhost/home/sre/Oreilly.XMPP.The.Definitive.Guide.May.2009.pdf", "file://localhost/home/sre/excElec_electron_et.eps", "file://localhost/home/sre/Downloads/MAD01%203D.eps", "file://localhost/home/sre/HardShot_4c_Large_Frei.eps"); }; GWorkspace = {DesktopApplicationName = GWorkspace; DesktopApplicationSelName = gworkspace; GSWorkspaceApplication = GWorkspace; NSMenuLocations = {"\033" = "5 623 110 282 0 0 1680 1050 "; }; "NSWindow Frame finder" = "456 545 486 286 0 0 1680 1050 "; "NSWindow Frame inspector" = "630 398 278 418 0 0 1680 1050 "; "NSWindow Frame run_external" = "473 625 323 145 0 0 1680 1050 "; applications = {1 = firefox; }; auto_calculate_sizes = NO; default_sortorder = 0; defaulteditor = nedit.app; defxterm = xterm; desktopinfo = {backcolor = {alpha = 1; blue = 0.57; green = 0.51; red = 0.39; }; fsn_info_type = 0; iconposition = 5; iconsize = 48; imagestyle = 0; indexes = {.directory = 6; ".~lock.JSSP COS Phase RFP_DRAFT_TECHNICAL_test2.doc#" = 3; "7978A2Y_KDCMKRD_20071213-143152.xml.gz" = 20; GS_Platform_and_Network_Administration_Manual_524699_v1_2.pdf = 0; GS_Platform_and_Network_Administration_Manual_524699_v1_2.ps = 4; JXplorer.desktop = 19; MozillaFirefox.desktop = 9; Office.desktop = 22; "Quality Manual 2011" = 18; "QualityManual-2011" = 17; RDESKTOP = 24; "RE-IT_....Diagramm3.odg" = 5; "S30551-152-1243613732848.doc" = 13; SuSE.desktop = 8; Support.desktop = 10; "libgdbtiff_200pro-32Bit.so" = 7; multipath.conf = 12; myComputer.desktop = 21; orig.xml = 16; portugal.dbf = 2; rhizomatik.net.key = 14; rhizomatik.net.pem = 15; "sdx-20090202.kit" = 23; "sebastia@xmpp.rhizomatik.net_cert.p12" = 11; "sebastia@xmpp.rhizomatik.net_cert.pem" = 1; }; labeltxtsize = 12; usebackimage = 0; }; dockposition = 1; hiddendirs ---Type <return> to continue, or q <return> to quit---
= (); hidedock = NO; history_cache = 20; last_active_inspector = 0; last_used_modules = {name = 0; }; lsfolders_paths = (); no_desktop = NO; root_viewers_keys = (); saved_places = (); search_res_h = 0; tabshelf = {auto_hide = 0; tabs = ({Tab1 = {icons = (); iconstype = 0; }; }, {Pasteboard = {icons = (); iconstype = 1; }; }, {last = {icons = (); iconstype = 0; }; }); }; terminal_services = NO; tshelf = NO; tshelfpbfnum = 0; use_thumbnails = NO; usefiend = NO; uses_inspector = NO; uses_recycler = NO; uses_search_places = NO; viewer_at_/ = {fsn_info_type = 0; geometry = "652 648 450 350 0 0 1680 1050 "; lastselection = ("/"); shelfdicts = ({index = 0; paths = ("/home/sre"); }); shelfheight = 77; singlenode = 0; spatial = 0; viewtype = Browser; }; viewersinfo = ({path = "/"; type = 0; }); xbundle = NO; }; Gorm = {NSDefaultOpenDirectory = "/home/sre/gnustep/GSPdf-0.3/Resources/GSPdf.gorm"; NSRecentDocuments = ("file://localhost/home/sre/gnustep/GSPdf-0.3/Resources/GSPdf.gorm/"); "NSWindow Frame Inspector" = "1160 21 274 459 0 0 1680 1050 "; "NSWindow Frame Palettes" = "1160 643 282 298 0 0 1680 1050 "; ShowInspectors = YES; ShowPalettes = YES; }; Grr = {"NSTableView Columns Article Table" = {date = (124, 0); headline = (124, 1); rating = (89, 2); }; "NSTableView Columns Feed and Category Outline" = {classes = (116, 0); }; RSSReaderArticleContentFontDefaults = FreeSans; RSSReaderArticleContentSizeDefaults = 12; RSSReaderArticleListFontDefaults = FreeSans; RSSReaderArticleListSizeDefaults = 12; RSSReaderFeedListFontDefaults = FreeSans; RSSReaderFeedListSizeDefaults = 12; RSSReaderFixedArticleContentFontDefaults = FreeMono; RSSReaderFixedArticleContentSizeDefaults = 12; "recent article searches" = (); }; NSGlobalDomain = {GSRemovableMediaPaths = ("/mnt/floppy", "/mnt/cdrom"); GSReservedMountNames = (proc, devpts,---Type <return> to continue, or q <return> to quit---
shm, usbdevfs, devpts, sysfs, tmpfs, procfs); }; ProjectCenter = {AutoSavePeriod = 120; BuildTool = "/usr/bin/make"; Debugger = "/usr/bin/gdb"; DeleteBuildCacheWhenQuitting = YES; DisplayLog = NO; Editor = ProjectCenter; EditorColumns = 80; EditorLines = 30; FailureSound = ""; FullPathInFilePanels = YES; KeepBackup = YES; NSDefaultOpenDirectory = "/home/sre/gnustep/GSPdf-0.3"; "NSWindow Frame LoadedFiles" = "-5 295 230 352 0 0 1680 1050 "; "NSWindow Frame LogPanel" = "300 687 514 259 0 0 1680 1050 "; "NSWindow Frame ProjectBuilder" = "55 133 488 320 0 0 1680 1050 "; "NSWindow Frame ProjectLauncher" = "0 295 490 352 0 0 1680 1050 "; "NSWindow Frame ProjectWindow" = "403 323 800 622 0 0 1680 1050 "; ProjectOpenLastDirectory = "/home/sre/gnustep/GSPdf-0.3"; PromtOnClean = YES; PromtOnQuit = YES; RememberWindows = YES; RootBuildDirectory = ""; SaveOnQuit = YES; SeparateBuilder = YES; SeparateEditor = NO; SeparateLauncher = YES; SeparateLoadedFiles = YES; SuccessSound = ""; TabBehaviour = Tab; Version = 0.4; }; ddbd = {}; fswatcher = {}; gdnc = {}; gpbs = {}; }

Sebastian Reitenbach <buzzdee>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Posted a comment)
  • -unavailable- added by buzzdee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Apr 2014 12:04:31 PM UTCbuzzdeeStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup