Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4872] Kitchensink: Platform>Sockets>Listening socket crashes on second connect from client

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-04-23T16:53:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsiphone4
ReporterChristian Foidl
AssigneeBlain Hamon
Created2011-07-27T06:06:53.000+0000
Updated2017-03-31T20:38:12.000+0000

Description

Steps to reproduce: 1) Build KS with 1.7.2 2) Install KS on iPhone4 device 3) Navigate to Platform>Sockets>Listening socket 4) Click "socket state" 5) CLick "Listen on 40404" 6) Telnet to the iphone with command "telnet 40404" from system on same network. 7) Telnet to the iphone with command "telnet 40404" from system on same network a second time. Result: KS crashes.

Attachments

FileDateSize
20110729_build.log2011-07-29T00:55:01.000+00002173830
20110729_console.log2011-07-29T00:55:01.000+000010686
console.txt2011-07-27T12:08:56.000+00008638
KitchenSink_2011-07-27-210548_Christian-Foidls-iPhone.crash2011-07-27T12:08:56.000+000033318
KitchenSink_2011-07-29-094252_Christian-Foidls-iPhone.crash2011-07-29T00:55:01.000+000031985

Comments

  1. Christian Foidl 2011-07-27

    In the meantime I have checked that this issue is specific to the iphone device. The crash does not happen on Android and iPad or on the iPhone Simulator!
  2. Paul Dowsett 2011-07-27

    Christian Thanks for raising this ticket. In order for it to be progressed, would you check it against the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist), and correct it accordingly? Hence: * move all the environment information to the environment field * state the exact SDK version tested, including build date and hash (logged to the console on app launch) * include the trace log of the crash in the body of the ticket, wrapped in a code block Many thanks
  3. Christian Foidl 2011-07-27

    Hi, I have attached the console output, because I cannot find "state the exact SDK version tested, including build date and hash (logged to the console on app launch)" Christian
  4. Paul Dowsett 2011-07-28

  5. Christian Foidl 2011-07-29

    Hi, Updated Environment and uploaded new 20110729_build.log 20110729_console.log and KitchenSink_2011-07-29-094252_Christian-Foidls-iPhone. Hope this helps. Christian
  6. Christian Foidl 2011-08-02

    Hi, anything missing? how can I get info on the status of this bug? Thanks
  7. Paul Dowsett 2011-08-02

    Thank you for this, Christian. It seems good. I will move this ticket and you will automatically be updated with any changes to its status. Cheers
  8. Blain Hamon 2012-04-23

    Cannot reproduce, even in using 1_7_2_GA, much less master. Marking 'cannot reproduce' and hoping someone has a better recreation or can verify that this still happens in master.
  9. Lee Morris 2017-03-31

    Closing ticket as this was last updated in 2012, please open a new ticket if this problem persists.

JSON Source