HomeProductsDownloadOrderSupportSearch
  
Myriad Forum « p2mp crash on commandline usage »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Apr 13th, 2026, 7:42am 
   Myriad Forum
   PDFtoMusic / PDFtoMusic Pro
(Moderator: Forum Administrator)
   p2mp crash on commandline usage
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Print
   Author  Topic: p2mp crash on commandline usage  (Read 499 times)
jjvbhh
Board Newbie
*






   


Gender: male
Posts: 30
p2mp crash on commandline usage   Tralalalala.pdf
« on: Oct 15th, 2024, 4:33pm »
Quote | Modify

Did a fresh install of pdftomusicpro-2.0.0d.0.run on Ubuntu 22.04.5 LTS
Tried to use commandline conversion to myrweb:
 
p2mp -format MYRWEB './Tralalalala.pdf'
 
Got a crash as result (see below) I'll attach Tralalala.pdf, but it happens with all PDFs.  
 
*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 1 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 7 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of range*** Error (/media/sf/PDFToMusic.src/Myriad64/PDFIcons.c,771) GetIconeGrandeTaille: icon 10 out of rangeProcessing: /home/joergen/Noten/PDFtoMusic/Tralalalala.pdf
Segmentation fault (core dumped)
offline

Music: Notation&Playing&Recording@Jazz,Rock,Choir@Bass,Guitar,Vocals.
Soft: PriMusPublisher,CapallaScan,Transcribe,Ardour,P2MP
OS: xubuntu22.04LTS
Sound: Allen&Heath QU16, Focusrite Scarlett 2i2
Sylvain Machefert
Administrator
*****






   
WWW |

Gender: male
Posts: 7745
Re: p2mp crash on commandline usage  
« Reply #1 on: Oct 15th, 2024, 4:41pm »
Quote | Modify

Hello!
 
The syntax is
Code:
p2mp filename [options]

 
The manual says complete file name, but a relative path may work.
Code:
p2mp Tralalala.pdf -format MYRWEB
offline

HA+HQ+VS+PdfToM, Reaper+Audiveris+Transcribe, Win10+Focusrite Scarlet 4i4+Nord Electro 3
Linktree: VS languages, my scripts, my bands, my performances...
jjvbhh
Board Newbie
*






   


Gender: male
Posts: 30
Re: p2mp crash on commandline usage  
« Reply #2 on: Oct 15th, 2024, 4:55pm »
Quote | Modify

Thank you. The output is now different, but in the end there is still a crash:

/usr/bin/p2mp './Tralalalala.pdf' -format MYRWEB
InitBaseDeSon [/usr/share/PDFtoMusic Pro/GMDigit/GMPDFBase.rsr] Success
InitBaseDeSon [/home/joergen/.config/ACAMPREF/Myriad/GMDigit/Gold.sdb] Fail
InitBaseDeSon [/usr/share/PDFtoMusic Pro/GMDigit/GMPDFBASE.RSR] Success
Standard system font for theme 1 is '~Tahoma'
Processing: /home/joergen/Noten/PDFtoMusic/Tralalalala.pdf
Processing PDF data
Extracting staves
Analyzing fonts
OCRLoadFilter /usr/share/PDFtoMusic Pro/Data/OCRData/MusicSymbols.flt
Analyzing pages
Analyzing tuplets/fingering
Applying words
Compute measures : Bar 1/3
Compute measures : Bar 2/3
Compute measures : Bar 3/3
Tablature layout
Instrument determination
Saving data
End of processing. No error encountered.
Processing time : <1 sec
*** stack smashing detected ***: terminated

 
By the way: If I do not use a path, I get a different error:
 
/usr/bin/p2mp 'Tralalalala.pdf' -format MYRWEB
InitBaseDeSon [/usr/share/PDFtoMusic Pro/GMDigit/GMPDFBase.rsr] Success
InitBaseDeSon [/home/joergen/.config/ACAMPREF/Myriad/GMDigit/Gold.sdb] Fail
InitBaseDeSon [/usr/share/PDFtoMusic Pro/GMDigit/GMPDFBASE.RSR] Success
Standard system font for theme 1 is '~Tahoma'
Processing: /home/joergen/Noten/PDFtoMusic/Tralalalala.pdf
Processing PDF data
Extracting staves
Analyzing fonts
OCRLoadFilter /usr/share/PDFtoMusic Pro/Data/OCRData/MusicSymbols.flt
Analyzing pages
Analyzing tuplets/fingering
Applying words
Compute measures : Bar 1/3
Compute measures : Bar 2/3
Compute measures : Bar 3/3
Tablature layout
Instrument determination
Saving data
End of processing. No error encountered.
Processing time : <1 sec
1 15/10/2024 16:54:38 Collapse: 'Can't set destination path : '''

offline

Music: Notation&Playing&Recording@Jazz,Rock,Choir@Bass,Guitar,Vocals.
Soft: PriMusPublisher,CapallaScan,Transcribe,Ardour,P2MP
OS: xubuntu22.04LTS
Sound: Allen&Heath QU16, Focusrite Scarlett 2i2
Sylvain Machefert
Administrator
*****






   
WWW |

Gender: male
Posts: 7745
Re: p2mp crash on commandline usage  
« Reply #3 on: Oct 15th, 2024, 5:04pm »
Quote | Modify

does it works with the full path
Code:
p2mp /home/joergen/Noten/PDFtoMusic/Tralalalala.pdf -format MYRWEB

 
If yes, then always use full path, but developers can fix that because in both syntaxes, the pdf file is found.
If no, post here, but I'm afraid it will end by sending an email to Myriad team, because the "smashing stack" is not clear for users.
offline

HA+HQ+VS+PdfToM, Reaper+Audiveris+Transcribe, Win10+Focusrite Scarlet 4i4+Nord Electro 3
Linktree: VS languages, my scripts, my bands, my performances...
jjvbhh
Board Newbie
*






   


Gender: male
Posts: 30
Re: p2mp crash on commandline usage  
« Reply #4 on: Oct 15th, 2024, 5:08pm »
Quote | Modify

on Oct 15th, 2024, 5:04pm, Sylvain Machefert wrote:
does it works with the full path
Code:
p2mp /home/joergen/Noten/PDFtoMusic/Tralalalala.pdf -format MYRWEB

Sorry, but results in the same crash as with './Tralalala.pdf'
 
offline

Music: Notation&Playing&Recording@Jazz,Rock,Choir@Bass,Guitar,Vocals.
Soft: PriMusPublisher,CapallaScan,Transcribe,Ardour,P2MP
OS: xubuntu22.04LTS
Sound: Allen&Heath QU16, Focusrite Scarlett 2i2
Sylvain Machefert
Administrator
*****






   
WWW |

Gender: male
Posts: 7745
Re: p2mp crash on commandline usage  
« Reply #5 on: Oct 15th, 2024, 5:14pm »
Quote | Modify

OK, go to ? > Internet > Send us an email with log and pdf file.
 
Reply delay may vary from hours to days, but they don't have time to read all the forum every day, so it's better to contact them that way.
offline

HA+HQ+VS+PdfToM, Reaper+Audiveris+Transcribe, Win10+Focusrite Scarlet 4i4+Nord Electro 3
Linktree: VS languages, my scripts, my bands, my performances...
jjvbhh
Board Newbie
*






   


Gender: male
Posts: 30
Re: p2mp crash on commandline usage  
« Reply #6 on: Oct 15th, 2024, 5:59pm »
Quote | Modify

on Oct 15th, 2024, 5:14pm, Sylvain Machefert wrote:
OK, go to ? > Internet > Send us an email with log and pdf file.

Ok thanks
offline

Music: Notation&Playing&Recording@Jazz,Rock,Choir@Bass,Guitar,Vocals.
Soft: PriMusPublisher,CapallaScan,Transcribe,Ardour,P2MP
OS: xubuntu22.04LTS
Sound: Allen&Heath QU16, Focusrite Scarlett 2i2
Pages: 1  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Cookies Last update:  (c) Myriad