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

Submitter:  None
Submitted:  Tue 12 Jul 2011 02:41:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.3.12
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Dec 2022 01:24:53 PM UTC, comment #2: 

fixed

Stefan Eickeler <eickeler>
Group administrator
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 Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eickeler (Posted a comment)
  • -email is unavailable- added by lel (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-28 eickeler StatusNone Fixed
        Open/ClosedOpen Closed
    2011-09-01 lel Attached File- Added tddd.C, #23920
        Attached File- Added log, #23921
    2011-07-12 None Attached File- Added log, #23644

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code