bugDDD - Bugs: bug #28247, If you work in the Data Window the...


bug #28247: If you work in the Data Window the System crashes

Submitted by:  hans loeffel <hans_loeffel>
Submitted on:  Thu Dec 10 12:32:50 2009  
Category: Data displaySeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

 Spam posted by stayreal
 Spam posted by susancai
Thu May 13 02:37:51 2010, comment #9:

This bug should be marked invalid or similar; I've confirmed that it's a bug in the X server rather than ddd or any library ddd uses; see discussion in the various bugs referenced below, especially the freedesktop.org bug which includes the patch that fixes the problem ("0001-dix-if-owner-events-is-true-for-passive-grabs-add-th.patch").

Stephen Warren <srwarren>
Tue May 11 17:47:17 2010, comment #8:

The root-cause appears to be http://bugs.freedesktop.org/show_bug.cgi?id=25400. Also see https://bugzilla.redhat.com/show_bug.cgi?id=543647 and https://bugs.gentoo.org/296514.

Stephen Warren <srwarren>
Sat May 8 04:22:37 2010, comment #7:

Two more experiments:

Same ssh X forwarding test, running the application on F10, but displaying on Ubuntu Karmic instead of Ubuntu Lucid: No repro.

Running on Lucid, but with the nouveau driver instead of proprietary NVIDIA driver: Still repros.

I think F10 and Karmic are X 7.4, but Lucid is X 7.5.

I'll try searching for any X bugs that might cause this...

Stephen Warren <srwarren>
Sat May 8 03:57:08 2010, comment #6:

I think this may be an X server bug:


Build latest SVN on Ubuntu Lucid: Problem repros

Build latest SVN on Fedora 10: Problem does not repro

I just tested:

Copy ddd binary from Fedora 10 to Ubuntu Lucid: Problem repros

Copy all libraries listed by "ldd ddd" on F10 to Lucid and use LD_LIBRARY_PATH to run the F10 ddd and libraries on Lucid: Problem repros. (note: I skipped copying libc, libgcc_s, libdl, libm, ld-linux.so; it's fairly unlikely those are the cause)

The above all implies there's some environmental condition on Ubuntu Lucid, outside the code being executed, that causes the problem.

Finally, I used "ssh -Y" from the Lucid machine to the F10 machine, and ran ddd on F10 displaying on Lucid's display using ssh X forwarding. The problem repro's here.

The most obvious thing that's common in all those repro steps (especially the last one) is the X server itself.

Stephen Warren <srwarren>
Fri May 7 20:53:29 2010, comment #5:

Interesting; this problem does not occur on Fedora 10; some environmental thing in Lucid must be triggering it.

Stephen Warren <srwarren>
Fri May 7 06:27:46 2010, comment #4:

This bug repros with latest SVN on Ubuntu Lucid.

The following is the backtrace of ddd when hung:

(gdb) bt
#0 0x00315422 in __kernel_vsyscall ()
#1 0x008e0b4b in *__GI___poll (fds=0x976ff4, nfds=3, timeout=25159)
at ../sysdeps/unix/sysv/linux/poll.c:83
#2 0x0014eed1 in _XtWaitForSomething () from /usr/lib/libXt.so.6
#3 0x00150346 in XtAppNextEvent () from /usr/lib/libXt.so.6
#4 0x0805c59b in process_next_event () at ddd.C:3221
#5 0x0812930d in ddd_main_loop () at mainloop.C:120
#6 0x0806d62a in main (argc=2, argv=0xbfe4c484) at ddd.C:3175

Not very information/interesting...

Stephen Warren <srwarren>
Fri May 7 06:00:28 2010, comment #3:

This also affects Ubuntu Lucid; see https://bugs.launchpad.net/ubuntu/+source/ddd/+bug/574157

Stephen Warren <srwarren>
Mon Apr 12 22:14:55 2010, comment #2:

I have the same problem, it happens in the gdb-console window too. I'm on Debian sid with Gnome.

Thu Feb 4 10:05:24 2010, comment #1:

I experienced the same problem. I notice that the program always crash if you right-click on the data window. However, the program works fine if you could manage to use only the left-click.

Manachai Toahchoodee <manachai>
Thu Dec 10 12:32:50 2009, original submission:

If you go to a variable in the data window with the mouse pointer and click too long on the variable (or twice, i do not no) then the ddd crashes. The mouse pointer can not leave the data window. This is a real problem (cruel), because, you can not quit the ddd, you can not do anything with the mouse. I have to shut down the OS.
The Linux System is Fedora 12 (ddd-3.3.12-5.fc12)

hans loeffel <hans_loeffel>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by stayreal (Posted a comment)
  • -unavailable- added by johnboncek
  • -unavailable- added by susancai (Posted a comment)
  • -unavailable- added by srwarren (Posted a comment)
  • -unavailable- added by manachai (Posted a comment)
  • -unavailable- added by hans_loeffel (Submitted 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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Mar 10 17:28:44 2011johnboncekCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1