Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Crash 'pure virtual called' on Ubuntu 14.04 64bit, #9166

Open
sedwards2009 opened this issue Sep 19, 2014 · 12 comments
Open

Crash 'pure virtual called' on Ubuntu 14.04 64bit, #9166

sedwards2009 opened this issue Sep 19, 2014 · 12 comments

Comments

@sedwards2009
Copy link

Brackets occasionally crashes on me. This morning it happen while editing a new (unsaved) document as plain text:

sbe@zootv /home/sbe/devel]$ brackets
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0919/101810:ERROR:sandbox_linux.cc(130)] InitializeSandbox() called with multiple threads in process gpu-process
pure virtual method called
terminate called without an active exception
^C
[sbe@zootv /home/sbe/devel]$ 

After which point the window stays open but is just grey. I ctrl+c'ed it. It just happens during normal typing and a I don't see any other kind of pattern to it. It has also happened to me when editing a JS file.

Brackets version info:

sprint 43 experimental build 0.43.0-14375 (release 287868769) 
build timestamp: Tue Sep 02 2014 14:35:16 GMT-0700

On Ubuntu 14.04, 64bit. (Kubuntu variant)

@Mark-Simulacrum
Copy link
Contributor

I've never seen this (or any other crash for that matter) on my Ubuntu 14.04 64bit.

@sedwards2009: You may want to correct the issue title, as it seems you are not using Ubuntu 14.04 64bit, and are using Kubuntu 13.04, 64bit.

@sedwards2009
Copy link
Author

It is 14.04, 64bit sorry. Kubuntu uses the same base libraries as Ubuntu, so that should not matter (famous last words).

@sedwards2009
Copy link
Author

It is worth noting that this problem has only appeared in the last 0.43 release. I don't recall the releases before this having this problem.

@peterflynn
Copy link
Member

The changes in the native-code bits between 0.42 and 0.43 were extremely minimal: adobe/brackets-shell@release-0.42...release-0.43#commits_bucket. So it's unlikely that any new bug was injected there -- but it's possible that an existing bug was already lurking, and some change in the JS bits just recently exposed it... Or could something have changed with your machine configuration?

@sedwards2009
Copy link
Author

The only thing I can think of is that Brackets is somehow picking up bad library somewhere. @Mark-Simulacrum says that he doesn't have this problem on his Ubuntu 14.04. What I could do is use 'ldd' and post the results. Maybe my Brackets finds slightly different libraries than Mark's.

@Mark-Simulacrum
Copy link
Contributor

One more thing that I should probably note about my install. I run Brackets from master of this repository, but I don't use a master copy of the Brackets-Shell repository.

So if any changes have been introduced in master since @sedwards2009's version (and I know they have: Splitview, and many other things - assuming @sedwards2009 is running Brackets Sprint 43), They might be causing the issue.

@JeffryBooher
Copy link
Contributor

@Mark-Simulacrum how do you load brackets master without building the shell?

@JeffryBooher
Copy link
Contributor

on Linux the trick for loading alternate source by holding down the shift key during startup does not work if I remember correctly.

@peterflynn
Copy link
Member

@JeffryBooher Pretty sure you can just run the setup_for_hacking script to create a symlink, just like you would on Mac or Windows...

But I think @Mark-Simulacrum's last comment needs some clarity... Mark, if you're not running the master copy, what are you running? An official build? Or are you compiling it locally but just from an older stable release tag rather than master? Or are you compiling it with extra local changes or off of a branch/fork that has extra changes?

@Mark-Simulacrum
Copy link
Contributor

I am running Brackets from adobe/brackets master and the latest stable Brackets-Shell .deb file (downloaded from http://brackets.io). As @peterflynn said, I just use the setup_for_hacking script to run from master.

@jotak
Copy link

jotak commented Nov 13, 2014

Hello,
I have the same issue. I'm running Xubuntu 14.04 on two PC's, both of them are affected. I can't find any particular scenario to reproduce, it seems to happen unpredictably.
I use the latest official version (not from github): Version 1.0 - 1.0.0-15191 (release 3f2eb90)
but I had the same issue with previous versions before 1.0 (can't remember the exact build).

What I can say, if it helps:

  • I use typescript extensions
  • It happens whether I'm writting Javascript, Typescript or even Markdown ; can't find any pattern here
  • Terminal shows "pure virtual method called
    terminate called without an active exception"
  • I tried to move out extensions "JavaScriptCodeHints" and "JSLint" from brackets/www/extensions/default/ , but still the problem persists

@sedwards2009
Copy link
Author

I'm also using TypeScript, and have had it crash when editing TypeScript, Javascript and/or Markdown.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants