Good day wxPerlers,

I've been working on getting Padre, a Perl IDE to work on OSX. 
I'm running into a trap while trying to save files. 

I suspect it's related to a platform mismatch or other mistake I'm making 
during compilation or runtime. It would be great to get your opinion on what 
could be going wrong, and perhaps some places to continue my investigation.

A trap that includes my perl -V at the bottom can be found here:
http://padre.perlide.org/trac/attachment/ticket/1272/wx_save_segfault_and_perl_V.txt

and traps from other machines showing that defect: 
http://padre.perlide.org/trac/ticket/1272

The trap itself is:
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c09381e7

VM Regions Near 0xc09381e7:
    CG shared images       00000000c000c000-00000000c0014000 [   32K] rw-/rwx 
SM=SHM  
--> 
    CG shared images       00000000c2b3e000-00

0   libwx_base_carbonu-2.8.0.dylib      0x014111e5 wxArrayString::Add(wxString 
const&, unsigned long) + 263
1   libwx_macu_core-2.8.0.dylib         0x010334b7 
MakeUserDataRec(OpenUserDataRec*, wxString const&) + 311
2   libwx_macu_core-2.8.0.dylib         0x01032282 wxFileDialog::ShowModal() + 
352
3   Wx.bundle                           0x004fa2f8 XS_Wx__FileDialog_ShowModal 
+ 136
4   libperl.dylib                       0x00090336 Perl_pp_entersub + 2294
5   libperl.dylib                       0x0008e986 Perl_runops_standard + 22
6   libperl.dylib                       0x0001d7b5 Perl_call_sv + 725

My perl is compiled on OSX Lion with:
-ders -Dusethreads -Duseithreads -Accflags="-arch i386" 
-Accflags="-B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc" 
-Accflags="-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc" 
-Accflags="-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include" 
-Accflags="-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks" 
-Accflags="-mmacosx-version-min=10.5" -Aldflags="-arch i386 
-Wl,-search_paths_first" 
-Aldflags="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk" 
-Aldflags="-mmacosx-version-min=10.5" -Alddlflags="-arch i386 
-Wl,-search_paths_first" 
-Alddlflags="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk" 
-Alddlflags="-mmacosx-version-min=10.5" -Duseshrplib

My Alien::wxWidgets is compiled on OSX Lion with the env settings:
        PERL_MB_OPT = '--wxWidgets-extraflags=" 
--with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.5 
" --wxWidgets-build=\'yes\' --wxWidgets-source=\'tar.bz2\' 
--wxWidgets-version=2.8.12';
        CFLAGS ='-arch i386';
        CXXFLAGS ='-arch i386'; 
        CPPFLAGS ='-arch i386';
        LDFLAGS ='-arch i386';
        OBJCFLAGS ='-arch i386';
        OBJCXXFLAGS ='-arch i386';

And some versions:
Perl: 5.14.1
Wx 0.9901
wxWidgets 2.8.12
Alien::wxWidgets 2.00812
Wx::Perl::ProcessStream 0.30
(See perl -V in first link).

If you've seen this before or have tips I could explore, I would be grateful. 

Thank you,

Tom

Reply via email to