kiuliani / geoda

Automatically exported from code.google.com/p/geoda
GNU General Public License v3.0
0 stars 0 forks source link

Save to Centroids crash #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On GeoDa 1.5.6 for Mac, running on OSX 10.6

1) Open ncovr.shp SQLite project from Examples
2) From map, select "Save Centroids to file/DB"
3) Leave "Create Project File" checked
4) Choose new name for SQLite centroids export.  Export works fine
5) Choose new name for project file.  Instant crash

Process:         GeoDa [14165]
Path:            /Applications/GeoDa.app/Contents/MacOS/GeoDa
Identifier:      edu.asu.geodacenter.GeoDa
Version:         ??? (1.0)
Code Type:       X86-64 (Native)
Parent Process:  launchd [247]

Date/Time:       2014-02-18 05:39:58.602 -0800
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          705546 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  922691 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      B2A4D7D3-EB45-4398-9D47-814AC625C9F9

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000148
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   GeoDa                           0x000000010013ad66 
ExportDataDlg::OnOkClick(wxCommandEvent&) + 1852
1   GeoDa                           0x000000010055a5e5 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 91
2   GeoDa                           0x000000010055b000 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 124
3   GeoDa                           0x000000010055b09f 
wxEvtHandler::TryHereOnly(wxEvent&) + 115
4   GeoDa                           0x000000010055c33a 
wxEvtHandler::TryBeforeAndHere(wxEvent&) + 48
5   GeoDa                           0x000000010055b0cb 
wxEvtHandler::ProcessEventLocally(wxEvent&) + 27
6   GeoDa                           0x000000010055b1a4 
wxEvtHandler::ProcessEvent(wxEvent&) + 180
7   GeoDa                           0x000000010048b532 
wxWindowBase::TryAfter(wxEvent&) + 96
8   GeoDa                           0x000000010055b1be 
wxEvtHandler::ProcessEvent(wxEvent&) + 206
9   GeoDa                           0x000000010055b36a 
wxEvtHandler::SafelyProcessEvent(wxEvent&) + 22
10  GeoDa                           0x000000010048a6c6 
wxWindowBase::HandleWindowEvent(wxEvent&) const + 16
11  GeoDa                           0x000000010039b481 
wxControl::ProcessCommand(wxCommandEvent&) + 9
12  GeoDa                           0x0000000100380dff 
wxButton::OSXHandleClicked(double) + 67
13  GeoDa                           0x00000001003ee5e0 
wxWidgetCocoaImpl::controlAction(NSView*, void*, void*) + 92
14  GeoDa                           0x00000001003f4623 
wxOSX_controlAction(NSView*, objc_selector*, objc_object*) + 74
15  com.apple.AppKit                0x00007fff87bbbeda -[NSApplication 
sendAction:to:from:] + 95
16  com.apple.AppKit                0x00007fff87bbbe39 -[NSControl 
sendAction:to:] + 94
17  com.apple.AppKit                0x00007fff87c4784b -[NSCell 
trackMouse:inRect:ofView:untilMouseUp:] + 1715
18  com.apple.AppKit                0x00007fff87c7837a -[NSButtonCell 
trackMouse:inRect:ofView:untilMouseUp:] + 555
19  com.apple.AppKit                0x00007fff87c462f5 -[NSControl mouseDown:] + 
624
20  GeoDa                           0x00000001003f535d 
wxWidgetCocoaImpl::mouseEvent(NSEvent*, NSView*, void*) + 419
21  GeoDa                           0x00000001003f48e8 wxOSX_mouseEvent(NSView*, 
objc_selector*, NSEvent*) + 74
22  com.apple.AppKit                0x00007fff87b603a7 -[NSWindow sendEvent:] + 
5409
23  GeoDa                           0x00000001003dd5b7 -[wxNSPanel sendEvent:] + 
217
24  com.apple.AppKit                0x00007fff87a95afa -[NSApplication 
sendEvent:] + 4719
25  GeoDa                           0x0000000100367429 -[wxNSApplication 
sendEvent:] + 162
26  com.apple.AppKit                0x00007fff87ca1e06 -[NSApplication 
_realDoModalLoop:peek:] + 509
27  com.apple.AppKit                0x00007fff87c9f951 -[NSApplication 
runModalForWindow:] + 129
28  GeoDa                           0x00000001003ccfd5 
wxModalEventLoop::OSXDoRun() + 197
29  GeoDa                           0x0000000100546617 wxCFEventLoop::DoRun() + 
31
30  GeoDa                           0x00000001004ee436 wxEventLoopBase::Run() + 
176
31  GeoDa                           0x00000001003698e4 wxDialog::ShowModal() + 
112
32  GeoDa                           0x00000001001fc5ea 
Project::ExportCenters(bool) + 270
33  GeoDa                           0x000000010055a5e5 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 91
34  GeoDa                           0x000000010055b000 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 124
35  GeoDa                           0x000000010055b09f 
wxEvtHandler::TryHereOnly(wxEvent&) + 115
36  GeoDa                           0x000000010055c33a 
wxEvtHandler::TryBeforeAndHere(wxEvent&) + 48
37  GeoDa                           0x000000010055b0cb 
wxEvtHandler::ProcessEventLocally(wxEvent&) + 27
38  GeoDa                           0x000000010055b1a4 
wxEvtHandler::ProcessEvent(wxEvent&) + 180
39  GeoDa                           0x000000010048b532 
wxWindowBase::TryAfter(wxEvent&) + 96
40  GeoDa                           0x000000010055b1be 
wxEvtHandler::ProcessEvent(wxEvent&) + 206
41  GeoDa                           0x000000010055b36a 
wxEvtHandler::SafelyProcessEvent(wxEvent&) + 22
42  GeoDa                           0x000000010048a6c6 
wxWindowBase::HandleWindowEvent(wxEvent&) const + 16
43  GeoDa                           0x000000010045d688 
wxMenuBase::SendEvent(int, int) + 172
44  GeoDa                           0x0000000100385ec0 
wxMenu::HandleCommandProcess(wxMenuItem*, wxWindow*) + 136
45  GeoDa                           0x00000001003d6bbd -[wxNSMenuItem 
clickedAction:] + 105
46  com.apple.AppKit                0x00007fff87bbbeda -[NSApplication 
sendAction:to:from:] + 95
47  com.apple.AppKit                0x00007fff87be046a -[NSMenuItem 
_corePerformAction] + 365
48  com.apple.AppKit                0x00007fff87be01d4 -[NSCarbonMenuImpl 
performActionWithHighlightingForItemAtIndex:] + 121
49  com.apple.AppKit                0x00007fff87e65cf4 -[NSMenu 
_internalPerformActionForItemAtIndex:] + 35
50  com.apple.AppKit                0x00007fff87d179e9 -[NSCarbonMenuImpl 
_carbonCommandProcessEvent:handlerCallRef:] + 136
51  com.apple.AppKit                0x00007fff87bc299c NSSLMMenuEventHandler + 
321
52  com.apple.HIToolbox             0x00007fff8146d7f7 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1002
53  com.apple.HIToolbox             0x00007fff8146cd46 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 395
54  com.apple.HIToolbox             0x00007fff8148aa81 SendEventToEventTarget + 
45
55  com.apple.HIToolbox             0x00007fff814b9c35 
SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, 
unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, 
OpaqueEventRef**) + 387
56  com.apple.HIToolbox             0x00007fff814e6a0a 
SendMenuCommandWithContextAndModifiers + 56
57  com.apple.HIToolbox             0x00007fff814e69c2 SendMenuItemSelectedEvent 
+ 101
58  com.apple.HIToolbox             0x00007fff814e68d2 
FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 150
59  com.apple.HIToolbox             0x00007fff815efa69 
PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned 
int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, 
__CFString const*, OpaqueMenuRef**, unsigned short*) + 1618
60  com.apple.HIToolbox             0x00007fff815efdc2 
_HandlePopUpMenuSelection7 + 665
61  com.apple.AppKit                0x00007fff87d1499b _NSSLMPopUpCarbonMenu3 + 
3720
62  com.apple.AppKit                0x00007fff87ec457e -[NSPopUpButtonCell 
trackMouse:inRect:ofView:untilMouseUp:] + 554
63  GeoDa                           0x00000001003d5b19 
wxMenuCocoaImpl::PopUp(wxWindow*, int, int) + 379
64  GeoDa                           0x0000000100374831 
wxWindow::DoPopupMenu(wxMenu*, int, int) + 129
65  GeoDa                           0x000000010048bb9f 
wxWindowBase::PopupMenu(wxMenu*, int, int) + 157
66  GeoDa                           0x00000001001cc4bd 
MapNewCanvas::DisplayRightClickMenu(wxPoint const&) + 763
67  GeoDa                           0x0000000100277954 
TemplateCanvas::OnMouseEvent(wxMouseEvent&) + 3104
68  GeoDa                           0x000000010055a5e5 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 91
69  GeoDa                           0x000000010055b000 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 124
70  GeoDa                           0x000000010055b09f 
wxEvtHandler::TryHereOnly(wxEvent&) + 115
71  GeoDa                           0x000000010055c33a 
wxEvtHandler::TryBeforeAndHere(wxEvent&) + 48
72  GeoDa                           0x000000010055b0cb 
wxEvtHandler::ProcessEventLocally(wxEvent&) + 27
73  GeoDa                           0x000000010055b1a4 
wxEvtHandler::ProcessEvent(wxEvent&) + 180
74  GeoDa                           0x00000001004b021d 
wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) + 47
75  GeoDa                           0x000000010055b36a 
wxEvtHandler::SafelyProcessEvent(wxEvent&) + 22
76  GeoDa                           0x000000010048a6c6 
wxWindowBase::HandleWindowEvent(wxEvent&) const + 16
77  GeoDa                           0x00000001003f0951 
wxWidgetCocoaImpl::DoHandleMouseEvent(NSEvent*) + 121
78  GeoDa                           0x00000001003f52bf 
wxWidgetCocoaImpl::mouseEvent(NSEvent*, NSView*, void*) + 261
79  GeoDa                           0x00000001003f48e8 wxOSX_mouseEvent(NSView*, 
objc_selector*, NSEvent*) + 74
80  com.apple.AppKit                0x00007fff87b610c7 -[NSWindow sendEvent:] + 
8769
81  GeoDa                           0x00000001003dd881 -[wxNSWindow sendEvent:] 
+ 217
82  com.apple.AppKit                0x00007fff87a95afa -[NSApplication 
sendEvent:] + 4719
83  GeoDa                           0x0000000100367429 -[wxNSApplication 
sendEvent:] + 162
84  com.apple.AppKit                0x00007fff87a2c6de -[NSApplication run] + 474
85  GeoDa                           0x00000001003cd07a 
wxGUIEventLoop::OSXDoRun() + 116
86  GeoDa                           0x0000000100546617 wxCFEventLoop::DoRun() + 
31
87  GeoDa                           0x00000001004ee436 wxEventLoopBase::Run() + 
176
88  GeoDa                           0x00000001004cc1bd 
wxAppConsoleBase::MainLoop() + 103
89  GeoDa                           0x000000010039960d wxApp::OnRun() + 39
90  GeoDa                           0x000000010050e849 wxEntry(int&, wchar_t**) 
+ 119
91  GeoDa                           0x000000010017315c main + 20
92  GeoDa                           0x000000010006d2c8 start + 52

Original issue reported on code.google.com by mmcc...@gmail.com on 18 Feb 2014 at 1:43

GoogleCodeExporter commented 8 years ago
Save centroids to external datasource should'nt have an option for Gda project 
file creation, since it only has geometry data. It should be hided when save 
centroids.

Other related dialogs include: save means, save boundary ... They all got fix 
in this commit# 3037.

Original comment by lixun...@gmail.com on 18 Feb 2014 at 4:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ok, I see the update.  Actually, this is not true: there should be the option 
to save the project file and the entire table and geometry should be saved as 
well.  This is how it has always worked since Legacy for shapefile and it needs 
to continue to work this way.

Original comment by mmcc...@gmail.com on 18 Feb 2014 at 4:23

GoogleCodeExporter commented 8 years ago
Yes, notice that, and am fixing that.

Original comment by lixun...@gmail.com on 18 Feb 2014 at 4:32

GoogleCodeExporter commented 8 years ago
comment #3 has been fixed in commit 3039,3041

allow save the project file and entire table as well as to-be-saved geometries 
(e.g. centroids, voronoi...)

Original comment by lixun...@gmail.com on 18 Feb 2014 at 8:20