Page 1 of 1

Linux: Programm aborted (by external library)

Posted: Thu Sep 26, 2024 6:28 pm
by rndrei
I get an error (Programm aborted (by external library)) when calling functions

Code: Select all

StatusBarText(#BAR,1,File_text, #PB_StatusBar_Right | #PB_StatusBar_BorderLess)
and this one

Code: Select all

MessageRequester(File_text,"Save file?",#PB_MessageRequester_YesNo,WindowID(#WINDOW_MAIN)) = #PB_MessageRequester_Yes
and

Code: Select all

File_text=SaveFileRequester("Save file","","]text file (*.txt)|*.txt|All file (*.*)|*.*",0)
How to use QT instead of GTK?
-------------------------------------------------
PureBasic 6.12 LTS
x86_64 Linux 6.8.0-31-generic

// Moved from "Bugs - Linux" to "Coding Questions" until it has been confirmed (Kiffi)

Re: Linux: Programm aborted (by external library)

Posted: Fri Sep 27, 2024 2:21 am
by rndrei
Figured out! The topic can be closed. It was I had a bug in the

Code: Select all

 AllocateMemory
routine

Re: Linux: Programm aborted (by external library)

Posted: Fri Sep 27, 2024 6:43 am
by infratec
And in your original message was nothing to see about AllocateMemory() :!:

We need always a 'working' example which shows the error and not only some irrelevant code lines.

No working code ... no help.