Skip to content

Segmentation fault #42

Open
Open

Description

@mkusher

Padawan could not generate index for Symfony\Component\VarDumper\Tests\Fixtures\NotLoadableClass

Activity

  1. added this to the 0.3 milestone on May 18, 2016
  2. mkusher commented on Jun 8, 2016

    @mkusher
    MemberAuthor

    The problem is that padawan tries to recursively add links to parent classes. And when parent is the same class it goes to an infinite recursion.

  3. mkusher commented on Jun 8, 2016

    @mkusher
    MemberAuthor

    a good test case by @jludwig

    <?php
    
    class C extends C {}
    
    
    class E extends F {}
    class F extends E {}
    
    class G extends H {}
    class H extends I {}
    class I extends G {}
  4. allan-simon commented on Jun 18, 2016

    @allan-simon

    maybe it was already obvious, but the workaround for symfony projects, is to simply open the file containing Symfony\Component\VarDumper\Tests\Fixtures\NotLoadableClass and commenting it , generate the index and uncommenting it

  5. dakira commented on Nov 12, 2016

    @dakira

    So, this is blocking re-integration into PHPCompanion. Any chance this can be fixed? Maybe the reflection code of Symfony itself (that introduced this testfile) helps? symfony/var-dumper@f133ef9

  6. mkusher commented on Nov 13, 2016

    @mkusher
    MemberAuthor

    @dakira #54 I started working on it sometime ago, but haven't got a chance to finish it

  7. okdewit commented on Nov 22, 2016

    @okdewit

    Personally, I'd love an --ignore option of some kind, like ctags provides. Some way to include/exclude directories and files, or maybe a class blacklist.

  8. mkusher commented on Nov 23, 2016

    @mkusher
    MemberAuthor

    @okdewit yeah, it has been discussed #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions