This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-06-21 14:28:10

delza
Scratcher
Registered: 2007-03-08
Posts: 26

Solution for Mac crashing when sharing

Hi folks,

Whenever my son tried to share a project recently, his computer crashed.  We're running on a fairly new Intel Mac with the latest version of the OS, all security and stability patches, everything up to date, and the latest version of Scratch.  This was a hard crash, had to restart the machine, and it happened every time.

I know other people have been having this problem too, so wanted to post how we've solved it for now. In one of the forums someone suggested that using the OS X "managed account" could be causing the problem.  So I turned off "managed account" for him and the problem stopped, at least we've been able to successfully share a test project.

There are a couple of further details.  First, my daughter also had a managed account, but with fewer restrictions.  She was not having this problem, but I haven't had time to track down what difference causes the crash.  Second, in the Console there were several warnings coming from Scratch about autoreleasing without an Autorelease pool being in place, just leaking.  These would be memory leaks from using Cocoa incorrectly.  I have no idea if it is related (probably not), but wanted to let the Scratch folk know.

I hope this helps others with the same problem.

Offline

 

#2 2008-06-21 15:09:35

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Solution for Mac crashing when sharing

Though the problem never occurred, it's great that you've taken the time to share your solution to others! This would be a great topic to make "sticky" if any mods or admins are reading!

Offline

 

#3 2008-06-23 16:28:44

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Solution for Mac crashing when sharing

Hey! My suggestion actually worked! GO ME!

Offline

 

#4 2008-06-25 18:50:39

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Solution for Mac crashing when sharing

Hi, delza.

Thanks for reporting this problem. It does help others.

At least two other people have mentioned this problem with Apple's Parental Control software. It sounds like a bug in the Parental Control software, especially since it crashes the entire computer, which is difficult for a normal application to do. (I would guess that any program that tries to upload a large file to a website the the same parental control settings would also cause a crash.)

If you happen to notice which particular control setting causes the crash, please post here. It would probably help others work around the problem. I will also do some experiments and see if I can reproduce it.

    -- John

P.S. As you suspected, the messages about the Autorelease pool are harmless. We've been seeing those since the last release, but they do not cause any problems. It appear that a few objects allocated at startup time are not released correctly, but since it's not an ongoing memory leak it doesn't cause any problems.

Offline

 

#5 2008-06-27 12:30:40

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

I've been having the same problem too, I think the problem is scratch. If someone with tiger could try uploading with the parental controls then that might help. If the upload works then it might have something to do with Leopard's new parental controls. If it is the leopard parental controls maybe someone from the scratch team could report it to Apple.

Last edited by SonicMariofan (2008-06-27 12:31:10)

Offline

 

#6 2008-07-20 19:56:16

timothymh
Scratcher
Registered: 2008-07-20
Posts: 10

Re: Solution for Mac crashing when sharing

This always happens to me too. HOWEVER:

1) I do not have parental controls on.
2) It does not crash; it has a kernel panic and displays Terminal-type stuff on the screen, ending with "We are hanging here..."  hmm   mad

-timothymh

Last edited by timothymh (2008-07-20 19:57:32)


I am not a hippopotamus. I apologize in advance for any inconveniences this may cause.

Offline

 

#7 2008-07-23 09:40:09

JBEAR
Scratcher
Registered: 2007-10-20
Posts: 100+

Re: Solution for Mac crashing when sharing

timothymh wrote:

it has a kernel panic

MINE DID TOO!

Last edited by JBEAR (2008-07-23 09:40:30)


Status: http://tinyurl.com/JBEAR-sOnlineStatus Latest Project: http://tinyurl.com/654uvwbhttp://s09.flagcounter.com/count/epk/bg_FF0000/txt_FF9100/border_000000/columns_8/maxflags_248/viewers_0/labels_1/pageviews_1/

Offline

 

#8 2008-08-12 13:43:56

ResettiMan238
Scratcher
Registered: 2008-08-12
Posts: 1

Re: Solution for Mac crashing when sharing

I'm having the exact same problem on my macbook, so I had to move my file to the family shared computer, and upload it on that computer. I perfer it that way for me. hmm

Offline

 

#9 2008-08-12 19:27:19

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

Okay we know people are having this problem. Now we either have to find the solution or find a temporary solution until Apple fixes the bug. Oh ya and I have noticed that uploading to an http server isn't the only problem with parental controls. Check out these other problems
http://discussions.apple.com/thread.jspa?threadID=1201211&tstart=39

Offline

 

#10 2008-08-16 07:07:05

brie700
Scratcher
Registered: 2007-07-22
Posts: 72

Re: Solution for Mac crashing when sharing

delza wrote:

Hi folks,

Whenever my son tried to share a project recently, his computer crashed.  We're running on a fairly new Intel Mac with the latest version of the OS, all security and stability patches, everything up to date, and the latest version of Scratch.  This was a hard crash, had to restart the machine, and it happened every time.

I know other people have been having this problem too, so wanted to post how we've solved it for now. In one of the forums someone suggested that using the OS X "managed account" could be causing the problem.  So I turned off "managed account" for him and the problem stopped, at least we've been able to successfully share a test project.

There are a couple of further details.  First, my daughter also had a managed account, but with fewer restrictions.  She was not having this problem, but I haven't had time to track down what difference causes the crash.  Second, in the Console there were several warnings coming from Scratch about autoreleasing without an Autorelease pool being in place, just leaking.  These would be memory leaks from using Cocoa incorrectly.  I have no idea if it is related (probably not), but wanted to let the Scratch folk know.

I hope this helps others with the same problem.

Well with me my computer logs me out ever 5 minutes instead of crashing my comuter.


I am a fun sporty Mets fan  big_smile

Offline

 

#11 2008-08-16 11:30:12

jallen
Scratcher
Registered: 2008-04-07
Posts: 17

Re: Solution for Mac crashing when sharing

brie700 wrote:

Well with me my computer logs me out ever 5 minutes instead of crashing my comuter.

No, he's reporting a bug with the actual application. What you're saying has nothing to do with what he said.

Offline

 

#12 2008-08-20 20:05:41

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

I bet you have to type in the address of the Scratch server into the always allowed sites list. Can someone from the Scratch team tell me the address so I can test my theory?

Offline

 

#13 2008-08-21 08:52:08

brie700
Scratcher
Registered: 2007-07-22
Posts: 72

Re: Solution for Mac crashing when sharing

jallen wrote:

brie700 wrote:

Well with me my computer logs me out ever 5 minutes instead of crashing my comuter.

No, he's reporting a bug with the actual application. What you're saying has nothing to do with what he said.

oh [blocks]
<if> told wrong
feel totally embarassed
<end>

Last edited by brie700 (2008-08-21 08:54:40)


I am a fun sporty Mets fan  big_smile

Offline

 

#14 2008-08-23 11:53:59

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

a beta version of scratch 1.3 is out and I can test to see if it uploads on leopard

Offline

 

#15 2008-08-25 08:23:06

coolguy571
Scratcher
Registered: 2008-07-11
Posts: 10

Re: Solution for Mac crashing when sharing

I use the same version. Are you with leopard? Scratch might not like it if its not because i use the same version of OS with leapord and intel and it works completely fine.

by the way, SonicMariofan, OMG WHERE IS IT?!??!!?!??!!??!!??! thx

Offline

 

#16 2008-08-25 08:52:38

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Solution for Mac crashing when sharing

coolguy571 wrote:

I use the same version. Are you with leopard? Scratch might not like it if its not because i use the same version of OS with leapord and intel and it works completely fine.

by the way, SonicMariofan, OMG WHERE IS IT?!??!!?!??!!??!!??! thx

We're not allowed to post links, but you can go to the home page then search "1.3 beta" (don't just search in the forum page because that will only search the forums)

Offline

 

#17 2008-08-25 09:50:34

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

The reason some people cant upload on Leopard is because they have a managed account, I think it has something to do with the web access. I also think that if you type in the address of the scratch server into the allowed sites then you can upload without having to turn the managed account off. Also checked the problem with the beta version of Scratch. Like I expected, the problem still continued. And most people think that when you upload your computer crashes. Its actually a Kernel Panic. More info on kernel panic can be found here. Also info on how to log a kernel panic can be found here.
http://km.support.apple.com/library/APPLE/APPLECARE_ALLGEOS/HT1392/106227_3.jpg

Last edited by SonicMariofan (2008-08-25 09:59:46)

Offline

 

#18 2008-08-25 19:08:12

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

Here is the log for the kernel panic

Sat Aug 23 14:27:21 2008
panic(cpu 0 caller 0x001A8CD4): Kernel trap at 0x00197f9c, type 14=page fault, registers:
CR0: 0x80010033, CR2: 0x22474000, CR3: 0x00ce9000, CR4: 0x00000660
EAX: 0x1ce0a000, EBX: 0x00004000, ECX: 0x00000b84, EDX: 0x00004000
CR2: 0x22474000, EBP: 0x22472df8, ESI: 0x1ce0b1f0, EDI: 0x22474000
EFL: 0x00010206, EIP: 0x00197f9c, CS:  0x00000008, DS:  0x03600010
Error code: 0x00000002

Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x22472be8 : 0x12b0fa (0x4592a4 0x22472c1c 0x133243 0x0)
0x22472c38 : 0x1a8cd4 (0x46280c 0x197f9c 0xe 0x461fbc)
0x22472d18 : 0x19ede5 (0x22472d30 0x0 0x22472df8 0x197f9c)
0x22472d28 : 0x197f9c (0xe 0x22470048 0x10 0x10)
0x22472df8 : 0x2104821a (0x1cdcca00 0x0 0xce47 0x22472e10)
0x2247fca8 : 0x21048437 (0x4a8a000 0x206 0x2247fce8 0x0)
0x2247fd58 : 0x21048df3 (0x1cdcca00 0x2247fd8c 0x4a8a000 0x3a44c2)
0x2247fd98 : 0x3a6a28 (0x38db880 0x42a03fc 0x0 0x2247fe4c)
0x2247fe38 : 0x390a55 (0x42a03fc 0x0 0x2247febc 0x1cdcca00)
0x2247fe68 : 0x38c231 (0x2b47850 0x2247febc 0x0 0x2247ff54)
0x2247ff18 : 0x38c529 (0x2247ff54 0x2b47850 0xade6390 0x0)
0x2247ff78 : 0x3ddde2 (0x4f20e70 0x4de03c0 0x4de0404 0xbfff8e94)
0x2247ffc8 : 0x19f2c3 (0x41f0a80 0x1 0x1a20b5 0x4204e40)
Backtrace terminated-invalid frame pointer 0xce47
      Kernel loadable modules in backtrace (with dependencies):
         com.apple.kext.webfilter(1.1)@0x21047000->0x2104afff

BSD process name corresponding to current thread: Scratch

Mac OS version:
9E17

Kernel version:
Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
System model name: iMac5,1 (Mac-F42786A9)

Like I expected it was the web filter

Offline

 

#19 2008-09-02 10:21:39

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

I tried turning off the web filter but that didn't solve the problem, can someone please help! If this problem gets fixed then I will be able to upload more projects.

Offline

 

#20 2008-09-19 17:19:20

lol90
Scratcher
Registered: 2008-06-25
Posts: 22

Re: Solution for Mac crashing when sharing

If you get a crash ill be the guide
<when red flag clicked>
you get no crash on windows<mouse y><key[  ]pressed?><key[  ]pressed?><key[  ]pressed?>
smile
but get to my project 4 sounds =P
im sorry  sad

Offline

 

#21 2008-09-25 20:37:12

animegrrl000
Scratcher
Registered: 2008-09-21
Posts: 10

Re: Solution for Mac crashing when sharing

hi! um...i tried 2 download scratch on my computer, it worked, but 1 minute later, it told me 2 abort! dude!!
now im kinda confused. wat do i do?  hmm

Last edited by animegrrl000 (2008-09-25 20:37:41)

Offline

 

#22 2008-09-25 20:48:05

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Solution for Mac crashing when sharing

animegrrl000 wrote:

hi! um...i tried 2 download scratch on my computer, it worked, but 1 minute later, it told me 2 abort! dude!!
now im kinda confused. wat do i do?  hmm

Okay, let's back up a bit...when you say "it worked", do you mean you successfully installed Scratch and got it up and running?

When you say "it told me 2 abort" - can you supply the exact words that were in the message?  A screenshot would be even better.

The more details you can provide, the better chance people have of figuring out what is going on.  Thanks.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#23 2008-09-25 20:52:02

SonicMariofan
Scratcher
Registered: 2008-04-26
Posts: 99

Re: Solution for Mac crashing when sharing

did it say " this application is blocked by the parental controls" or something like that?

Offline

 

#24 2008-09-26 18:12:07

animegrrl000
Scratcher
Registered: 2008-09-21
Posts: 10

Re: Solution for Mac crashing when sharing

yeh it waz successfully installed, but afterwards sumthin came up sayin that it might "harm my computer" and that i should abort but i said ignore. so it came back up saying the exact same thing so i think i  had 2 abort.

Last edited by animegrrl000 (2008-09-26 18:12:42)

Offline

 

#25 2008-09-26 18:20:55

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Solution for Mac crashing when sharing

animegrrl000 wrote:

yeh it waz successfully installed, but afterwards sumthin came up sayin that it might "harm my computer" and that i should abort but i said ignore. so it came back up saying the exact same thing so i think i  had 2 abort.

Sounds like some sort of virus protection software warning you about downloading stuff.  So is Scratch working okay now?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer