We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-09-16 09:38:23 +0200

SailfishApp::pathTo crashes

Hello,

I'm new to Sailfish software development and I couldn't find solution so far.

In my simple application I'm using SailfishApp::pathTo() method to get, well, path to bundled resource.

But calling this method always leads to SIGILL.

I'm calling SailfishApp::pathTo from the code called from QML button press so every possible initialization should be already done.

Please assist.

SailfishApp::pathTo crashescrashes in debug

Hello,

I'm new to Sailfish software development and I couldn't find solution so far.

In my simple application I'm using SailfishApp::pathTo() method to get, well, path to bundled resource.

But calling this method always leads to SIGILL.Sources of the first Sailfish project: https://github.com/dair/sailfish-example

I found out that I can compile and "run" the app from Qt Creator fine and it works (it opens and plays short mp3 file on tapping the only button on screen). But when I debug the application it crashes every time I pass SailfishApp::pathTo I'm calling SailfishApp::pathTo from the code called from QML button press so every possible initialization should be already done.using to get file's path.

Please assist.What could be the issue?

Also as app runs fine I cannot run that from apps screen by tapping an icon. Is it supposed to be so?

Sailfish OS 2.1 INOI R7 phone build 2.1.1.12 (Jämsänjoki) (armv7hl)

SailfishApp::pathTo crashes in debug

Hello,

I'm new to Sailfish software development and I couldn't find solution so far.

In my simple application I'm using SailfishApp::pathTo() method to get, well, path to bundled resource.

Sources of the first Sailfish project: https://github.com/dair/sailfish-example

I found out that I can compile and "run" the app from Qt Creator fine and it works (it opens and plays short mp3 file on tapping the only button on screen). But when I debug the application it crashes every time I pass SailfishApp::pathTo I'm using to get file's path.

What could be the issue?

Also as app runs fine I cannot run that from apps screen by tapping an icon. Is it supposed to be so?

  • Sailfish OS 2.1 2.1
  • INOI R7 phone phone
  • build 2.1.1.12 (Jämsänjoki) (armv7hl)

SailfishApp::pathTo crashes in debug

Hello,

I'm new to Sailfish software development and I couldn't find solution so far.

In my simple application I'm using SailfishApp::pathTo() method to get, well, path to bundled resource.

Sources of the first Sailfish project: https://github.com/dair/sailfish-example

I found out that I can compile and "run" the app from Qt Creator fine and it works (it opens and plays short mp3 file on tapping the only button on screen). But when I debug the application it crashes every time I pass SailfishApp::pathTo I'm using to get file's path.

What could be the issue?

Also as app runs fine I cannot run that from apps screen by tapping an icon. Is it supposed to be so? Fixed that by simply rebooting the phone.

  • Sailfish OS 2.1
  • INOI R7 phone
  • build 2.1.1.12 (Jämsänjoki) (armv7hl)