bugDDD - Bugs: bug #33755, DDD 3.3.12 (i486-pc-linux-gnu)...

 
 

bug #33755: DDD 3.3.12 (i486-pc-linux-gnu) gets `BadWindow' error

Submitted by:  None
Submitted on:  Tue 12 Jul 2011 02:41:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 3.3.12-rc2

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 01 Sep 2011 03:05:55 PM UTC, comment #1:

I can confirm: This problem exists for years. At least at 46bit Ubuntu.
For example take such programm:
tddd.C
------------
const int N=50;
int main()
{
double a[N];
for(int i=0;i<N;++i){
a[i]=((double)i*(N-i-1))/N/N/2;
}
return 0;
}
-----------
compile: g++ -O0 -g -o tddd tddd.C
run: ddd tddd
enter gdb commands:
---
b 8
r
graph plot a
-----
Message box appears: Waiting for gnuplot
Gnuplot window will not appear.
ps shows that gnuplot is started.
pressing 'Cancel' in this message box will crush ddd.

(file #23920, file #23921)

Alexander Lelyakin <lel>
Tue 12 Jul 2011 02:41:53 PM UTC, original submission:

Before all, sorry for my bad english (I'm French).

The Error : Using DDD I've had this error :

<<
gnuplot -bg 'grey96' -font '--lucidatypewriter-medium-r----120-----iso8859-*' -name 'dddplot1' -geometry +5000+5000 [4730]: Exit 2
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 87586
Current serial number in output stream: 87589
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 87588
Current serial number in output stream: 88392

X error (invalid Window parameter).

Oops! You have found a bug in DDD.

If you can reproduce this bug, please send a bug report
to <ddd@gnu.org>, giving a subject like

DDD 3.3.12 (i486-pc-linux-gnu) gets `BadWindow' error

>>


How I can reproduce this bug :
- I open ddd with a programme to debug.
- I set a breakpoint anywhere.
- I launch the programme with "run".
- I display a variable.
- In the display panel, I select the displayed variable
- I click on the plot button

- A window appear, called "DDD starting plot" saying "Starting gnuplot"

-In the status bar, on the bottom of the main window of DDD, it's written "Exec: 1: gnuplot: not found

- I click on the "Cancel" button on the "DDD starting plot" window.

-A window appear, where it's written "X error (invalid Window parameter)."

-Immediately after, DDD crash and on the terminal, I can see the error above written.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23920:  tddd.C added by lel (125B - text/x-c++src)
file #23921:  log added by lel (20kB - application/octet-stream)
file #23644:  log added by None (20kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lel (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Sep 2011 03:05:55 PM UTClelAttached File-=>Added tddd.C, #23920
      Attached File-=>Added log, #23921
    Tue 12 Jul 2011 02:41:53 PM UTCNoneAttached File-=>Added log, #23644

    Back to the top


    Powered by Savane 3.1-cleanup