Bug 895 : transport error 202
Last modified: 2009-06-25 15:00




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
hellochar
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-08-25 00:34
I will sometimes get an "ERROR: transport error 202: receive packet failed:
["transport.c",L41]" from the PDE when i close a sketch instance in 0148 expert,
either by pressing esc or by hitting the close button. The error does not happen all
the time, as of right now I'm not sure what causes it exactly. I'm running a Windows
XP, Media center edition, version 2002, Service Pack 2, on an AMD 64 processor.
Additional Comment #1 From fry 2008-08-27 15:32
*** Bug 898 has been marked as a duplicate of this bug. ***
Additional Comment #2 From fry 2008-08-27 19:11
does this only happen when closing? does it cause actual problems or is it
just disturbing?
Additional Comment #3 From fry 2008-08-27 19:22
also, do you have a firewall or something similar enabled? and if so, have
you tried disabling it?
Additional Comment #4 From milc 2008-08-28 02:02
In my case (osx) it does not happen when closing but when I try to run the
sketch,
and it happens all the time and I can't do nothing. so it is actual
problem, a BIG problem.

However, I don't know why my report is duplicate of this bug?? becuase I'm
on osx not on windows,.....anyway, I don't have firewall activated.
Additional Comment #5 From fry 2008-08-28 05:54
(In reply to comment #4)
> In my case (osx) it does not happen when closing but when I try to
run the
> sketch,
> and it happens all the time and I can't do nothing. so it is actual
> problem, a BIG problem.
>
> However, I don't know why my report is duplicate of this bug?? becuase I'm
> on osx not on windows,.....anyway, I don't have firewall activated.

It's a duplicate because this is the first report of "transport error 202",
regardless of the platform.

Is there anything else you can say about your machine that would help debug
this? Do you have any other Java applications that work? Have you installed
prerelease versions of Java from Apple? Do you use Eclipse or other
software that would trigger the same issue?
Additional Comment #6 From milc 2008-08-28 06:15
thanks,

I think Java install has no problem, it's the latest version available for
osx, and terminal shows the version properly. it's version 1.5.0_13, the
lastest for os 10.4.

I don't know about all the applications that are java-based...sorry, all I
know is that Azureus is java based, and I've already close that one and got
the same error.

I use SuperCollider 3, I don't know if it makes something? But here's the
same, I colse SC3 and run ONLY P5, got the same message. All other
applications I'm using are those usual stuff, itunes, bbedit,
ableton....things like that.

I don't even know what Eclipse is, so that shouldn't be a thing. I've never
had this type of error before, actually, never any java error in any
application. and I didnt follow the P5 updates since 0135. I've jumped from
0135 to current.

my machine shares internet connection with a apple iMac via
router/ethernet, but it's not networked.

'sorry that I can't help more....
Additional Comment #7 From fry 2008-08-28 06:19
Hm, could you try turning off the internet sharing and see what happens?
Additional Comment #8 From milc 2008-08-28 06:31
I turned off internet sharing and got the same error.
but I found out that if I disconnect completely my internet connection,
then it works.
and I reconnect, it works....or NOT! it really depends on nothing!
I honestly do not have any idea how my internet connection can be special
than any other people's??

p.s.Firefox 3 is very buggy in my mac book, but I've been told that other
people have the same pain, maybe something else with it?
Additional Comment #9 From milc 2008-08-28 06:32
and sometimes I get this error:
Invalid memory access of location b1078004 eip=9032b10c
Additional Comment #10 From fry 2008-08-28 07:38
k, those are helpful data points. so if i understand correctly, the imac is
sharing its internet connection with your machine?

the debugger uses a socket connection (the same sort of connection used
over the internet) to communicate between processing and the running
sketch... so shutting off the internet connection may cause it to work
sometimes (it may or may not require a reboot), or hooking it directly to
your net connection may help as well.

do you have to use a proxy server when connecting to the internet?

also the last error--the invalid access message--that sounds more like a
broken java installation. i'd suggest reinstalling the last Java update for
10.4, rebooting, and see if that helps anything.
Additional Comment #11 From milc 2008-08-28 07:53
I can't reinstall Java, the installer quits unexpectedly.
Should I remove my old java install? how can I do it?
Additional Comment #12 From milc 2008-08-28 07:59
oh, I managed to install it, sorry.
I'll report the result in a minute.
Additional Comment #13 From milc 2008-08-28 08:33
reinstall java/reboot doesn't seem to help.
however, I do not get this anymore:

Invalid memory access of location b1078004 eip=9032b10c

for now, the only way to make it work is to completely disconnect internet.
when I do this, and reconnect the internet again, it seems to work, until I
re-launch P5.
I relaunch p5, then it gives error.

so I'll try to use p5 in these 3 steps
1.disconnect internet
2.launch p5
3.reconnect internet (and do not close p5 application)

I'll try this method for few days to see if it works.
oh, and I don't use proxy sever.

thanks
Additional Comment #14 From DopeShow 2008-08-29 14:59
Uncommenting line 364 in Runner.java and commenting out line 366 in the
same file did the trick for me.
Got the idea from todo.txt.

I am running on Mac OS X 10.4.11, btw.
Additional Comment #15 From fry 2008-08-29 15:03
thanks for that.. i'll try doing that as the default for 0149, since
there's no need to use localhost over 127.0.0.1.

that would also explain it showing up when using connection sharing--that
dns wasn't resolving properly.
Additional Comment #16 From milc 2008-08-29 15:10
I'm sorry
but where's Runner.java file??
I've tried search function but it didnt come out?
thanks
Additional Comment #17 From DopeShow 2008-08-29 15:29
Runner.java is located in app/src/processing/app/debug/

It seems you need to checkout the source code.
Additional Comment #18 From milc 2008-08-29 15:39
I'm very very sorry but I still can't find it
what is "app" folder? It means application folder?
I've tried all I could do but I don't see any "app" folder related to
processing...
can you please explain how to?
I have no idea how system stuff works...I only use finder with "show hidden
files" on...
Additional Comment #19 From DopeShow 2008-08-29 16:01
You need to download the source code, change Runner.java and compile it.
Here is how you do it: http://dev.processing.org/build/
It is rather complex if you never did it before, so you might want to wait
for the next release.
Additional Comment #20 From jilldonn 2008-09-17 17:55
same thing happened to me.

mac osx 10.5.5

just downloaded processing yesterday. can't run a simple sketch, not even
one from the examples folder.

(In reply to comment #19)
>
>
>
> Additional Comment #19 From
> Dope-Show
> 2008-08-29 16:01
>
> <!--
> addReplyLink(19); //-->[reply]
>
>
>
>
> You need to download the source code, change Runner.java and
compile it.
> Here is how you do it: http://dev.processing.org/build/
> It is rather complex if you never did it before, so you might want to wait
> for the next release.
>
>

(In reply to comment #4)
>
>
>
> Additional Comment #4 From
> milc
> 2008-08-28 02:02
>
> <!--
> addReplyLink(4); //-->[reply]
>
>
>
>
> In my case (osx) it does not happen when closing but when I try to
run the
> sketch,
> and it happens all the time and I can't do nothing. so it is actual
> problem, a BIG problem.
>
> However, I don't know why my report is duplicate of this bug?? becuase I'm
> on osx not on windows,.....anyway, I don't have firewall activated.
>
>
Additional Comment #21 From fry 2008-09-17 18:06
this is already fixed for release 0149, which should be available in a few
days.
Additional Comment #22 From guiro 2009-06-25 14:59
Hi, I have just downloaded the processing-1.0.5, MacBook Pro Intel Os
10.5.7 and is happening that can't run any script.

I know there was an update in java, may be is that?

Someone else with the same issue?

Thanks a lot!!
Additional Comment #23 From guiro 2009-06-25 15:00
The errors textually:


[0] "ERROR: transport error 202: connect failed: Host is down
["transport.c",L41]"
[1] "ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510) ["debugInit.c",L500]"
[2] "JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized"


Thanks