Linux: Programm aborted (by external library)

Just starting out? Need help? Post your questions and find answers here.
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 184
Joined: Thu Dec 28, 2023 9:04 pm

Linux: Programm aborted (by external library)

Post 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)
User avatar
rndrei
Enthusiast
Enthusiast
Posts: 184
Joined: Thu Dec 28, 2023 9:04 pm

Re: Linux: Programm aborted (by external library)

Post by rndrei »

Figured out! The topic can be closed. It was I had a bug in the

Code: Select all

 AllocateMemory
routine
infratec
Always Here
Always Here
Posts: 7662
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Linux: Programm aborted (by external library)

Post 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.
Post Reply