Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Segmentation fault error

    Hi all, I am currently running code that reads in multiple datasets, merging them into one dataset. I keep encountering a "segmentation fault" error. I've done some google searches and understand this relates to me accessing some form of memory I don't have access to.

    Has anyone else seen this error before? What did you come up with for a solution? Is this simply a case of my data being too big too handle?

    Note: I've previously run this code without error, so I don't believe it's a problem with syntax.

  • #2
    Jennifer,

    you've done nothing wrong. If you are using Stata, Stata should not access the memory it hasn't got permissions for.
    So it is either a Stata's developers error and you need to contact Stata's tech support, or you are using some Stata extensions (plugins) that may result in such a behavior, in which case you need to contact the plugin developer.

    In principle, any case where Stata closes unexpectedly or "crashes" should be reported to the developers (StataCorp). They are usually very quick in fixing these kind of problems:
    http://www.stata.com/statalist/archi.../msg00421.html
    http://www.statalist.org/forums/foru...-stata-dialogs

    You may also want to update first and see whether the most up to date version of Stata still exhibits the same problem.

    Best, Sergiy Radyakin

    Comment


    • #3
      Hi Sergiy, thanks for your response. I am not using any plug-ins. I am however using a custom command. Would this also potentially invoke a segmentation fault error? If not, then I will reach out to Stata developers for a solution.

      Thanks,
      Jen

      Comment


      • #4
        Hi,
        This came up again for me while using reghdfe:
        Segmentation fault: 11
        Jennifer, was your problem due to the custom command? Wondering if it's a problem with the user written rehdfe.
        Thanks,
        Daniel

        Comment


        • #5
          Hi Daniel,

          Could you please contact us at [email protected]? We need to get additional details on the problem you are reporting, so that we can reproduce it on our computers and look for the appropriate solution to your particular case.

          Comment

          Working...
          X