BUG: Delete multiple articles as a set crashes Vienna

An RSS/Atom newsreader with features comparable to commercial newsreaders.
sshanny
Harmless
Posts: 1
Joined: Thu Oct 24, 2013 2:57 pm

BUG: Delete multiple articles as a set crashes Vienna

Postby sshanny » Thu Oct 24, 2013 3:03 pm

Version 3.0.0 Beta 18 :8c42af7:
OS X 10.9

Example feed links:

http://feeds.feedburner.com/TechCrunch
http://allthingsd.com/feed/

I have read all the articles in a feed. I select them all and press the delete key. Articles are deleted but then vienna crashes. When I reopen it the articles are gone.
Deleting 1 article at a time works just fine.

Only started happening with the upgrade to Mavericks.

slammer99uk
Harmless
Posts: 18
Joined: Tue Oct 15, 2013 3:15 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby slammer99uk » Thu Oct 24, 2013 5:11 pm

Similar situation here.

Select all articles in a feed, delete, click another feed, no articles display. Deleting articles one at a time works fine.

Started after upgrading to 10.9. 100% reproducible

The only way to fix it is to close and restart Vienna, but the next groups articles that are deleted as a block does it again.

Jerry

Echelon9
Latté
Posts: 74
Joined: Sun May 19, 2013 12:45 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby Echelon9 » Thu Oct 24, 2013 5:19 pm

Would be great if you could add it as an Issue on Vienna's Github (include crash back trace from CrashReporter if you can)

rickyc
Harmless
Posts: 2
Joined: Sat Oct 26, 2013 10:30 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby rickyc » Mon Oct 28, 2013 12:52 am

Happens to me too. IMac mid 2011, Maverick, Vienna Version 3.0.0 Beta 18 :8c42af7:

Deleting a group which includes the last message in a window causes a crash. Even happens deleting the last 3 in window.

Echelon9
Latté
Posts: 74
Joined: Sun May 19, 2013 12:45 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby Echelon9 » Wed Oct 30, 2013 2:16 am

Pretty clear there is a bug presenting in Vienna due to a change in the recently released OS X Mavericks.

I'm likely to upgrade my development laptop to OS X Mavericks this weekend, which will help debugging the cause of this. On a guess it is a subtle API change, which may be fairly straightforward to fix.

Echelon9
Latté
Posts: 74
Joined: Sun May 19, 2013 12:45 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby Echelon9 » Sat Nov 02, 2013 10:55 pm

Hrmm, I've upgraded to Mavericks on my dev laptop. I spent a little while trying to reproduce this with Beta 18 of Vienna to no success. Tried those two feeds plus a few of mine, deleting both individual articles, whole feeds and a group that the feeds were part of.

Can you confirm exactly which steps (including whether you were looking at the "Unread Articles", "Today's Articles" or "Marked Articles" smart folders) are required to reproduce the crashes. Thanks for the guidance so far on what you did to lead to the crash, but any further details would be helpful.

Otherwise the Crash Reporter log (can be found in Console.app) with the back trace would help from your Mac.

slammer99uk
Harmless
Posts: 18
Joined: Tue Oct 15, 2013 3:15 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby slammer99uk » Sun Nov 03, 2013 4:44 am

This is the 3 entries from the console that Vienna generates when selecting all articles in any feed and deleting them all at once. The program is still responsive, but clicking on another feed with articles in (i.e. a group that has the unread count as a number next to it) produces a blank screen, i.e. no articles are actually visible on the right hand side.

I just fired up Grab.app to take a screen shot of exactly what I was seeing, but upon launching Grab the articles in the “blank” group decided to show up - I just found out how to fix this behaviour on the fly Clicking in any other open program window causes the articles to show. Strange no?

Jerry

Code: Select all

03/11/2013 04:24:01.341   Vienna[2274]   An uncaught exception was raised
03/11/2013 04:24:01.341   Vienna[2274]   *** -[__NSArrayM objectAtIndex:]: index 21 beyond bounds for empty array
03/11/2013 04:24:01.403   Vienna[2274]   (
   0   CoreFoundation                      0x00007fff9556741c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff905d3e75 objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff95445935 -[__NSArrayM objectAtIndex:] + 245
   3   Vienna                              0x000000010003b3aa Vienna + 242602
   4   CoreFoundation                      0x00007fff95535fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
   5   CoreFoundation                      0x00007fff95429c5d _CFXNotificationPost + 2893
   6   Foundation                          0x00007fff8dc594aa -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
   7   AppKit                              0x00007fff960f323f -[NSTableView _sizeTableColumnsToFitWithStyle:forceExactFitIfPossible:originalWidths:] + 2814
   8   AppKit                              0x00007fff960f2633 -[NSTableView sizeToFit] + 123
   9   AppKit                              0x00007fff960e8468 -[NSTableView _autoresizeToFitForHidingATableColumn:] + 306
   10  AppKit                              0x00007fff960e81c0 -[NSTableView superviewFrameChanged:] + 83
   11  CoreFoundation                      0x00007fff95535fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
   12  CoreFoundation                      0x00007fff95429c5d _CFXNotificationPost + 2893
   13  AppKit                              0x00007fff960b3023 -[NSView _postFrameChangeNotification] + 434
   14  AppKit                              0x00007fff960bc712 -[NSView setFrameSize:] + 1586
   15  AppKit                              0x00007fff960e50d2 -[NSClipView setFrameSize:] + 380
   16  AppKit                              0x00007fff960bc099 -[NSView setFrame:] + 294
   17  AppKit                              0x00007fff960e8038 -[NSScrollView _setContentViewFrame:] + 669
   18  AppKit                              0x00007fff960e5ea9 -[NSScrollView tile] + 1756
   19  AppKit                              0x00007fff960e5732 -[NSScrollView _tileWithoutRecursing] + 48
   20  AppKit                              0x00007fff960e388b -[NSScrollView reflectScrolledClipView:] + 745
   21  AppKit                              0x00007fff960ee5eb -[NSClipView _reflectDocumentViewFrameChange] + 172
   22  AppKit                              0x00007fff960b2f3c -[NSView _postFrameChangeNotification] + 203
   23  AppKit                              0x00007fff960bc712 -[NSView setFrameSize:] + 1586
   24  AppKit                              0x00007fff960ad8e1 -[NSControl setFrameSize:] + 77
   25  AppKit                              0x00007fff960edf20 -[NSTableView setFrameSize:] + 252
   26  AppKit                              0x00007fff960ed726 -[NSTableView tile] + 440
   27  AppKit                              0x00007fff96107f31 -[NSTableView bounds] + 113
   28  AppKit                              0x00007fff96106caa -[NSView(NSInternal) _setLayerNeedsDisplayInViewRect:] + 244
   29  AppKit                              0x00007fff967e6371 NSViewSetNeedsDisplayInRect + 831
   30  WebKit                              0x00007fff951faf8e _ZL21setNeedsDisplayInRectP6NSViewP13objc_selector6CGRect + 238
   31  AppKit                              0x00007fff960eca5f -[NSTableView _tileAndRedisplayAll] + 235
   32  Vienna                              0x0000000100014e59 Vienna + 85593
   33  Vienna                              0x000000010003cfec Vienna + 249836
   34  Vienna                              0x00000001000376d5 Vienna + 227029
   35  AppKit                              0x00007fff962a33d0 -[NSApplication sendAction:to:from:] + 327
   36  AppKit                              0x00007fff962be348 -[NSMenuItem _corePerformAction] + 394
   37  AppKit                              0x00007fff962be084 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
   38  AppKit                              0x00007fff9630d4dd -[NSMenu _internalPerformActionForItemAtIndex:] + 35
   39  AppKit                              0x00007fff9630d359 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
   40  AppKit                              0x00007fff962b4176 NSSLMMenuEventHandler + 716
   41  HIToolbox                           0x00007fff944106d4 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 892
   42  HIToolbox                           0x00007fff9440fc87 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 385
   43  HIToolbox                           0x00007fff94423d90 SendEventToEventTarget + 40
   44  HIToolbox                           0x00007fff94459a30 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 420
   45  HIToolbox                           0x00007fff9448c618 SendMenuCommandWithContextAndModifiers + 59
   46  HIToolbox                           0x00007fff9448c5c4 SendMenuItemSelectedEvent + 178
   47  HIToolbox                           0x00007fff9448c4a5 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94
   48  HIToolbox                           0x00007fff9446a56e _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1726
   49  HIToolbox                           0x00007fff944696c6 _HandlePopUpMenuSelection7 + 596
   50  AppKit                              0x00007fff9630c221 _NSSLMPopUpCarbonMenu3 + 4153
   51  AppKit                              0x00007fff96476a95 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 192
   52  AppKit                              0x00007fff96600ba6 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 200
   53  AppKit                              0x00007fff967ea06f -[NSView rightMouseDown:] + 127
   54  AppKit                              0x00007fff964c5b97 -[NSControl _rightMouseUpOrDown:] + 521
   55  AppKit                              0x00007fff96287f71 -[NSWindow sendEvent:] + 3721
   56  AppKit                              0x00007fff96228744 -[NSApplication sendEvent:] + 2021
   57  Vienna                              0x000000010005db57 Vienna + 383831
   58  AppKit                              0x00007fff96078a29 -[NSApplication run] + 646
   59  AppKit                              0x00007fff96063803 NSApplicationMain + 940
   60  Vienna                              0x0000000100001ed4 Vienna + 7892
   61  ???                                 0x0000000000000002 0x0 + 2
)

slammer99uk
Harmless
Posts: 18
Joined: Tue Oct 15, 2013 3:15 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby slammer99uk » Sun Nov 03, 2013 4:45 am

This is the 3 entries from the console that Vienna generates when selecting all articles in any feed and deleting them all at once. The program is still responsive, but clicking on another feed with articles in (i.e. a group that has the unread count as a number next to it) produces a blank screen, i.e. no articles are actually visible on the right hand side.

I just fired up Grab.app to take a screen shot of exactly what I was seeing, but upon launching Grab the articles in the “blank” group decided to show up - I just found out how to fix this behaviour on the fly Clicking in any other open program window causes the articles to show. Strange no?

Jerry

Code: Select all

03/11/2013 04:24:01.341   Vienna[2274]   An uncaught exception was raised
03/11/2013 04:24:01.341   Vienna[2274]   *** -[__NSArrayM objectAtIndex:]: index 21 beyond bounds for empty array
03/11/2013 04:24:01.403   Vienna[2274]   (
   0   CoreFoundation                      0x00007fff9556741c __exceptionPreprocess + 172
   1   libobjc.A.dylib                     0x00007fff905d3e75 objc_exception_throw + 43
   2   CoreFoundation                      0x00007fff95445935 -[__NSArrayM objectAtIndex:] + 245
   3   Vienna                              0x000000010003b3aa Vienna + 242602
   4   CoreFoundation                      0x00007fff95535fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
   5   CoreFoundation                      0x00007fff95429c5d _CFXNotificationPost + 2893
   6   Foundation                          0x00007fff8dc594aa -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
   7   AppKit                              0x00007fff960f323f -[NSTableView _sizeTableColumnsToFitWithStyle:forceExactFitIfPossible:originalWidths:] + 2814
   8   AppKit                              0x00007fff960f2633 -[NSTableView sizeToFit] + 123
   9   AppKit                              0x00007fff960e8468 -[NSTableView _autoresizeToFitForHidingATableColumn:] + 306
   10  AppKit                              0x00007fff960e81c0 -[NSTableView superviewFrameChanged:] + 83
   11  CoreFoundation                      0x00007fff95535fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
   12  CoreFoundation                      0x00007fff95429c5d _CFXNotificationPost + 2893
   13  AppKit                              0x00007fff960b3023 -[NSView _postFrameChangeNotification] + 434
   14  AppKit                              0x00007fff960bc712 -[NSView setFrameSize:] + 1586
   15  AppKit                              0x00007fff960e50d2 -[NSClipView setFrameSize:] + 380
   16  AppKit                              0x00007fff960bc099 -[NSView setFrame:] + 294
   17  AppKit                              0x00007fff960e8038 -[NSScrollView _setContentViewFrame:] + 669
   18  AppKit                              0x00007fff960e5ea9 -[NSScrollView tile] + 1756
   19  AppKit                              0x00007fff960e5732 -[NSScrollView _tileWithoutRecursing] + 48
   20  AppKit                              0x00007fff960e388b -[NSScrollView reflectScrolledClipView:] + 745
   21  AppKit                              0x00007fff960ee5eb -[NSClipView _reflectDocumentViewFrameChange] + 172
   22  AppKit                              0x00007fff960b2f3c -[NSView _postFrameChangeNotification] + 203
   23  AppKit                              0x00007fff960bc712 -[NSView setFrameSize:] + 1586
   24  AppKit                              0x00007fff960ad8e1 -[NSControl setFrameSize:] + 77
   25  AppKit                              0x00007fff960edf20 -[NSTableView setFrameSize:] + 252
   26  AppKit                              0x00007fff960ed726 -[NSTableView tile] + 440
   27  AppKit                              0x00007fff96107f31 -[NSTableView bounds] + 113
   28  AppKit                              0x00007fff96106caa -[NSView(NSInternal) _setLayerNeedsDisplayInViewRect:] + 244
   29  AppKit                              0x00007fff967e6371 NSViewSetNeedsDisplayInRect + 831
   30  WebKit                              0x00007fff951faf8e _ZL21setNeedsDisplayInRectP6NSViewP13objc_selector6CGRect + 238
   31  AppKit                              0x00007fff960eca5f -[NSTableView _tileAndRedisplayAll] + 235
   32  Vienna                              0x0000000100014e59 Vienna + 85593
   33  Vienna                              0x000000010003cfec Vienna + 249836
   34  Vienna                              0x00000001000376d5 Vienna + 227029
   35  AppKit                              0x00007fff962a33d0 -[NSApplication sendAction:to:from:] + 327
   36  AppKit                              0x00007fff962be348 -[NSMenuItem _corePerformAction] + 394
   37  AppKit                              0x00007fff962be084 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
   38  AppKit                              0x00007fff9630d4dd -[NSMenu _internalPerformActionForItemAtIndex:] + 35
   39  AppKit                              0x00007fff9630d359 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
   40  AppKit                              0x00007fff962b4176 NSSLMMenuEventHandler + 716
   41  HIToolbox                           0x00007fff944106d4 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 892
   42  HIToolbox                           0x00007fff9440fc87 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 385
   43  HIToolbox                           0x00007fff94423d90 SendEventToEventTarget + 40
   44  HIToolbox                           0x00007fff94459a30 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 420
   45  HIToolbox                           0x00007fff9448c618 SendMenuCommandWithContextAndModifiers + 59
   46  HIToolbox                           0x00007fff9448c5c4 SendMenuItemSelectedEvent + 178
   47  HIToolbox                           0x00007fff9448c4a5 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94
   48  HIToolbox                           0x00007fff9446a56e _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1726
   49  HIToolbox                           0x00007fff944696c6 _HandlePopUpMenuSelection7 + 596
   50  AppKit                              0x00007fff9630c221 _NSSLMPopUpCarbonMenu3 + 4153
   51  AppKit                              0x00007fff96476a95 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 192
   52  AppKit                              0x00007fff96600ba6 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 200
   53  AppKit                              0x00007fff967ea06f -[NSView rightMouseDown:] + 127
   54  AppKit                              0x00007fff964c5b97 -[NSControl _rightMouseUpOrDown:] + 521
   55  AppKit                              0x00007fff96287f71 -[NSWindow sendEvent:] + 3721
   56  AppKit                              0x00007fff96228744 -[NSApplication sendEvent:] + 2021
   57  Vienna                              0x000000010005db57 Vienna + 383831
   58  AppKit                              0x00007fff96078a29 -[NSApplication run] + 646
   59  AppKit                              0x00007fff96063803 NSApplicationMain + 940
   60  Vienna                              0x0000000100001ed4 Vienna + 7892
   61  ???                                 0x0000000000000002 0x0 + 2
)

don59405
Harmless
Posts: 1
Joined: Sun Oct 27, 2013 8:47 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby don59405 » Sun Nov 03, 2013 10:23 pm

All I can add to this is that I routinely delete multiples and on two occasions over the past week Vienna has crashed, but only twice.

Don C

Echelon9
Latté
Posts: 74
Joined: Sun May 19, 2013 12:45 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby Echelon9 » Mon Nov 04, 2013 12:06 am

Thanks slammer99uk -- that report should help pin this bug down. It is being tracked on Github as Issue 232

Any further reports are welcome.

barijaona
Vienna Team
Posts: 633
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby barijaona » Sun Nov 17, 2013 6:19 pm

I have submitted a fix which will be probably included in the next beta
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report

slammer99uk
Harmless
Posts: 18
Joined: Tue Oct 15, 2013 3:15 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby slammer99uk » Sun Nov 17, 2013 7:40 pm

That is good to know - Thank you.

This one causes such a headache having to delete articles one at a time

Jerry

cyb
Harmless
Posts: 1
Joined: Tue Nov 26, 2013 6:48 am

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby cyb » Tue Nov 26, 2013 6:54 am

Bonjour,

perhaps this helps a little while using Vienna until the bug will be fixed: you can delete up to 15 articles at once without causing anything. But avoid to mark and delete 16 or more articles—this will let Vienna crash.

Have a nice day,

Stefan

barijaona
Vienna Team
Posts: 633
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby barijaona » Wed Nov 27, 2013 11:33 am

This should be fixed in Vienna 3 Beta 19
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report

slammer99uk
Harmless
Posts: 18
Joined: Tue Oct 15, 2013 3:15 pm

Re: BUG: Delete multiple articles as a set crashes Vienna

Postby slammer99uk » Wed Nov 27, 2013 8:03 pm

It certainly is - Many thanks

Jerry


Return to “Vienna”

Who is online

Users browsing this forum: No registered users