Loading ...
Sorry, an error occurred while loading the content.

Re: problem using vim & perl 5.8.0

Expand Messages
  • Joergen Haegg
    In message ... Yes, it is: wintermute{jh}201 perl -v This is perl, v5.8.0 built for
    Message 1 of 6 , Nov 30, 2002
    • 0 Attachment
      In message <845FCFF2D4C0FC468B485E8777C7A00C13F5A2@...>
      you write:
      >
      > well, then it needs a closer look. But is perl-5.8.0 is first on your path
      > when you really staring VIM?

      Yes, it is:

      wintermute{jh}201 perl -v

      This is perl, v5.8.0 built for i386-linux-thread-multi

      Copyright 1987-2002, Larry Wall

      wintermute{jh}203 ldd /usr/bin/perl
      libdl.so.2 => /lib/libdl.so.2 (0x40022000)
      libm.so.6 => /lib/libm.so.6 (0x40026000)
      libpthread.so.0 => /lib/libpthread.so.0 (0x40047000)
      libc.so.6 => /lib/libc.so.6 (0x40097000)
      libcrypt.so.1 => /lib/libcrypt.so.1 (0x401aa000)
      /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

      Inside vim:

      :!perl -v

      This is perl, v5.8.0 built for i386-linux-thread-multi

      Copyright 1987-2002, Larry Wall
    • Joergen Haegg
      ... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 20680)] 0x402cc81d in Perl_sv_setsv_flags () from
      Message 2 of 6 , Dec 2, 2002
      • 0 Attachment
        > >> I'm trying to use perl in vim, but after upgrading to perl 5.8.0
        > >> vim dies.

        Here is a stack trace:

        :perl print "$curbuf\n"
        Program received signal SIGSEGV, Segmentation fault.
        [Switching to Thread 16384 (LWP 20680)]
        0x402cc81d in Perl_sv_setsv_flags () from /usr/lib/libperl.so.5.8
        (gdb) where
        #0 0x402cc81d in Perl_sv_setsv_flags () from /usr/lib/libperl.so.5.8
        #1 0x08131940 in cur_val (iv=135726536, sv=0x1) at if_perl.xs:505
        #2 0x402b942d in Perl_magic_getuvar () from /usr/lib/libperl.so.5.8
        #3 0x402b475c in Perl_mg_get () from /usr/lib/libperl.so.5.8
        #4 0x402cb78c in Perl_sv_2pv_flags () from /usr/lib/libperl.so.5.8
        #5 0x402c13e3 in Perl_pp_concat () from /usr/lib/libperl.so.5.8
        #6 0x402c1091 in Perl_runops_standard () from /usr/lib/libperl.so.5.8
        #7 0x40268574 in Perl_eval_sv () from /usr/lib/libperl.so.5.8
        #8 0x08131e89 in ex_perl (eap=0xbffff5a8) at if_perl.xs:601
        #9 0x08090c61 in do_one_cmd (cmdlinep=0xbffff658, sourcing=0,
        cstack=0xbffff670, getline=0x809b348 <getexline>, cookie=0x0)
        at ex_docmd.c:1880
        #10 0x0808f740 in do_cmdline (cmdline=0x0, getline=0x809b348 <getexline>,
        cookie=0x0, flags=0) at ex_docmd.c:786
        #11 0x080da01a in nv_colon (cap=0xbffff804) at normal.c:4461
        #12 0x080d5c81 in normal_cmd (oap=0xbffff86c, toplevel=1) at normal.c:1043
        #13 0x080b516f in main_loop (cmdwin=0) at main.c:2047
        #14 0x080b4ee2 in main (argc=0, argv=0xbffffa04) at main.c:1897
        (gdb)
      Your message has been successfully submitted and would be delivered to recipients shortly.