Re: wxMac CVS & pgadmin3

From: OpenMacNews <OpenMacNews(at)speakeasy(dot)net>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: wxMac CVS & pgadmin3
Date: 2005-04-14 17:13:50
Message-ID: C36C537FF345BCCB68289736@tiedgar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

hi,

> I used wxWidgets CVS, mainly to see if it works... Hm.. well.. it doesn't
> The resulting app starts, but crashes when I try to open a dialog ("Add
> Server",
> "Preferences", ... )
>
> Has anyone here (especially you, OpenMacNews ;-) ) done a build of pgadmin
> with wxMac CVS that works? I'm not sure if I made a mistake while building,
> or if it's really a wx bug.

not yet ...

as you, i've built succesfully now w/ wx-cvs

pgadmin3.app launches (currently with an error: "Couldn't open a tips.txt
file"), but crashes, e.g., on "Add Server" (crashdump below). but, so far, it
_seems_ any menu activity causes the prob ...

unfortunately, i've also built pgadmin with DEBUG-off, and/or stripped ... so
no ktrace.

after rebuilding a wx-v255 pgadmin3 build w/ all today's applied patches, i'll
give it a try w/ wx-cvs.

cheers,

richard

Date/Time: 2005-04-14 10:08:49 -0700
OS Version: 10.3.8 (Build 7U16)
Report Version: 2

Command: pgAdmin3
Path: /usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/MacOS/pgAdmin3
Version: ??? (0.1)
PID: 27571
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000014c

Thread 0 Crashed:
0 org.postgresql.pgadmin3 0x00208dd0 wxWindow::MacSuperChangedPosition() +
0x20 (window.cpp:3121)
1 org.postgresql.pgadmin3 0x0020b564
wxMacTopLevelWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*,
void*) + 0x48c (toplevel.cpp:718)
2 org.postgresql.pgadmin3 0x0020bc48
wxMacTopLevelEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) +
0xe8 (toplevel.cpp:784)
3 <<00000000>> 0x927d1fa0 0 + 0x927d1fa0
4 <<00000000>> 0x927d2214 0 + 0x927d2214
5 <<00000000>> 0x927d6694 0 + 0x927d6694
6 <<00000000>> 0x9281312c 0 + 0x9281312c
7 <<00000000>> 0x9280f434 0 + 0x9280f434
8 <<00000000>> 0x92850a8c 0 + 0x92850a8c
9 org.postgresql.pgadmin3 0x0020d9a4 wxTopLevelWindowMac::DoMoveWindow(int,
int, int, int) + 0x88 (toplevel.cpp:1392)
10 org.postgresql.pgadmin3 0x00204f28 wxWindow::DoSetSize(int, int, int, int,
int) + 0x274 (window.cpp:1890)
11 org.postgresql.pgadmin3 0x00205120 wxWindow::DoSetClientSize(int, int) +
0xcc (window.cpp:1921)
12 org.postgresql.pgadmin3 0x006a2eb0 0x1000 + 0x6a1eb0
13 org.postgresql.pgadmin3 0x00338318 wxDialogXmlHandler::DoCreateResource()
+ 0x2d0 (xh_dlg.cpp:69)
14 org.postgresql.pgadmin3 0x001853f8
wxXmlResourceHandler::CreateResource(wxXmlNode*, wxObject*, wxObject*) + 0x548
(xmlres.cpp:700)
15 org.postgresql.pgadmin3 0x00184a78
wxXmlResource::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*,
wxXmlResourceHandler*) + 0x3d0 (xmlres.cpp:610)
16 org.postgresql.pgadmin3 0x0018218c wxXmlResource::LoadDialog(wxDialog*,
wxWindow*, wxString const&) + 0x6c (xmlres.cpp:204)
17 org.postgresql.pgadmin3 0x0006fb5c pgDialog::LoadResource(wxWindow*,
wchar_t const*) + 0x64 (dlgClasses.cpp:134)
18 org.postgresql.pgadmin3 0x000b1a08 _ZN11dlgPropertyC4EP7frmMainRK8wxString
+ 0x124 (dlgProperty.cpp:106)
19 org.postgresql.pgadmin3 0x000b188c dlgProperty::dlgProperty(frmMain*,
wxString const&) + 0x30 (dlgProperty.cpp:127)
20 org.postgresql.pgadmin3 0x000bf0a8 _ZN9dlgServerC4EP7frmMainP8pgServer +
0x48 (dlgServer.cpp:57)
21 org.postgresql.pgadmin3 0x000bf04c dlgServer::dlgServer(frmMain*,
pgServer*) + 0x30 (dlgServer.cpp:68)
22 org.postgresql.pgadmin3 0x00081ee0 frmMain::OnAddServer(wxCommandEvent&) +
0x40 (events.cpp:674)
23 org.postgresql.pgadmin3 0x00164428
wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&),
wxEvent&) const + 0x88 (appbase.cpp:319)
24 org.postgresql.pgadmin3 0x0016afe0
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) + 0x118 (event.cpp:1183)
25 org.postgresql.pgadmin3 0x0016a0e8 wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) + 0x120 (event.cpp:867)
26 org.postgresql.pgadmin3 0x0016b2f8 wxEvtHandler::ProcessEvent(wxEvent&) +
0x198 (event.cpp:1245)
27 org.postgresql.pgadmin3 0x001f4af8 wxMenuBase::SendEvent(int, int) + 0x120
(menucmn.cpp:615)
28 org.postgresql.pgadmin3 0x0019a014
wxMacAppCommandEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
+ 0x238 (app.cpp:477)
29 org.postgresql.pgadmin3 0x0019a274
wxMacAppEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) +
0x104 (app.cpp:526)
30 <<00000000>> 0x927d1fa0 0 + 0x927d1fa0
31 <<00000000>> 0x927d2214 0 + 0x927d2214
32 <<00000000>> 0x927e46bc 0 + 0x927e46bc
33 <<00000000>> 0x927f96b4 0 + 0x927f96b4
34 <<00000000>> 0x92891874 0 + 0x92891874
35 <<00000000>> 0x92893450 0 + 0x92893450
36 <<00000000>> 0x9285d764 0 + 0x9285d764
37 <<00000000>> 0x92883b64 0 + 0x92883b64
38 org.postgresql.pgadmin3 0x0020aadc
wxMacTopLevelMouseEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*,
void*) + 0x458 (toplevel.cpp:540)
39 org.postgresql.pgadmin3 0x0019a318
wxMacAppEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) +
0x1a8 (app.cpp:544)
40 <<00000000>> 0x927d1fa0 0 + 0x927d1fa0
41 <<00000000>> 0x927d2214 0 + 0x927d2214
42 <<00000000>> 0x927e46bc 0 + 0x927e46bc
43 <<00000000>> 0x92913538 0 + 0x92913538
44 <<00000000>> 0x927e2c5c 0 + 0x927e2c5c
45 <<00000000>> 0x927d205c 0 + 0x927d205c
46 <<00000000>> 0x927d2214 0 + 0x927d2214
47 <<00000000>> 0x927e46bc 0 + 0x927e46bc
48 org.postgresql.pgadmin3 0x0019b8f8 wxApp::MacHandleOneEvent(void*) + 0x40
(app.cpp:1075)
49 org.postgresql.pgadmin3 0x0019b858 wxApp::MacDoOneEvent() + 0x100
(app.cpp:1056)
50 org.postgresql.pgadmin3 0x0019b28c wxApp::MainLoop() + 0x40 (app.cpp:900)
51 org.postgresql.pgadmin3 0x001b6e78 wxAppBase::OnRun() + 0x58
(appcmn.cpp:340)
52 org.postgresql.pgadmin3 0x001621d0 wxEntry(int&, wchar_t**) + 0xc0
(init.cpp:417)
53 org.postgresql.pgadmin3 0x001622e8 wxEntry(int&, char**) + 0x48
(init.cpp:429)
54 org.postgresql.pgadmin3 0x00002b84 main + 0x28 (pgAdmin3.cpp:96)
55 org.postgresql.pgadmin3 0x00002578 _start + 0x188 (crt.c:267)
56 dyld 0x8fe1a558 _dyld_start + 0x64

Thread 1:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.unsanity.ape 0xc0002c14 __ape_internal + 0xce4
3 com.unsanity.ape 0xc0001a28 __ape_agent + 0x40
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

PPC Thread State:
srr0: 0x00208dd0 srr1: 0x0000f030 vrsave: 0x00000000
cr: 0x24822244 xer: 0x20000004 lr: 0x0020b564 ctr: 0x006abe28
r0: 0x00000000 r1: 0xbfffdb90 r2: 0x00000000 r3: 0x00000000
r4: 0xbfffdca0 r5: 0x006abe28 r6: 0x00000000 r7: 0xbfffdca0
r8: 0x00000030 r9: 0x0fd26830 r10: 0x0068f948 r11: 0x009ba484
r12: 0x006abe28 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000002 r21: 0x00000000 r22: 0x13adaf70 r23: 0x0fd6dea0
r24: 0xbfffdf20 r25: 0xffffd96e r26: 0x00000002 r27: 0xbfffde30
r28: 0xbfffde00 r29: 0x0fd77660 r30: 0xbfffdb90 r31: 0x0020b0f0

Binary Images Description:
0x1000 - 0x851fff org.postgresql.pgadmin3 ??? (0.1)
/usr/ports/pgadmin3-cvs2/pgAdmin3.app/Contents/MacOS/pgAdmin3
0xee14000 - 0xee16fff libdl.1.dylib /usr/lib/libdl.1.dylib
0xee2c000 - 0xee32fff libintl.3.dylib /usr/local/lib/libintl.3.dylib
0xee49000 - 0xee4bfff com.apple.textencoding.unicode 1.6.4
/System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode
Encodings
0xee52000 - 0xee82fff libssl.0.9.7.dylib
/usr/local/ssl/lib/libssl.0.9.7.dylib
0xee95000 - 0xeea4fff libz.1.2.2.dylib /usr/lib/libz.1.2.2.dylib
0xeeb5000 - 0xeecffff libjpeg.62.dylib /usr/local/lib/libjpeg.62.dylib
0xeee8000 - 0xef05fff libexpat.0.dylib /usr/local/lib/libexpat.0.dylib
0xef3b000 - 0xef4dfff libgettextlib-0.14.3.dylib
/usr/local/lib/libgettextlib-0.14.3.dylib
0xef74000 - 0xef9bfff libpng.3.dylib /usr/local/lib/libpng.3.dylib
0xfa05000 - 0xfad6fff libcrypto.0.9.7.dylib
/usr/local/ssl/lib/libcrypto.0.9.7.dylib
0xfb36000 - 0xfb7bfff libtiff.3.dylib /usr/local/lib/libtiff.3.dylib
0xfcba000 - 0xfcdefff com.unsanity.windowshadex ??? (3.5.2)
/Users/devuser/Library/Application Enhancers/WindowShade
X.ape/Contents/MacOS/WindowShade X
0xfe88000 - 0xfe9efff com.stclairsoft.DefaultFolderX Version 2.0b5 (2.0b5)
/Users/devuser/Library/PreferencePanes/Default Folder
X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Cocoa
Patcher.bundle/Contents/MacOS/Cocoa Patcher
0xfedd000 - 0xfee8fff ??? ??? (0.0.1d1) /Applications/CodeTek VirtualDesktop
Pro.app/Contents/Resources/patch.bundle/Contents/Resources/thePatchCarbon.bundle/Contents/MacOS/thePatchCarbon
0xfef2000 - 0xffd8fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x107cb000 - 0x107e8fff com.stclairsoft.DefaultFolderX Version 2.0b5 (2.0b5)
/Users/devuser/Library/PreferencePanes/Default Folder
X.prefPane/Contents/Resources/Default Folder X.bundle/Contents/Resources/Mach-O
Patcher.bundle/Contents/MacOS/Mach-O Patcher
0x8a550000 - 0x8a550fff com.apple.securitynssasn1 1.1 (11.1)
/System/Library/PrivateFrameworks/SecurityNssAsn1.framework/Versions/A/SecurityNssAsn1
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.7 (299.35)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.6 (10.3.5)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.6 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.4
/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909f0000 - 0x90b4bfff com.apple.Foundation 6.3.5 (500.56)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???)
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90df0000 - 0x90df4fff com.apple.JavaVM 2.0.0
/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2)
/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager 3.8
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x91320000 - 0x913dffff ColorSync
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x914a0000 - 0x91509fff com.apple.htmlrendering 1.1.2
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0xc0000000 - 0xc000ffff com.unsanity.ape 1.4.6
/Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message OpenMacNews 2005-04-14 17:17:03 Re: self-fubar'ed? consistent make failures (undef'd
Previous Message Florian G. Pflug 2005-04-14 17:05:27 Re: self-fubar'ed? consistent make failures (undef'd