Broken Font Loading
I recently accidentally upgraded my Cygwin/X to Version 1.5.3. One of the applications I use, amrvis, from Berkeley lab now crashes when I try to get a line plot when it still works with a previous version of Cygwin/X on another machine (the about dialog just says the dialog is from 2004/3/25, but I think it's actually newer than that... man for 'X' says version 6.8.2.0). Here's what I could track down that seemed relevant. - Program received signal SIGSEGV, Segmentation fault. 0x00470360 in XYPlotWin (this=0x7b7f90, title=value optimized out, app=value optimized out, w=value optimized out, parent=value optimized out, type=value optimized out, curr_frame=0) at XYPlotWin.cpp:397 397 gcvals.font = labeltextFont-fid; (gdb) p labeltextFont-fid Cannot access memory at address 0x9 XYPlotWin.cpp:392: labeltextFont = PM_FONT(LabelFont); XYPlotWin.cpp:102:#define PM_FONT(name) ((parameters-Get_Parameter(name, param_temp)) ? \ XYPlotWin.cpp-103- param_temp.fontv.value : (BL_ASSERT(0), (XFontStruct *) 0)) XYPlotParam.cpp:170: DEF(LabelFont, FONT, DEF_LABEL_FONT); XYPlotDefaults.H:52:#define DEF_LABEL_FONT helvetica-10 XYPlot.Defaults:12:LabelFontFONThelvetica-10 XYPlotParam.cpp: 268switch (type) { ... 287 case FONT: 288if( ! do_font(form, result-fontv.value)) { 289 fprintf(stderr, paramstr, name, form, font, DEF_FONT); 290 do_font(DEF_FONT, result-fontv.value); 291} 292 break; 370 int XYPlotParameters::do_font(char *name, XFontStruct **font_info) { 371char name_copy[DEF_MAX_FONT], query_spec[DEF_MAX_FONT]; 372char *font_family, *font_size, **font_list; 373int font_size_value, font_count, i; 374 375// First attempt to interpret as font family/size 376strcpy(name_copy, name); 377if((font_size = strchr(name_copy, '-'))) { 378 *font_size = '\0'; 379 font_family = name_copy; 380 ++font_size; 381 font_size_value = atoi(font_size); 382 if(font_size_value 0) { 383// Still a little iffy -- what about weight and roman vs. other 384sprintf(query_spec, ISO_FONT, font_family, font_size_value * 10); 385font_list = XListFonts(gaPtr-PDisplay(), query_spec, 386 DEF_MAX_NAMES, font_count); 387 388// Load first one that you can 389for(i = 0; i font_count; ++i) { 390 if((*font_info = XLoadQueryFont(gaPtr-PDisplay(), font_list[i]))) { 391break; 392 } 393} 394if(*font_info) { 395 return 1; 396} 397 } 398} 399// Assume normal font name 400*font_info = XLoadQueryFont(gaPtr-PDisplay(), name); 401if((*font_info = XLoadQueryFont(gaPtr-PDisplay(), name)) != NULL) { 402 return 1; 403} 404return 0; 405 } -- Any ideas? Is this even the right place to send questions? -Rob Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Broken Font Loading
Robert Martin wrote: I recently accidentally upgraded my Cygwin/X to Version 1.5.3. One of the applications I use, amrvis, from Berkeley lab now crashes when I try to get a line plot when it still works with a previous version of Cygwin/X on another machine (the about dialog just says the dialog is from 2004/3/25, but I think it's actually newer than that... man for 'X' says version 6.8.2.0). Here's what I could track down that seemed relevant. [...] XYPlotDefaults.H:52:#define DEF_LABEL_FONT helvetica-10 [...] Any ideas? Is this even the right place to send questions? Yes, this is the right place :-) I'd guess you need to install the 'font-adobe-dpi75' package to provide the helvetica font. If this does fix your problem, you should perhaps raise a bug on the application you are using that it should do something more helpful than just crash when the font it wants to use is unavailable. :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: No repetition of keys in X11R7
on January 23, 2009 Jon Turney wrote: This behaviour should be fixed (or at least, changed :-)) in xorg-server 1.5.3-5. Feedback welcomed. Every thing is OK now, thanks RM -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
How do you upgrade to XR117
I have been looking through the cygwin mirrors for the last two days trying to find the X11R7 packages via setup.exe. When I go to the X11 tab, I can not find any X11R7 packages. I have tried to install them twoce and all I get is X11R6. Sorry if this a lame question, I just do know where to look, google doesn't seem to provide any specific advice other than use the cygwin setup.exe file and it will update automatically. Thanks -J I am hoping this upgrade solves the matlab problem I posted about yesterday. -- View this message in context: http://www.nabble.com/How-do-you-upgrade-to-XR117-tp21736592p21736592.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
jchas5 wrote: I have been looking through the cygwin mirrors for the last two days trying to find the X11R7 packages via setup.exe. When I go to the X11 tab, I can not find any X11R7 packages. I have tried to install them twoce and all I get is X11R6. Sorry if this a lame question, I just do know where to look, google doesn't seem to provide any specific advice other than use the cygwin setup.exe file and it will update automatically. I'm afraid that really covers it. What makes you think that you're not getting upgraded? What mirror are you using? In case it helps, here's one of the announcements about the new X11R7: http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html You can review the X announcements email list for other announcements/ details if you like/need. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 429-6305 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
On Thu, Jan 29, 2009 at 01:46:41PM -0800, jchas5 wrote: I have been looking through the cygwin mirrors for the last two days trying to find the X11R7 packages via setup.exe. When I go to the X11 tab, I can not find any X11R7 packages. I have tried to install them twoce and all I get is X11R6. Sorry if this a lame question, I just do know where to look, google doesn't seem to provide any specific advice other than use the cygwin setup.exe file and it will update automatically. Any mirror that is available via setup.exe has the newest X.org packages. If you are looking for something called X11R7 that may part of your problem. setup.exe simply refers to the newer packages as X.org. Otherwise, see the problem reporting guidelines mentioned here: http://cygwin.com/problems.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
Well the reason I am thinking that I am not getting the X11R7 is that the /usr directory is showing X11R6 with a time stamp of my last install: $ ls -ltr total 0 drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 tmp drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 src drwxrwx---+ 5 jcklose mkgroup-l-d 0 Jan 27 16:35 local drwxrwx---+ 9 jcklose mkgroup-l-d 0 Jan 27 16:37 X11R6 drwxrwx---+ 6 jcklose mkgroup-l-d 0 Jan 27 16:38 ssl drwxrwx---+ 3 jcklose mkgroup-l-d 0 Jan 27 16:40 man drwxrwx---+ 4 jcklose mkgroup-l-d 0 Jan 27 16:40 sbin drwxrwx---+ 39 jcklose mkgroup-l-d 0 Jan 27 16:46 include drwxrwx---+ 49 jcklose mkgroup-l-d 0 Jan 28 10:30 share drwxrwx---+ 36 jcklose mkgroup-l-d 0 Jan 28 10:30 lib drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 28 13:48 bin Unless it installs in the X11r6 directory in the /usr directory. -J Christopher Faylor-8 wrote: On Thu, Jan 29, 2009 at 01:46:41PM -0800, jchas5 wrote: I have been looking through the cygwin mirrors for the last two days trying to find the X11R7 packages via setup.exe. When I go to the X11 tab, I can not find any X11R7 packages. I have tried to install them twoce and all I get is X11R6. Sorry if this a lame question, I just do know where to look, google doesn't seem to provide any specific advice other than use the cygwin setup.exe file and it will update automatically. Any mirror that is available via setup.exe has the newest X.org packages. If you are looking for something called X11R7 that may part of your problem. setup.exe simply refers to the newer packages as X.org. Otherwise, see the problem reporting guidelines mentioned here: http://cygwin.com/problems.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- View this message in context: http://www.nabble.com/How-do-you-upgrade-to-XR117-tp21736592p21737035.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
No I am not looking for something called X11R7, I am simply looking trying to install the X.org packages from the setup.exe Should I see a X11R7 directory in /usr? Here is my /usr: $ ls -ltr total 0 drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 tmp drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 src drwxrwx---+ 5 jcklose mkgroup-l-d 0 Jan 27 16:35 local drwxrwx---+ 9 jcklose mkgroup-l-d 0 Jan 27 16:37 X11R6 drwxrwx---+ 6 jcklose mkgroup-l-d 0 Jan 27 16:38 ssl drwxrwx---+ 3 jcklose mkgroup-l-d 0 Jan 27 16:40 man drwxrwx---+ 4 jcklose mkgroup-l-d 0 Jan 27 16:40 sbin drwxrwx---+ 39 jcklose mkgroup-l-d 0 Jan 27 16:46 include drwxrwx---+ 49 jcklose mkgroup-l-d 0 Jan 28 10:30 share drwxrwx---+ 36 jcklose mkgroup-l-d 0 Jan 28 10:30 lib drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 28 13:48 bin -J Christopher Faylor-8 wrote: On Thu, Jan 29, 2009 at 01:46:41PM -0800, jchas5 wrote: I have been looking through the cygwin mirrors for the last two days trying to find the X11R7 packages via setup.exe. When I go to the X11 tab, I can not find any X11R7 packages. I have tried to install them twoce and all I get is X11R6. Sorry if this a lame question, I just do know where to look, google doesn't seem to provide any specific advice other than use the cygwin setup.exe file and it will update automatically. Any mirror that is available via setup.exe has the newest X.org packages. If you are looking for something called X11R7 that may part of your problem. setup.exe simply refers to the newer packages as X.org. Otherwise, see the problem reporting guidelines mentioned here: http://cygwin.com/problems.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- View this message in context: http://www.nabble.com/How-do-you-upgrade-to-XR117-tp21736592p21737103.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
On Thu, Jan 29, 2009 at 02:08:27PM -0800, jchas5 wrote: Well the reason I am thinking that I am not getting the X11R7 is that the /usr directory is showing X11R6 with a time stamp of my last install: $ ls -ltr total 0 drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 tmp drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 src drwxrwx---+ 5 jcklose mkgroup-l-d 0 Jan 27 16:35 local drwxrwx---+ 9 jcklose mkgroup-l-d 0 Jan 27 16:37 X11R6 drwxrwx---+ 6 jcklose mkgroup-l-d 0 Jan 27 16:38 ssl drwxrwx---+ 3 jcklose mkgroup-l-d 0 Jan 27 16:40 man drwxrwx---+ 4 jcklose mkgroup-l-d 0 Jan 27 16:40 sbin drwxrwx---+ 39 jcklose mkgroup-l-d 0 Jan 27 16:46 include drwxrwx---+ 49 jcklose mkgroup-l-d 0 Jan 28 10:30 share drwxrwx---+ 36 jcklose mkgroup-l-d 0 Jan 28 10:30 lib drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 28 13:48 bin Unless it installs in the X11r6 directory in the /usr directory. Larry suggested reading the release announcement: http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html It discusses this. The fact that you still have an X11R6 directory doesn't mean that the newest version was not installed. And, if you really require further help, then please don't ignore the given advice and read this page: http://cygwin.com/problems.html . cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
Thanks Chris! Christopher Faylor-8 wrote: On Thu, Jan 29, 2009 at 02:08:27PM -0800, jchas5 wrote: Well the reason I am thinking that I am not getting the X11R7 is that the /usr directory is showing X11R6 with a time stamp of my last install: $ ls -ltr total 0 drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 tmp drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 27 16:35 src drwxrwx---+ 5 jcklose mkgroup-l-d 0 Jan 27 16:35 local drwxrwx---+ 9 jcklose mkgroup-l-d 0 Jan 27 16:37 X11R6 drwxrwx---+ 6 jcklose mkgroup-l-d 0 Jan 27 16:38 ssl drwxrwx---+ 3 jcklose mkgroup-l-d 0 Jan 27 16:40 man drwxrwx---+ 4 jcklose mkgroup-l-d 0 Jan 27 16:40 sbin drwxrwx---+ 39 jcklose mkgroup-l-d 0 Jan 27 16:46 include drwxrwx---+ 49 jcklose mkgroup-l-d 0 Jan 28 10:30 share drwxrwx---+ 36 jcklose mkgroup-l-d 0 Jan 28 10:30 lib drwxrwx---+ 2 jcklose mkgroup-l-d 0 Jan 28 13:48 bin Unless it installs in the X11r6 directory in the /usr directory. Larry suggested reading the release announcement: http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html It discusses this. The fact that you still have an X11R6 directory doesn't mean that the newest version was not installed. And, if you really require further help, then please don't ignore the given advice and read this page: http://cygwin.com/problems.html . cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- View this message in context: http://www.nabble.com/How-do-you-upgrade-to-XR117-tp21736592p21737377.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: cygwin and matlab 7.7 problems
jchas5 wrote: I have a pretty interesting problem, I installed a new version of matlab on an ubuntu linux box. Two users in my group are using cygwin on their PC's to connect and export the matlab displays back to their local machines. Both users are having problems with the Matlab gui; both are experiencing anomalies in the Menu functions, where they can not click on menu functions, i.e save, open, new, etc. They are able to run these commands using 'hotkeys', but clicking on the option in the pull down menu is not possible. I can't work out from what you've written here what exactly changed when the problem started. Did you upgrade matlab and it stopped working (when it was working before)? Or you're trying to set this up and it has never worked properly? When I tested it using my OSX, 10.5.5, and export the Matlab gui back to my machine, there are no functionality problems. I can access all menu items normally. Using a windows emulator, I installed cygwin and experienced the same problems. When I installed it I noticed that the installer was the latest release, and the X11 packages are for X11R6. I noticed there was a new release of X in November 2008, X11R7, but I can not find out where or how to install this update to see if this fixes the menu bugs. All the sites recommend just using the cygwin setup.exe and selecting all the X11 packages, but that does not seem to work. That being said I have a few questions... 1. Has anyone else experienced this problem with Matlab 7.6 or 7.7 using cygwin? 2. Does anyone know how to update the X11R6 to X11R7? http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html Just running the cygwin setup.exe program will update to X11R7.4, unless you are taking special steps otherwise. Perhaps you could work through http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html (now with up-to-date screenshots :-) ) and say which step gives you a problem? Also, I'm not sure exactly how you are telling the packages you are finding are X11R6.8? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: How do you upgrade to XR117
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 jchas5 wrote: No I am not looking for something called X11R7, I am simply looking trying to install the X.org packages from the setup.exe Should I see a X11R7 directory in /usr? Please re-read the announcement: http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmCVZwACgkQpiWmPGlmQSMmLwCgkG4Fk4+iT/o6IN3P+z8lEntn fWIAoM4kSf6wm8ovJKJtVrGkLvrIE9Q4 =gWuP -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: cygwin and matlab 7.7 problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon TURNEY wrote: Just running the cygwin setup.exe program will update to X11R7.4, unless you are taking special steps otherwise. Perhaps you could work through http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html (now with up-to-date screenshots :-) ) and say which step gives you a problem? Also, I'm not sure exactly how you are telling the packages you are finding are X11R6.8? Thanks for the updated docs. (Is there no mailing list notification of CVS commits to the webpage? cgf, could their be?) May I suggest that the xinit be listed as recommended (rather than just optional), since it provides the most common ways to launch the server? Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmCV0cACgkQpiWmPGlmQSPVPQCgindm4YHYffcjbXuMXhXpwwb+ dc8AoL9tdAUlY2oCReNwHyk7g8tVWI5W =RG0n -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/