Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » The very strange xterm issue
Re: The very strange xterm issue [message #14858 is a reply to message #14853] Tue, 18 March 2008 12:53 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
Well, strange enough, but you're right.... console app gives X problems.
My app is :
#include <Core/Core.h>

using namespace Upp;

CONSOLE_APP_MAIN
{
	String s;
	
	Cout() << "Enter a string:";
	s = ReadStdIn();
	Cout() << "\nyour string is: " << s;
	


Run conditions are following :
1-I run theide-svn (from latest svn build)
2-I load theide devel, patch the console stuff (to enable it)
3-I run theide patched from theide svn
4-From inside theide patched, I load and run my console app

Behaviour is :
1) the xterm is correctly opened
2) the app is correctly run inside xterm
3) on app termination, the xterm stays there (no error, ok)
4) when I close xterm all seems ok
5) BUT, if I try for example to do a text copy from inside the patched ide (edit/copy) it gives some weird X11 errors (once property change error, then on a next try font error, and so on)

The weirdest stuff is the following :
1) I close both theide patched AND theide svn.
2) I relaunch theide-svn, all ok
3) From inside theide-svn, I launch theide patched, all ok
4) WITHOUT running the console app, if I try again some copy operation from text inside the patched ide, it gives the same X11 errors..... it seems it has some "stored behaviour" somewhere.

I looked inside processes, none there. So, I think is something inside /var directory related to X11 stuffs....

Max

EDIT : Sorry but it was a mistake... I rebooted my laptop, started theide (patched one) from command line, tryed an edit/copy from inside it and got the same X11 error, without previous console app run.
Now I'm thinking.... as my devel stuff is (besides the small console patch...) identical to svn one, why does it crash ? The only different stuf is that it's compiled in debug mode... maybe that's the real problem ?

Max

EDIT2 : Confirmed, the problem is NOT in console app, but in theide compiled in debug mode.
Debug mode ide has many X11 weird crashes with, for example, copy/paste operations.
Besides of that, console app run fine in both....

Max

[Updated on: Tue, 18 March 2008 13:23]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Code reformatter added to TheIDE
Next Topic: "better" version of Iscale functions
Goto Forum:
  


Current Time: Tue Aug 12 22:11:43 CEST 2025

Total time taken to generate the page: 0.11773 seconds