dia-gnome crashes when started with --integrated argument

Bug #1027799 reported by Silvan Marco Fin
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
dia (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After installation of dia-gnome, /usr/bin/dia points to /etc/alternatives/dia points to
/usr/bin/dia-gnome-integrated
calling dia without further arguments equals a call to dia-gnome with '--integrated' argument:

silvan@typhon:/usr/bin$ dia-gnome --integrated

(dia-gnome:10159): GLib-WARNING **: A group named "gtk" is already part of this GOptionContext
Xlib: extension "RANDR" missing on display ":0".
The program 'dia-gnome' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 3175 error_code 8 request_code 70 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.)

P.S.: Please note: I use a DisplayLink device altogether with the internal gfx card of my notebook. The desktop is unity 2d and the X setup leads to the msg 'Xlib: extension "RANDR" missing on display ":0".'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dia-gnome 0.97.2-5
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Mon Jul 23 09:54:45 2012
ProcEnviron:
 LANGUAGE=de_DE:en
 TERM=xterm
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: dia
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Silvan Marco Fin (silvan-spamfilter) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dia (Ubuntu):
status: New → Confirmed
Revision history for this message
Galland (victor-lopez) wrote :

I am using Xubuntu 12.10 on a single display and am getting same error, the output for me is:

dia --sync

(dia-gnome:5596): GLib-WARNING **: A group named "gtk" is already part of this GOptionContext
The program 'dia-gnome' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 7341 error_code 8 request_code 70 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
Galland (victor-lopez) wrote :

I am using Xubuntu 13.04 on armhf architecture. Every other app works, but with dia, output is:

user@home:~$ dia --sync

(dia-gnome:23147): GLib-WARNING **: A group named "gtk" is already part of this GOptionContext

(dia-gnome:23147): LIBDBUSMENU-GLIB-WARNING **: Translation has an invalid value 'I-->D' for default text direction. Defaulting to left-to-right.
The program 'dia-gnome' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 9142 error_code 8 request_code 70 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
penalvch (penalvch) wrote :

Silvan Marco Fin, thank you for reporting this and helping make Ubuntu better. However, your crash report is missing. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer. First, execute at a terminal:
cd /var/crash && sudo rm * ; sudo apt-get update && sudo apt-get -y upgrade && sudo service apport start force_start=1

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

Now reproduce the crash, then open your file manager, navigate to your /var/crash directory and open the crash report you wish to submit.
If this fails you will have to open a terminal and file your report with 'ubuntu-bug /var/crash/_my_crash_report.crash' where _my_crash_report.crash is the crash you would like to report. If you get an error that you aren't allowed to access this report you will have to file it with 'sudo ubuntu-bug /var/crash/_my_crash_report.crash'. If you run the command against the crash report and a window pops up asking you to report this, but then never opens a new report, you would be affected by https://bugs.launchpad.net/ubuntu/+source/apport/+bug/994921 . In order to WORKAROUND this, one would need to open the following file via a command line:
gksudo gedit /etc/apport/crashdb.conf

and comment out the line:
'problem_types': ['Bug', 'Package'],

by changing it to:
# 'problem_types': ['Bug', 'Package'],

Save, close, and try to file the crash report again via:
ubuntu-bug /var/crash/_my_crash_report.crash

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently.

Please do not attach your crash report manually to this report and reopen it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in dia (Ubuntu):
status: Confirmed → Invalid
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.