nautilus-sendto gets X BadWindow error when launching thunderbird

Bug #286436 reported by masfia
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: nautilus

I use the e-mail client thunderbird. When i use "send to..." randomly the function is ok as showed down:

===================== ok =========================
$ nautilus-sendto del856_08.pdf
Init evolution plugin
Init sylpheed-claws plugin

** (nautilus-sendto:14480): WARNING **: Couldn't get default bluetooth adapter: The name org.bluez was not provided by any .service files
Init pidgin plugin
Init thunderbird plugin
==================================================

And randomly the function is KO as showed down:

===================== KO =========================
$ nautilus-sendto del856_08.pdf
Init evolution plugin
Init sylpheed-claws plugin

** (nautilus-sendto:14507): WARNING **: Couldn't get default bluetooth adapter: The name org.bluez was not provided by any .service files
Init pidgin plugin
Init thunderbird plugin
$ The program 'thunderbird-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 935 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
==================================================

What should I do?

ProblemType: Bug
Architecture: i386
Date: Mon Oct 20 16:38:38 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/nautilus
Package: nautilus 1:2.22.5.1-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.24-21-generic i686

Tags: apport-bug
Revision history for this message
masfia (masfia) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

What videocard and videodrive do you use? Do you use the desktop effects option?

Changed in nautilus-sendto:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
arno_b (arno.b) wrote :

It also affects me for a while (on gusty, hardy, ...).
Always with compiz enable.
On my two laptops:
nvidia for the first:
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4

ati for the second.
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1700
OpenGL version string: 2.1.8087 Release

I will try to get more info (backtraces)

Revision history for this message
arno_b (arno.b) wrote :

when I desactivate compiz, I have no problem

I can't get a backtrace: I create a breakpoint when I debug thunderbird (break gdk_x_error as they say), but the debugger never stop when the problem occur.

If you have some ideas, you're welcome.

Revision history for this message
arno_b (arno.b) wrote :

To reproduce the bug:
in a console, run nautilus-sendto <file>. If no problem does no occur, I change of desktop and then I come back to the desktop that contains the console and I run the command once again.

With compiz activated of course.

Revision history for this message
Alexander Sack (asac) wrote :

appears to be compiz related as this happens with not just thunderbird and reporter states that compiz makes this go away.

Changed in thunderbird:
status: Incomplete → New
Revision history for this message
arno_b (arno.b) wrote :

Moreover it seems to be a problem of timing:
* when I launch, using alt-f2, firefox -profilemanager or thunderbird -profilemanager, I often get nothing. But if I selected 'run in command line', the firefox/thunderbird always appears.
* when I run nautilus-sendto within gdb I rarely get the described error; it seems that gdb slows down a few nautilus-sendto and the problem disappears.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in compiz (Ubuntu):
status: New → Incomplete
summary: - "send to..." don't work
+ nautilus-sendto gets X BadWindow error
Revision history for this message
Paolo (paolo-notari) wrote : Re: nautilus-sendto gets X BadWindow error

still observe the same random working of the package
2.6.28-11-generic on 64
ubuntu jaunty
You find strace of the process;

I'm using nautilus script to realize the same function and this works systematically;
nautilus-sendto can't even be eliminated from distribution, because ubuntu-desktop needs nautilus-sendto ;

script :
name : send-thunder
°°°°°°°°°°
#!/bin/sh
# spedisce come allegato di posta di thunderbird

thunderbird -compose attachment="file://$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
 °°°°°°°°°°

made executable in .gnome2/nautilus-scripts and having installed nautilus-scripts

but no way to execute nautilus-sendto in a regular way

Paolo

Revision history for this message
arno_b (arno.b) wrote :

This issue is still here on jaunty for me with the same configs.

Changed in compiz (Ubuntu):
status: Incomplete → New
Revision history for this message
Travis Watkins (amaranth) wrote :

Seeing how Firefox 3.5 fixed this problem I'm guessing Thunderbird 3.0 will as well since it's most likely something with xulrunner going weird.

Changed in compiz (Ubuntu):
status: New → Confirmed
summary: - nautilus-sendto gets X BadWindow error
+ nautilus-sendto gets X BadWindow error when launching thunderbird
Revision history for this message
wing (wingsuit) wrote :

I have same problem in Karmic with firefox/swiftfox. Compiz enabled.

Seems indeed to be some timing issue, because when running FF/SF from the icon in menu/docky, it never appears, running just swiftfox/firefox command from terminal 99% of the times produces error message and no program running, but if I add --sync to the command line then most of the times (~ 90% ) brauser will run.

Oh, and when run from commandline without --sync, it shows profile selector window and then gets error.

will post this and come back with error message.

Revision history for this message
wing (wingsuit) wrote :

errormessage:

The program 'swiftfox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 938 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.