Josh Parmenter | 1 Feb 2011 01:45

crash on wakeup / headphones removed

Here is a strange crash I got today.. put the computer to sleep with SC on and headphones plugged in, and it crashed when I woke the laptop up (no headphones). Here is the dump log. I'll see if I can reproduce it and post a bug report.

Best,

Josh


Process:         SuperCollider [39430]
Path:            /Applications/SuperCollider_f/SuperCollider.app/Contents/MacOS/SuperCollider
Identifier:      net.sourceforge.supercollider
Version:         ??? (-Unofficial Build-)
Code Type:       X86-64 (Native)
Parent Process:  launchd [188]

Date/Time:       2011-01-31 16:41:06.190 -0800
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6
Sleep/Wake UUID: 57DF55E0-7E5D-48DE-BA49-57A91AFDD5C1

Interval Since Last Report:          269812 sec
Crashes Since Last Report:           9
Per-App Interval Since Last Report:  209706 sec
Per-App Crashes Since Last Report:   2
Anonymous UUID:                      DFFD0287-0CBC-4EBB-BDD0-A66E144F54CD

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000040000
Crashed Thread:  9

Thread 0:  Dispatch queue: com.apple.main-thread
(Continue reading)

Josh Parmenter | 1 Feb 2011 02:16

source history

I was going to look through GC.cpp to see what kinds of changes happened when, and went here:

http://supercollider.git.sourceforge.net/git/gitweb.cgi?p=supercollider/supercollider;a=history;f=lang/LangSource/GC.cpp;h=6facd03dba3ea6975f4ed3492552e9e4e632177d;hb=HEAD

Do we not have history on a file that goes back more then last November?

Best,

Josh

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is
structured: whether actively or passively, consciously or unconsciously, he makes choices in this
regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a
revolutionary, historical or social palingenesis." - Luigi Nono
*/

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

James Harkins | 1 Feb 2011 02:40
Picon

Re: source history

At Mon, 31 Jan 2011 17:16:33 -0800,
Josh Parmenter wrote:
> 
> I was going to look through GC.cpp to see what kinds of changes happened when, and went here:
> 
> http://supercollider.git.sourceforge.net/git/gitweb.cgi?p=supercollider/supercollider;a=history;f=lang/LangSource/GC.cpp;h=6facd03dba3ea6975f4ed3492552e9e4e632177d;hb=HEAD
> 
> Do we not have history on a file that goes back more then last November?

The web interface doesn't show you everything. "git log," or a GUI tool like qgit, should show you more.

hjh

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
(Continue reading)

Josh Parmenter | 1 Feb 2011 03:18

Re: source history

ah - actually, I have found that part of the issue is the source tree reorganization (since GC.cpp used to be
in common/Source/lang/LangSource).

However, diff-ing with master simply shows all has been removed. Not very helpful. I guess I'll try
FileMerge later, but this is a little frustrating that I can't compare this old file to a more recent one a
little more easily... or is there some GIT-fu that I am missing?

Josh

On Jan 31, 2011, at 5:40 PM, James Harkins wrote:

> At Mon, 31 Jan 2011 17:16:33 -0800,
> Josh Parmenter wrote:
>> 
>> I was going to look through GC.cpp to see what kinds of changes happened when, and went here:
>> 
>> http://supercollider.git.sourceforge.net/git/gitweb.cgi?p=supercollider/supercollider;a=history;f=lang/LangSource/GC.cpp;h=6facd03dba3ea6975f4ed3492552e9e4e632177d;hb=HEAD
>> 
>> Do we not have history on a file that goes back more then last November?
> 
> The web interface doesn't show you everything. "git log," or a GUI tool like qgit, should show you more.
> 
> hjh
> 
> 
> --
> James Harkins /// dewdrop world
> jamshark70@...
> http://www.dewdrop-world.net
> 
(Continue reading)

James Harkins | 1 Feb 2011 03:27
Picon

Re: SCDoc -> GUI documentation was: we need a FAQ

At Mon, 31 Jan 2011 16:40:49 +0100 (MET),
Sc iss wrote:
> 
> maybe the "subclassing user view" help file could be converted to use SCViewHolder (which doesn't have a
help file right now)?

Yep... although, I realized later that SCViewHolder also provides access to the "held" view's methods by
way of the doesNotUnderstand trick. It's a convenient solution, but if you want tighter control over your
object's interface, it might not be what you want. (I guess in that sense SCViewHolder is more like a
Decorator[1] than an Adapter[2] -- it extends an object's interface, where Adapter translates one
object's interface into different methods that are expected by other objects.)

hjh

(Just in case some readers haven't looked at design patterns before...)

[1] http://en.wikipedia.org/wiki/Decorator_pattern
[2] http://en.wikipedia.org/wiki/Adapter_pattern

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
(Continue reading)

James Harkins | 1 Feb 2011 03:06
Picon

Re: fix Class-superClassesDo

At Mon, 31 Jan 2011 18:52:54 +0100,
Jonatan Liljedahl wrote:
> 
> Could someone please commit this or comment on why it should not be 
> commited? Currently, this method is broken and makes all classmethods of 
> Class "not found" by ScDoc (using findRespondingMethodFor). This patch 
> fixes it and doesn't seem to break anything else:
> 
> -               while ({ class.notNil and: { class != Class} }) {
> +               while { class.notNil } {

Hm... I might expect a method named "superclassesDo" to iterate over just the superclasses, and not
include the receiver in the iteration.

At first glance, the fix seems to be okay, but first check where the method is used and make sure they don't
break. (I think the class browser is one place.)

hjh

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
(Continue reading)

Tristan Strange | 1 Feb 2011 03:39
Picon

Re: Re: SuperCute/QT assistance

crikey this has been a bit of a learning experience....

I've almost managed to get cmake to stop complaining by doing the following:

- Following the README WINDOWS file in /platform except:
-- building portaudio as per these instructions: http://www.portaudio.com/trac/wiki/TutorialDir/Compile/Windows
-- building pthreads by opening pthread.dsp in Visual Studio and building the solution.
-- installing LIBSNDFILE in it's default location.

- i also:
- unpacked libcurl from http://www.gknw.net/mirror/curl/win32/curl-7.21.3-devel-mingw32.zip to ROOT\..\curl
- deployed the QT-SDK in to it's default install location.

and ran this at the Visal Studio 2008 command prompt:
cmake .. -G "Visual Studio 9 2008" -DSNDFILE_LIBRARY="C:\Program Files\Mega-Nerd\libsndfile" -DSNDFILE_INCLUDE_DIR="C:\Program Files\Mega-Nerd\libsndfile\include" -DPORTAUDIO_LIBRARIES=C:\SuperCollider3\portaudio\build\msvc\win32\release\portaudio_x86.lib -DPORTAUDIO_INCLUDE_DIRS=C:\supercollider3\portaudio\include -DPTHREADS_LIBRARY="C:\SuperCollider3\pthread-win32\pthreadVC.lib" -DPTHREADS_INCLUDE_DIR="c:\SuperCollider3\pthread-win32" -DCURL_LIBRARY="c:\SuperCollider3\curl" -DCURL_INCLUDE_DIRS=c:\SuperCollider3\curl -DFFTW3F_INCLUDE_DIR=C:\SuperCollider3\fftw3 -DFFTW3F_LIBRARY=c:\SuperCollider3\fftw3\libfftw3-3 -DCURL_INCLUDE_DIR=C:\SuperCollider3\curl\include -DQT_QMAKE_EXECUTABLE=C:\Qt\2010.05\qt\bin\qmake.exe

where c:\SuperCollider3 is what's referred to as ROOT\.. in the README.

Only to be told by what I assume is QMAKE that:
" It appears you're trying to use Visual Studio with Qt built by mingw.
 Those compilers do not produce code compatible with each other."

not good puddings. Am I really going to have to learn a bit of the mingw tool set to get this built or does a version of the SDK that works with Visual Studio exist somewhere?

Also what will fullfill the MATH_LIBRARY dependancy? Is it required?

Cheers,
Tristan









James Harkins | 1 Feb 2011 04:55
Picon

Re: source history

At Mon, 31 Jan 2011 18:18:22 -0800,
Josh Parmenter wrote:
> 
> ah - actually, I have found that part of the issue is the source tree reorganization (since GC.cpp used to be
in common/Source/lang/LangSource).
> 
> However, diff-ing with master simply shows all has been removed. Not very helpful. I guess I'll try
FileMerge later, but this is a little frustrating that I can't compare this old file to a more recent one a
little more easily... or is there some GIT-fu that I am missing?

http://www.kernel.org/pub/software/scm/git/docs/git-log.html

git log --follow GC.cpp

However, the solution for git diff is evasive to this novice. [1] says that you can "git diff -M -C -C ..." to
have it search as hard as possible for renames, but that isn't successful (the older revision shows up as /dev/null).

qgit shows me that the full history does exist, with contents (see revision
3cf9db4563ced822739a724c1ab6002b737cfcf4, e.g.). It must be using some git options that are not
immediately evident.

hjh

[1] http://www.kernel.org/pub/software/scm/git/docs/git-diff.html

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

Josh Parmenter | 1 Feb 2011 04:59

Re: source history

thanks James... guess I'll build qgit and see what that can show.

Best,

Josh

On Jan 31, 2011, at 7:55 PM, James Harkins wrote:

> At Mon, 31 Jan 2011 18:18:22 -0800,
> Josh Parmenter wrote:
>> 
>> ah - actually, I have found that part of the issue is the source tree reorganization (since GC.cpp used to
be in common/Source/lang/LangSource).
>> 
>> However, diff-ing with master simply shows all has been removed. Not very helpful. I guess I'll try
FileMerge later, but this is a little frustrating that I can't compare this old file to a more recent one a
little more easily... or is there some GIT-fu that I am missing?
> 
> http://www.kernel.org/pub/software/scm/git/docs/git-log.html
> 
> git log --follow GC.cpp
> 
> However, the solution for git diff is evasive to this novice. [1] says that you can "git diff -M -C -C ..." to
have it search as hard as possible for renames, but that isn't successful (the older revision shows up as /dev/null).
> 
> qgit shows me that the full history does exist, with contents (see revision
3cf9db4563ced822739a724c1ab6002b737cfcf4, e.g.). It must be using some git options that are not
immediately evident.
> 
> hjh
> 
> [1] http://www.kernel.org/pub/software/scm/git/docs/git-diff.html
> 
> 
> --
> James Harkins /// dewdrop world
> jamshark70@...
> http://www.dewdrop-world.net
> 
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal."  -- Whitman
> 
> blog: http://www.dewdrop-world.net/words
> audio clips: http://www.dewdrop-world.net/audio
> more audio: http://soundcloud.com/dewdrop_world/tracks
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is
structured: whether actively or passively, consciously or unconsciously, he makes choices in this
regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a
revolutionary, historical or social palingenesis." - Luigi Nono
*/

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/

James Harkins | 1 Feb 2011 05:04
Picon

Re: source history

At Mon, 31 Jan 2011 19:59:55 -0800,
Josh Parmenter wrote:
> 
> thanks James... guess I'll build qgit and see what that can show.

Well, before you spend a lot of time on that, I haven't figured out how to make qgit show me a diff between
arbitrary revisions. It seems to be okay with diff-vs-previous.

Maybe Tim or another git expert knows...?

hjh

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/


Gmane