Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006918 [DCSS] Patches major N/A 2013-04-15 04:10 2013-12-10 19:13
Reporter CKyle View Status public  
Assigned To Medar
Priority normal Resolution done Local or Remote Local
Status closed   Operating System MacOSX
Projection none   Console or Tiles Tiles
ETA none Fixed in Branch 0.14 ancient branch Product Branch 0.13 ancient branch
  Product Version 0.13-a0-367-g79e3e76
Summary 0006918: Fixes for serving webtiles on a Mac
Description The included patches fix two issues with hosting webtiles on a Mac running OS X.

The first patch 0001-Fix-a-crash-when-running-a-webtiles-server-in-OS-X.patch prevents a crash that would occur whenever the crawl process sends a large datagram to the webserving process as happens whenever a complicated menu such as the list of commands is drawn. The maximum datagram size was reduced because by default there is only 4K space to send datagrams.
sysctl net.local.dgram.recvspace
returns
net.local.dgram.recvspace: 4096
on my system running OS X 10.8.3.

The second patch 0001-Fixed-use-of-arrows-and-other-special-keys-in-OS-X-v.patch allows the use of arrow keys when running webtiles. Keys with negative character codes were not getting through to the crawl process due to inconsistencies with how different systems treat
wint_t
types.

The two patches were created separately, but if 0001-Fix-a-crash-when-running-a-webtiles-server-in-OS-X.patch is applied first on a fresh copy of trunk, they should both take. I made the mistake of pulling after making the first commit, and it seemed silly to submit a patch for the pull.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Fix-a-crash-when-running-a-webtiles-server-in-OS-X.patch [^] (1,986 bytes) 2013-04-15 04:10 [Show Content]
? file icon 0001-Fixed-use-of-arrows-and-other-special-keys-in-OS-X-v.patch [^] (1,268 bytes) 2013-04-15 04:11 [Show Content]

- Relationships
parent of 0006083resolvedMedar ERROR in 'tileweb.cc' at line 200: Socket write error: No buffer space available 

-  Notes
(0022291)
CKyle (reporter)
2013-04-15 04:12

The first patch 0001-Fix-a-crash-when-running-a-webtiles-server-in-OS-X.patch is intended to fix 0006083.
(0024608)
Medar (developer)
2013-12-06 03:02

Thanks. Applied to trunk in 0.14-a0-1322-g85c66a1.

Sorry that this took so long.
(0024664)
CKyle (reporter)
2013-12-10 19:12

Trunk webtiles appears to work on my Mac and on the official servers.

Thanks!

- Issue History
Date Modified Username Field Change
2013-04-15 04:10 CKyle New Issue
2013-04-15 04:10 CKyle File Added: 0001-Fix-a-crash-when-running-a-webtiles-server-in-OS-X.patch
2013-04-15 04:11 CKyle File Added: 0001-Fixed-use-of-arrows-and-other-special-keys-in-OS-X-v.patch
2013-04-15 04:12 CKyle Note Added: 0022291
2013-04-15 09:08 mumra Relationship added parent of 0006083
2013-12-05 14:18 Medar Issue Monitored: Medar
2013-12-06 03:02 Medar Note Added: 0024608
2013-12-06 03:02 Medar Status new => resolved
2013-12-06 03:02 Medar Fixed in Branch => 0.14 development branch
2013-12-06 03:02 Medar Resolution open => done
2013-12-06 03:02 Medar Assigned To => Medar
2013-12-10 19:12 CKyle Note Added: 0024664
2013-12-10 19:12 CKyle Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker