User forums > Help

Linux C::B 5266 freezes after running a Qt application

(1/1)

rickg22:
Hi. I'm trying to figure out what went wrong here.

I'm building a Qt4 application. The application runs fine when being called from the commandline.

However, if I execute it from within C::B (rev. 5266, from debian/mepis repo), the application just sits there, and C::B tells me that it's still running. Only if I quit C::B, the application quits. Otherwise it's sitting right there in the process table.

Any ideas of what might be happening? Is it a known C::B bug, or is it my app?

Notice that my app also writes to stdout.

MortenMacFly:

--- Quote from: rickg22 on May 28, 2009, 04:29:39 am ---Any ideas of what might be happening? Is it a known C::B bug, or is it my app?

--- End quote ---
Never heard of such. Can you create a minimal sample, probably?

rickg22:
Grrr... I can't create a minimal sample. So it must be my program. But why does it only happen with C::B and not when being run from the shell?

Edit: When I changed the application type from the project properties from "GUI Application" to "Console Application", the program no longer hangs on exit! Any ideas?

MortenMacFly:

--- Quote from: rickg22 on May 29, 2009, 12:48:41 am ---Grrr... I can't create a minimal sample. So it must be my program. But why does it only happen with C::B and not when being run from the shell?

--- End quote ---
Any of this mystic LD_LIBRARY_PATH issue? Can you prompt the env-vars in question from within your app when running in a console and running in C::B? Probably you see any difference?!

rickg22:
Hmmm. I'll investigate further. Thanks for the help.

Navigation

[0] Message Index

Go to full version