Vim compiled on Mac OSX but not run

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Vim compiled on Mac OSX but not run

Krzysztof Maj
Hello,
I got vim source from the SVN and compiled it on my Tiger 10.4.11 Mac  
OSX installation. No problem with compilation.
My configure parameters:

  ./configure --enable-multibyte --enable-gui=auto

After compilation process I tried to run Vim.app without any success.  
I got below error. Maybe you guys can help a little?

Date/Time:      2007-11-27 23:09:11.551 +0100
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: Vim
Path:    /Users/mkrzych/Downled/Source/vim7/src/Vim.app/Contents/
MacOS/Vim
Parent:  WindowServer [160]

Version: 7.1 (7.1)

PID:    25522
Thread: 0

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

Thread 0 Crashed:
0   com.apple.CoreFoundation 0x9080dfea CFRelease + 56
1   org.vim.Vim-7.1           0x00120f88 gui_mch_add_menu_item + 364  
(gui_mac.c:4807)
2   org.vim.Vim-7.1           0x0007e982 gui_create_initial_menus +  
68 (menu.c:1827)
3   org.vim.Vim-7.1           0x0007e974 gui_create_initial_menus +  
54 (menu.c:1822)
4   org.vim.Vim-7.1           0x00117bb0 gui_init + 1110 (gui.c:519)
5   org.vim.Vim-7.1           0x00107b08 set_termname + 1338 (term.c:
1847)
6   org.vim.Vim-7.1           0x0010823e termcapinit + 141 (term.c:2514)
7   org.vim.Vim-7.1           0x00117547 gui_start + 91 (gui.c:92)
8   org.vim.Vim-7.1           0x0007001e main + 1083 (main.c:639)
9   org.vim.Vim-7.1           0x00001962 _start + 228 (crt.c:272)
10  org.vim.Vim-7.1           0x0000187d start + 41

Thread 0 crashed with X86 Thread State (32-bit):
   eax: 0x00000000  ebx: 0x9080dfc0  ecx: 0x00000000  edx: 0x00000000
   edi: 0x0012ca9e  esi: 0x00000000  ebp: 0xbffff348  esp: 0xbffff320
    ss: 0x0000001f  efl: 0x00010246  eip: 0x9080dfea   cs: 0x00000017
    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

Binary Images Description:
     0x1000 -   0x13bfff org.vim.Vim-7.1 7.1 /Users/mkrzych/Downled/
Source/vim7/src/Vim.app/Contents/MacOS/Vim
   0x6af000 -   0x6b0fff com.apple.textencoding.unicode 2.1 /System/
Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode  
Encodings
0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???) /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreText.framework/Versions/A/CoreText
0x90229000 - 0x902fffff ATS /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/
Versions/A/ATS
0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.77 (???) /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.8 (368.31) /
System/Library/Frameworks/CoreFoundation.framework/Versions/A/
CoreFoundation
0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???) /System/
Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90913000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???) /System/
Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.28 /
System/Library/Frameworks/CoreServices.framework/Versions/A/
Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/
Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
OSServices.framework/Versions/A/OSServices
0x91008000 - 0x91047fff com.apple.CFNetwork 129.22 /System/Library/
Frameworks/CoreServices.framework/Versions/A/Frameworks/
CFNetwork.framework/Versions/A/CFNetwork
0x9105a000 - 0x9106afff com.apple.WebServices 1.1.3 (1.1.0) /System/
Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
WebServicesCore.framework/Versions/A/WebServicesCore
0x91075000 - 0x910f4fff com.apple.SearchKit 1.0.7 /System/Library/
Frameworks/CoreServices.framework/Versions/A/Frameworks/
SearchKit.framework/Versions/A/SearchKit
0x9112e000 - 0x9114cfff com.apple.Metadata 10.4.4 (121.36) /System/
Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/
Metadata.framework/Versions/A/Metadata
0x91158000 - 0x91166fff libz.1.dylib /usr/lib/libz.1.dylib
0x91169000 - 0x91308fff com.apple.security 4.5.2 (29774) /System/
Library/Frameworks/Security.framework/Versions/A/Security
0x91406000 - 0x9140efff com.apple.DiskArbitration 2.1.2 /System/
Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91415000 - 0x9141cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91420000 - 0x91446fff com.apple.SystemConfiguration 1.8.6 /System/
Library/Frameworks/SystemConfiguration.framework/Versions/A/
SystemConfiguration
0x91458000 - 0x914cefff com.apple.audio.CoreAudio 3.0.5 /System/
Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151f000 - 0x9151ffff com.apple.ApplicationServices 10.4 (???) /
System/Library/Frameworks/ApplicationServices.framework/Versions/A/
ApplicationServices
0x91521000 - 0x9154cfff com.apple.AE 314 (313) /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
AE.framework/Versions/A/AE
0x9155f000 - 0x91633fff com.apple.ColorSync 4.4.9 /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
ColorSync.framework/Versions/A/ColorSync
0x9166e000 - 0x916e1fff com.apple.print.framework.PrintCore 4.6  
(177.13) /System/Library/Frameworks/ApplicationServices.framework/
Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9170f000 - 0x917b8fff com.apple.QD 3.10.25 (???) /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
QD.framework/Versions/A/QD
0x917de000 - 0x91829fff com.apple.HIServices 1.5.2 (???) /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/HIServices.framework/Versions/A/HIServices
0x91848000 - 0x9185efff com.apple.LangAnalysis 1.6.3 /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
LangAnalysis.framework/Versions/A/LangAnalysis
0x9186a000 - 0x91884fff com.apple.FindByContent 1.5 /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
FindByContent.framework/Versions/A/FindByContent
0x9188e000 - 0x918cbfff com.apple.LaunchServices 182 /System/Library/
Frameworks/ApplicationServices.framework/Versions/A/Frameworks/
LaunchServices.framework/Versions/A/LaunchServices
0x918df000 - 0x918ebfff com.apple.speech.synthesis.framework 3.5 /
System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918f2000 - 0x91932fff com.apple.ImageIO.framework 1.5.6 /System/
Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91945000 - 0x919f7fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.
0.9.7.dylib
0x91a3d000 - 0x91a53fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91a58000 - 0x91a76fff libJPEG.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libJPEG.dylib
0x91a7b000 - 0x91adafff libJP2.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libJP2.dylib
0x91aec000 - 0x91af0fff libGIF.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libGIF.dylib
0x91af2000 - 0x91b7afff libRaw.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libRaw.dylib
0x91b7e000 - 0x91bbbfff libTIFF.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libTIFF.dylib
0x91bc1000 - 0x91bdbfff libPng.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libPng.dylib
0x91be0000 - 0x91be2fff libRadiance.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/
Versions/A/Resources/libRadiance.dylib
0x91be4000 - 0x91cc2fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91cdf000 - 0x91cdffff com.apple.Accelerate 1.3.1 (Accelerate  
1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/
Accelerate
0x91ce1000 - 0x91d6ffff com.apple.vImage 2.5 /System/Library/
Frameworks/Accelerate.framework/Versions/A/Frameworks/
vImage.framework/Versions/A/vImage
0x91d76000 - 0x91d76fff com.apple.Accelerate.vecLib 3.3.1 (vecLib  
3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/
Frameworks/vecLib.framework/Versions/A/vecLib
0x91d78000 - 0x91dd1fff libvMisc.dylib /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/
A/libvMisc.dylib
0x91dda000 - 0x91dfefff libvDSP.dylib /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/
A/libvDSP.dylib
0x91e06000 - 0x9220ffff libBLAS.dylib /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/
A/libBLAS.dylib
0x92249000 - 0x925fdfff libLAPACK.dylib /System/Library/Frameworks/
Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/
A/libLAPACK.dylib
0x9262a000 - 0x92717fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92719000 - 0x92796fff com.apple.DesktopServices 1.3.6 /System/
Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/
DesktopServicesPriv
0x927d7000 - 0x92a07fff com.apple.Foundation 6.4.9 (567.36) /System/
Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92baf000 - 0x92baffff com.apple.Carbon 10.4 (???) /System/Library/
Frameworks/Carbon.framework/Versions/A/Carbon
0x92bb1000 - 0x92bc1fff com.apple.ImageCapture 3.0.4 /System/Library/
Frameworks/Carbon.framework/Versions/A/Frameworks/
ImageCapture.framework/Versions/A/ImageCapture
0x92bd0000 - 0x92bd8fff com.apple.speech.recognition.framework 3.6 /
System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92bde000 - 0x92be3fff com.apple.securityhi 2.0.1 (24742) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
SecurityHI.framework/Versions/A/SecurityHI
0x92be9000 - 0x92c7afff com.apple.ink.framework 101.2.1 (71) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
Ink.framework/Versions/A/Ink
0x92c8e000 - 0x92c91fff com.apple.help 1.0.3 (32.1) /System/Library/
Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/
Versions/A/Help
0x92c94000 - 0x92cb2fff com.apple.openscripting 1.2.5 (???) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
OpenScripting.framework/Versions/A/OpenScripting
0x92cc4000 - 0x92ccafff com.apple.print.framework.Print 5.2 (192.4) /
System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
Print.framework/Versions/A/Print
0x92cd0000 - 0x92d33fff com.apple.htmlrendering 66.1 (1.1.3) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
HTMLRendering.framework/Versions/A/HTMLRendering
0x92d57000 - 0x92d98fff com.apple.NavigationServices 3.4.4 (3.4.3) /
System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
NavigationServices.framework/Versions/A/NavigationServices
0x92dbf000 - 0x92dccfff com.apple.audio.SoundManager 3.9.1 /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
CarbonSound.framework/Versions/A/CarbonSound
0x92dd3000 - 0x92dd8fff com.apple.CommonPanels 1.2.3 (73) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
CommonPanels.framework/Versions/A/CommonPanels
0x92ddd000 - 0x930d2fff com.apple.HIToolbox 1.4.10 (???) /System/
Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
HIToolbox.framework/Versions/A/HIToolbox
0x94297000 - 0x942a6fff libCGATS.A.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x942ad000 - 0x942b8fff libCSync.A.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94304000 - 0x9431efff libRIP.A.dylib /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x962fb000 - 0x96329fff libncurses.5.4.dylib /usr/lib/libncurses.
5.4.dylib
0x96392000 - 0x96393fff libLatin2Converter.dylib /System/Library/
CoreServices/Encodings/libLatin2Converter.dylib

Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core  
Duo, 1.83 GHz, 2 GB

Thanks a lot in advance.


All the best,
--
Krzysztof Maj, JNCIP-M/T
I'm a M@c, are you still a PC?



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Vim compiled on Mac OSX but not run

Nico Weber-3

Hi,

> I got vim source from the SVN and compiled it on my Tiger 10.4.11  
> Mac OSX installation. No problem with compilation.
> My configure parameters:
>
> ./configure --enable-multibyte --enable-gui=auto
>
> After compilation process I tried to run Vim.app without any  
> success. I got below error. Maybe you guys can help a little?

as I already wrote on the vim_multibyte list: Does it help if you  
rename your vimrc/gvimrc? How do you start Vim.app? It works fine for  
me (but I'm on Leopard).

Nico

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: Vim compiled on Mac OSX but not run

Krzysztof Maj

On 2007-11-28, at 18:42, Nico Weber wrote:

>
> Hi,
>
>> I got vim source from the SVN and compiled it on my Tiger 10.4.11
>> Mac OSX installation. No problem with compilation.
>> My configure parameters:
>>
>> ./configure --enable-multibyte --enable-gui=auto
>>
>> After compilation process I tried to run Vim.app without any
>> success. I got below error. Maybe you guys can help a little?
>
> as I already wrote on the vim_multibyte list: Does it help if you
> rename your vimrc/gvimrc? How do you start Vim.app? It works fine for
> me (but I'm on Leopard).
>
> Nico
>
Yes it helps. Now I started hashing all my staff line by line  
in .gvimrc ;-) Thanks a lot!

All the best,
--
Krzysztof Maj, JNCIP-M/T
I'm a M@c, are you still a PC?



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Vim compiled on Mac OSX but not run

Nico Weber-3

> Yes it helps. Now I started hashing all my staff line by line  
> in .gvimrc ;-) Thanks a lot!

If you find the offending line, it'd be great if you post it here. Vim  
shouldn't crash no matter what your gvimrc looks like, and if you can  
post a reproducable problem it'll likely be fixed.

Thanks,
Nico

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: Vim compiled on Mac OSX but not run

Krzysztof Maj

On 2007-11-28, at 21:14, Nico Weber wrote:

>
>> Yes it helps. Now I started hashing all my staff line by line
>> in .gvimrc ;-) Thanks a lot!
>
> If you find the offending line, it'd be great if you post it here. Vim
> shouldn't crash no matter what your gvimrc looks like, and if you can
> post a reproducable problem it'll likely be fixed.
>
> Thanks,
> Nico
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message from the "vim_mac" maillist.
> For more information, visit http://www.vim.org/maillist.php
> -~----------~----~----~----~------~----~------~--~---
>
Sure, it was quick. "enc utf-8" is cousing the problem. Having this  
line unhashed my Vim does not work.
I have +multi_lang and +multi_byte compiled into. Also there is a  
problem with correct characters in the GUI menu - there are  
incorrect, without Polish characters like: ó, ę, ź, ć and so on.

Here is my current .gvimrc file:

"set enc=utf-8 <========this line is a problem
set guifont=Courier:h22
set background=dark
set backupcopy=yes
set nofen
set fdl=0
set autoread
set ruler
"
"Ponizsze opcyje pomogly przy kasowaniu przez backspace
""Set backspace
set backspace=eol,start,indent
"Bbackspace and cursor keys wrap to
set whichwrap+=<,>,h,l
"
set incsearch
"
"Set magic on
set magic
"
"No sound on errors.
set noerrorbells
set novisualbell
"
"show matching bracets
set showmatch
"
"Format the statusline
set statusline=\ %F%m%r%h\ %w\ \ Line:\ %l/%L:%c
"
set fileformats+=mac
set fileformats+=dos
"
set cursorline
hi cursorline guibg=#433333
hi CursorColumn guibg=#333333
colorscheme darkblue
"
syntax enable
set number
"
autocmd BufWinEnter * lcd %:p:h
"
All the best,
--
Krzysztof Maj, JNCIP-M/T
I'm a M@c, are you still a PC?



smime.p7s (3K) Download Attachment