[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DDD insists on opening session: problem in pre_main_loop line 2280 o
Re: DDD insists on opening session: problem in pre_main_loop line 2280 of ddd.C
Thu, 7 Apr 2005 10:12:39 +0100
----- Original Message -----
From: "Chris van Engelen" <address@hidden>
Sent: Thursday, April 07, 2005 7:54 AM
Subject: Re: DDD insists on opening session: problem in pre_main_loop line
2280 of ddd.C
On 04/06/05 18:22 Chris van Engelen wrote:<br>
I'm using DDD 3.3.10 on sparc-sun-solaris2.8, and having a problem
Every time I startup ddd, it uses session
After reading the manual, sections 2.3, I tried everything to delete the
deleting it in file-> save sessions, making [none] default etcetera.
But then I startup again, and again ddd uses session
In this session I also lose all history.
Well, I'm a software developer, so I started debugging the debugger.
The problem is caused by lines 2277-2283 in ddd.C, function pre_main_loop:
#if XtSpecificationRelease >= 6
// Synchronize SESSION_ID and APP_DATA.session
if (session_id == 0)
XtVaGetValues(toplevel, XtNsessionID, &session_id, XtPointer(0));
if (session_id != 0)
app_data.session = session_id;
After executing the call to XtVaGetValues, the session_id is suddenly set
(gdb) print session_id
$20 = 0x40d410 "110a0a008b000111285601500000083400074"
So this is the session which is then being opened by ddd, and causing the
Could it be that there is another application on my Gnome desktop using
a resource called "sessionID" (which is the value of XtNsessionID in the
to XtVaGetValues) ?
I'm not really good in this X stuff, so could anybody give me some
on how to solve this, besides just removing the lines 2277-2283?
Not sure either. However, if you solve it in a reasonable manner, your patch
will go in.
Chris van Engelen
Hilversum, The Netherlands
Phone: +31 35 689 1935
(Please set the line wrap parameter of your e-mail program to
a large value, like 200, in order to avoid that automatically
inserted new-line characters make included e-mails unreadable).