Reading crash reports on MacOS


After the Windows crash report from earlier today where we couldn't do much, here is an example for one where we could help on MacOS.

When you find a crash report in /Library/Logs/DiagnosticReports folder (for server software) or ~/Library/Logs/DiagnosticReports (for user software), you can try to read where it crashed and maybe avoid that code or fix the data processed by the code to avoid the problem.

The crash report we check today start with this basic info:

Process: fmscwpc [19163]
Path: /Volumes/*/fmscwpc
Identifier: fmscwpc
Version: 0
Code Type: X86-64 (Native)
Parent Process: fmserver_helperd [19089]
Responsible: fmscwpc [19163]
User ID: 503

Date/Time: 2019-09-26 13:32:54.009 +0200
OS Version: Mac OS X 10.13.6 (17G8030)
Report Version: 12
Anonymous UUID: 3BB48127-8D6B-D79A-BCF9-09FEA3400430

As you can read, we have the process name fmscwpc, which is FileMaker Server Custom Web Publishing Client as far as I know. This is the process of FileMaker Server handling requests for WebDirect. It runs here on MacOS 10.13 and you see the timestamp when it happens. When you can reproduce the issue, you may get a few crash reports, so having times may help to distinguish them. (more)

Analyzing crash dump files for Windows


On Windows if an application like FileMaker Server crashes, you'll find a dmp file for the crash. For example in C:\WINDOWS\MiniDump folder. Once you got the file, you wonder how to read it. It seems like the best was is to use WinDbg application from Microsoft.

First you download the Windows 10 SDK, mount the disk image and run the installer. From all the options in WinSDKSetup, you only need the entry for "Debugging Tools for Windows". All the other entries can be unchecked. So instead of installing several GB of data, only 160 MB are installed. (more)

MBS Workshop in der Schweiz


Am 19. November 2019 findet eine MBS Schulung in Meilen am Zürichsee statt. Wir treffen uns ab 9 Uhr im Restaurant Löwen in einem separaten Schulungsraum. Nutzen Sie die Chance die 5000 Funktionen des MBS FileMaker Plugins kennen zu lernen und neue Ideen für Ihre FileMaker Lösungen mit zu nehmen.

Geplantes Programm:
  • Präsentation zum MBS Plugin mit einem Überblick über die Funktionalität.
  • Demonstration von neuen Funktionen in der Version 9.x.
  • Rundgang durch ausgewählte Beispiele
  • Zeit für Fragen
Bitte schicken Sie uns ihre Themenwünsche. Eventuell können wir gerne was zu Kartenleser, Barcodes, Webservices, MacOS Catalina oder Runtime Signieren/Notarisieren mit unterbringen.

Die Teilnahme kostet 150 CHF bzw. 135 Euro. Mittagessen im Restaurant inklusive.
Maximal 12 Teilnehmer. Anmeldung bei uns: Anmelden

PS: Die Schulung findet statt, da die Mindestteilnehmerzahl erreicht wurde.

Am gleichen Tag lädt die Medio-Ingeno AG zu einem FileMaker Event ein: FMnext XP III
Ab 17:30 Uhr gibt es im Gewölbekeller im Restaurant Löwen in Meilen ein buntes Programm mit Vorträgen zu FileMaker.

Auf zur FileMaker Konferenz


Mal wieder packen wir die Koffer und fahren zur Deutschen FileMaker Konferenz. Dieses Jahr findet in Hamburg die 10. FileMaker Konferenz statt. Wenn ich so durch zähle, habe ich neun mit erlebt, also alle bis auf die erste. Auf jeden Fall haben wir ein Jubiläum mit 10 Konferenzen organisiert vom Verein FM Konferenz und dazu noch das 25 Jahre Jubiläum vom K&K Verlag.

Fahren wir ganz entspannt nach Hamburg. Diesmal ohne Flugzeug, ohne verpassten Anschlussflug, ohne Umsteigen, ohne Sicherheitskontrolle, ohne Zoll und Grenze, ohne Vorabbuchung, einfach einsteigen in Koblenz am Bahnhof und dann in Hamburg wieder aussteigen.

Wir sind gespannt auf Stefanies ersten Vortrag zu den Kartenfunktionen im MBS Plugin. Mal schauen wie sich Stefanie schlägt und welche Fragen da kommen. Aber für Fragen bin ich ja auch noch da.

Einmal im Jahr trifft sich die Gemeinde der FileMaker Liebhaber und natürlich fragen wir uns was die vielen Kollegen eigentlich gemacht haben seit der Konferenz in Liechtenstein?
  • Welche Funktionen in FileMaker 18 kommen gut an und wo gibt es noch Probleme?
  • Wie ist das Interesse am FileMaker Marketplace, Claris Connect und der neuen FileMaker Cloud?
  • Welche neuen Tipps und Tricks sollte man wissen?
Freuen wir uns auf eine tolle Konferenz in Hamburg und vorher noch eine recht volle MBS Plugin Schulung. Kommen Sie am MBS Plugin Stand vorbei und bringen Sie ihre Fragen mit!

MBS FileMaker Plugin, version 9.5pr3


New in this prerelease of version 9.5 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

MBS Xojo Plugins, version 19.5pr3


New in this prerelease of the 19.5 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Heavy thread testing on FileMaker Server


In the last week we did some heavy testing on FileMaker Servers with parallel running scripts. When you run a dozen scripts in parallel using the same MBS functions, there is a lot of code accessing the same global data in memory.

For example when one script walks over a list of objects and another script removes an item from that list, there could be a problem that first script accesses the just deleted item in the list. To avoid that we use a lot of mutex objects for synchronization.

For some months now we try to do automated tests to check if our mutex handling is rock solid. You may have seen the Plugin.CallCounter function we added and wonder who needs it. For us it's a great way to see how many calls the test made. With some test runs, this count goes up far over a million.

For version 9.3 we had a few bug reports from two users, who run into issues. We did some test scripts and found the issues, fixed them and got clients happy. Version 9.4 includes all the fixes with improved mutex handling to avoid global variable access for this and similar cases. But this week, we went further and discovered two other issues, which may cause trouble. As with all those tests, it's unlikely in the real world you have several scripts calling the same functions at the same time and actually see a problem in normal usage.

Nevertheless when you test something more, you find issues. We are happy to fix two potential issues, which no customer yet reported, but we found them in our own tests: One potential issue with CURL script trigger and one in SQL connection cleanup. For linux we found another issue, which can cause a memory corruption after a few hours and this may need thousands of calls. If you use MBS FileMaker Plugin on FileMaker Cloud for AWS, please try the 9.5pr3 version as soon as we get it uploaded tomorrow.

If you find a script that uses MBS FileMaker Plugin to sometimes crash, please let us know and we could try to repeat it here. Sometimes a function needs to be called a lot of times or in multiple parallel running scripts. Some crashes occur only with a low probability or depend on external factors like network conditions. We try hard to get the plugin rock solid for you.

FileMaker Cloud coming soon


The new FileMaker Cloud offer is coming soon. Claris International Inc. announced it at the FileMaker DevCon in Orlando this year and as far as we know it will be released to public later in October 2019.

Monkeybread Software has been able to test the new Cloud offering and we think it is a great upgrade for existing users. Within the next three years, we expect a lot of clients to move to the new Cloud offering. The improved consoles for management of the servers and the improved admin console alone may lead to some admins to request the move!

The older FileMaker Cloud for AWS is set get support till end of the year 2021. Not sure if the those FileMaker Cloud servers on AWS can run indefinitely or need to be migrated as eventually no licenses will be extended or security problems make it impossible to keep them running.

Currently we try to assemble a list of users with FileMaker Cloud for AWS and a need for MBS Plugin. We support FileMaker Cloud for AWS with a specific Linux plugin version since September 2016. Once the last client stops using our plugin on FileMaker Cloud for AWS servers, we can retire our support for this platform.

MBS Plugins updated for Xojo 2019r2


Xojo Inc. just released the version 2019r2 of Xojo. You can download it on their website.

MBS Xojo Plugins in version 19.4 have been updated to handle changes for API 2.0 in Xojo 2019r2. A couple of plugin classes and functions have updated declarations to make them working with framework modifications. Our SQL Plugin got updated for prepared statement, which now has a SelectSQL function. MacCocoa, MacCF, ComputerControl and Util plugins got some declarations updated for console/web projects.

The Xojo plugin SDK functions for handling FSRef got removed as Xojo now uses CFURLRef internally for folder items. We updated a couple of plugin functions to now use CFURLRef or NSURL ourselves for file references. But as we still have some older plugin functions using FSRef to do work, we ourselves have support functions to create FSRef on the fly from CFURL and other way around. This keeps old code working. But if you use older plugins in Xojo 2019r2, you may see the following functions fail. (more)

MBS Xojo Plugins, version 19.5pr2


New in this prerelease of the 19.5 plugins:
  • Changed about 400 constants to decimal instead of hex decimal.
  • Updated zint library to version 2.6.7.
  • Updated SQLite to version 3.30.0.
  • Updated DynaPDF to version 4.0.32.93.
  • Added CreateRectilinearMeasure, CreateViewport, GetFieldCalcOrder and SetFieldCalcOrder methods to DynaPDFMBS class.
  • Fixed problem with SQL Plugin not using internal SQLite library (broken in pr1).
  • Added kTypeInt64 and kTypeUInt64 constants to SQLPreparedStatementMBS class.
  • Added kDataTypeInt64 and kDataTypeUInt64 constants to SQLValueReadMBS class.
  • Fixed bug for date handling in SQLPreparedStatementMBS class.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 9.5pr2


New in this prerelease of version 9.5 of the MBS FileMaker Plugin:
  • Updated zint library to version 2.6.7.
  • Updated SQLite to version 3.30.0.
  • Added new tag "smaller bigger sign color" for SyntaxColoring.AddTag function to give <> in formula a different color.
  • Added new tag "global variable color" for SyntaxColoring.AddTag function to give global variables a different color.
  • Fixed problem with returning NSImages. Now passing pixel size to FileMaker, so images with DPI > 72 show correctly in container. e.g. for PDFKit.GetPDFPageImage function.
  • Updated DynaPDF to version 4.0.32.93.
  • Fixed FileDialog functions to not show always the create directory button.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Neue Funktionen des MBS FileMaker Plugin 9.4


Das MBS FileMaker Plugin ist mit mehr als 5900 Funktionen das größte für FileMaker erhältliche Plugin. Im September 2019 ist die Version 9.4 erschienen. Welche neuen Funktionen diese Version mit sich bringt, möchte ich in diesem Artikel verraten. 

 

Barcodes mit JSON generieren 

Sie können mit der neuen Funktion „Barcode.GenerateJSON“ Barcodes generieren, indem Sie den Text und weitere Eigenschaften als Elemente eines JSON Objektes übergeben. Ihr JSON könnte dann z.B so aussehen:

{

"symbology": "QRCode",

"Text": "Hello World",

"Scale": 4

}

Der Barcode wird als Bildreferenz zurückgegeben und kann dann z.B. mit der Funktion "GMImage.WriteToPNGContainer"in einen Container geschrieben werden. 

Liste eingebetteter E-Mails

Die neue Funktion „EmailParser.AttachedEmails“ liefert uns eine Liste der ID’s der Emails, die in einer Mail eingebettet sind.

Audiodatei Informationen als JSON 

Mit der Funktion „Files.AudioTags“ können sie Informationen zu einer Audiodatei abrufen. Sie bekommen diese Informationen dann als JSON Objekt zurückgeliefert. Das JSON Objekt kann Informationen wie Länge, Bitrate, Abtastrate und Kanal liefern. Aber auch weitergehende Informationen wie Künstler oder Titel werden im JSON als Objekt, falls vorhanden, angegeben. Im Gegenzug können wir mit der Funktion „Files.SetAudioTags" Informationen mit Hilfe eines JSON Objektes für eine Audio Datei setzen. 

 

(more)

Three weeks until European MBS Xojo Conference 2019 in Cologne


Just three weeks left before our conference & training for Xojo starts.

Your chance to meet Xojo developers in Europe without traveling to USA. Five reasons why you should attend a conference:
  • Learn something new.
    With API 2.0, new Web Framework and Android coming soon and recent changes for MacOS Catalina, take the chance to learn information from first hand and ask your questions.
  • Networking with peers
    Find new contacts, people that may help you with problems. Try to ask everyone what they do and build a list of experts. Meet the people from the Xojo forum and thank them for their help in the past.
  • Encounter new vendors and suppliers
    Meet developers from plugins, components, training and other services. Use their services to provide greater values to your clients.
  • Position yourself as an expert
    Let others know what you know and can do, so they can hire your services. Build a reputation as a valuable member of the community.
  • Have fun!
    Leave your office and have a great time with other developers. Use your visit to Cologne for some sight seeing.
See also conference website, Things to do in Cologne beside our conference and European Xojo Conference FAQ.

FileMaker 18.0.3


FileMaker Inc. just released FileMaker in version 18.0.3 a few days ago.

This release includes the required info.plist keys and entitlements we asked for, so our functions for contacts, calendars, audio/video recording and much more works again. Those were limited or blocked with version 18.0.2 due to hardened runtime. So we are happy to see this improvements!

Product idea:
Add Missing entitlements for FileMaker to use Apple frameworks

Please note that FileMaker made changes with Server and Client and you should prefer to update both at the same time to avoid trouble.

For runtimes, please notice that FileMaker Pro 18.0.2 and 18.0.3 use hardened runtime, so all runtimes loading external libraries like database driver or DynaPDF library needs to have those libraries code signed with the same team certificate as the main application.

The error message sounds like "code signature in xxx not valid for use in process using Library Validation: mapping process and mapped file (non-platfonn) have different Team IDs".

See also
FileMaker Runtimes and hardened MacOS runtime

MBS Xojo Plugins, version 19.5pr1


New in this prerelease of the 19.5 plugins: Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 9.5pr1


New in this prerelease of version 9.5 of the MBS FileMaker Plugin: Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Archives

Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008