Welcome to wxFormBuilder’s issue tracking system! We hope that wxFormBuilder provides you with many hours of increased productivity.
Please feel free to post bug reports and feature requests here. You can feel free to discuss an issue or feature on the forum but if you decide it needs to be looked at you need to post it here. If a feature request or bug report is not on this site there is a good chance it won’t be worked on. So, as a rule, post them here.
Thanks for your cooperation,
The wxFormBuilder Team
FS#451 - app crashes on new form with 'BadMatch' X error in kubuntu 9.10
|
DetailsWhat steps will reproduce the problem?
What is the expected output? What do you see instead? wxFormBuilder immediately crashes regardless of weather the project is saved prior to creating a form or no. Here are the last few lines of strace including the output error message: poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}]) writev(10, [{”\22\0\7\0\376\5\300\2\366\0\0\0!\0\0\0 \4\7\0\1\0\0\0\1\0\300\2\22 \0\7\0”..., 3256}, {NULL, 0}, {”“, 0}], 3) = 3256 poll([{fd=10, events=POLLIN}], 1, -1) = 1 ([{fd=10, revents=POLLIN}]) read(10, “\34\322\347C\376\5\300\2\22\1\0\0\340<d\27\0\212\270\17\0\0\0\0\20\300 \304\2\0\0\0\0”..., 4096) = 544 open(”/usr/share/X11/XErrorDB”, O_RDONLY) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=41481, ...}) = 0 brk(0x1dd1000) = 0x1dd1000 read(11, “! $Xorg: XErrorDB,v 1.3 2000/08/”..., 41481) = 41481 close(11) = 0 brk(0x1df2000) = 0x1df2000 write(2, “The program ‘wxformbuilder’ rece”..., 575The program ‘wxformbuilder’ r eceived an X Window System error. This probably reflects a bug in the program. The error was ‘BadMatch (invalid parameter attributes)’. (Details: serial 17417 error_code 8 request_code 151 minor_code 5) (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.) ) = 575 exit_group(1) = ? No errors were found in the syslog or the Xorg.0.log. Attached is the xorg.conf for this system. It’s a triple head setup using dual NVIDIA cards and so is using xinerama rather than Xrandr which remains incapable of true triplehead support. All drivers were installed via standard kubuntu repositories. All software on the system was installed from the standard and backports repos with the exception of the chromium browser from http://ppa.launchpad.net/chromium-daily/ppa/ubuntu. At this point wxFormBuilder is unusable as it crashes immediately upon creating a new form. Please use labels and text to provide additional information. |
Please, could you try to build the latest wxFB version from SVN and report if the bug is still present there?
I'm getting the same error on svn trunk with Ubuntu 9.10.
Forgot the revision: r1661
Here's a stacktrace with _Xdebug=1 (which should mean the error was processed immediately rather than asynchronously):
The line in ObjectInspector::Create is:
Unfortunately, I'm not able to reproduce the crash. I just built latest SVN trunk on Ubuntu 9.10 with wxWidgets 2.8.10 by using both command line and CodeLite IDE and both ways produced executable which works flawlessly... When the crash appears? After clicking of some specific form (panel, form, dialog, menubar, toolbar) or immediately after the application's start? Which version of wxWidgets do you use?
The crash happens right after clicking one of the new frame/dialog/panel buttons, or when loading a project.
Appears (for me anyway) to be directly related to using nvidia twinview with randr (which doesn't work very well anyway). It works fine both for the single-monitor case and after removing the rotation on one of the monitors. I've now re-setup my monitors without the rotation, since it caused some other problems as well.
Or in my case - nvidia xinerama without randr. I agree that it appears to be related to nvidia multimonitor setups.