[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] trying to catch a trace of sclang crashing (also is: sclang crash on quit (related to #1438?))



Hi, I'm afraid I need some help since I'm not very much into this:

For a while now sclang sporadicly crashes on quitting on my machine.
More than once a week, to name a number.
Sometimes it does so when rebooting or quitting from within the IDE.
Alas it's not really reproducible.

I found issues on github which are likely to be related.
Since this appears to be somewhat obscure I'd like to attach lldb to sclang and see if I can 'catch something'.

So far I did this by launching lldb, then do 

	process attach --name sclang --waitfor

launch SC, do a 

	process continue

in lldb to get sclang rolling.

So far only a stop occurred, but this is even more rare than the named crashes.
After quitting sc-ide the sclang icon didn't disappear and lldb showed this (which suggests that Qt is involved - which is not a surprise):

* thread #1: tid = 0x40ff24, 0x0000000106981f00 QtQml`QString::~QString(), queue = 'com.apple.main-thread', stop reason = signal SIGTERM
    frame #0: 0x0000000106981f00 QtQml`QString::~QString()
QtQml`QString::~QString():
-> 0x106981f00:  pushq  %rbp
   0x106981f01:  movq   %rsp, %rbp
   0x106981f04:  subq   $0x10, %rsp
   0x106981f08:  movq   %rdi, %rax
(lldb) process continue
Process 66983 resuming
Process 66983 exited with status = 0 (0x00000000) 

it somehow got stuck, but 'continue' worked.

Anyway - I missed to try a

	thread backtrace all

so I don't even know if that would have done something useful or was correct to use at all.

So far I only got an OS X crash log from the aformentioned crashes, I can't tell if that would be of any help.
23.11.2015 11:51:52.122 AM ReportCrash[56719]: Saved crash report for sclang[56658] version 3.7 (alpha1) to /Users/mz/Library/Logs/DiagnosticReports/sclang_2015-11-23-115152_cox.crash

What's a good way to get useful information out of this?

thanks a lot, Michael.  (OS X 10.8.5, latest build of 3.7a)



_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/