Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
On 12/02/2018 09:02, Pierre Labastie wrote: On 11/02/2018 22:31, Bruce Dubbs wrote: Pierre Labastie wrote: On 11/02/2018 17:25, Ken Moffat wrote: On Sun, Feb 11, 2018 at 05:04:50PM +0100, Pierre Labastie wrote: On 11/02/2018 16:24, Bruce Dubbs wrote: Pierre Labastie wrote: Hi, For both seamonkey and thunderbird, system cairo is currently disabled. But it seems recent versions of firefox can handle system cairo. So I'd like to enable system cairo also for new seamonkey (based on firefox 52) and thunderbird. But how can I make sure that it works? Pointer to the mailing list maybe, or direct advice. Thanks for your answers. From memory (it was maybe 2 years ago), firefox crashed frequently - if I opened multiple youtube tabs (hopefully paused, or with sound off!) and then tried moving to new positions. I think there were also other crashes blamed on system cairo. But firefox is more robust these days. Unfortunately, ff59-beta does not compile if system cairo is enabled (one or more of the cargo packages seem to need an older version). As of -O2, our firefox config file has it too, and says optimizing for size is broken in gcc 7, whatever that means... BTW, I have removed the extra CFLAGS, they seem to not be needed anymore. I think it was gcc-6, or perhaps 6.1, where we had to add those. Without them, the firefox UI was severely broken (I think Bruce reported inaccessible menu items). I think I tested without that in gcc-7, but I don't remember the result. ĸen Things are not getting well: I was looking for a translation from French to English, so I opened the Collins French-English dictionary and entered my query. Then the result page began to display, but seamonkey crashed (segmentation fault)! Tried again, same. At the time, my compilation options were no --enable-optimize switch (means the optimization switch for gcc is -Os), and system cairo. I first rebuilt with --enable-optimize=-02, same crash. Then I rebuilt disabling system cairo, and... still the same result. Segfault when displaying a Collins dictionary result... Here is the faulty link: https://www.collinsdictionary.com/dictionary/french-english The page is displayed for less than a second, then the crash happens... Note that I have watched youtube videos for a few hours without any crash! Switching back and forth between different tabs playing different video. So I must be missing something, but what? I am still using SM 2.49.1, but that page works fine for me. I used --enable-optimize="-O2" and commented out system-cairo when I built that. You might want to try running with gdb or strace to get a clue. I am guessing some other system library is the problem. Are you doing this in a 8.2-pre build or a mostly 8.1 system like I'm using? It's on a pre-8.2 LFS/BLFS, that is: SVN-20180209 for LFS, and around the same for BLFS. I have the same config as you, but I had removed the extra CFLAGS. When putting them back, no more crash (on this site at least). Guess what? I've done all my testing with 2.49.1... The directory https://archive.mozilla.org/pub/seamonkey/releases/2.49.2 does not contain a "source" subdirectory, so I assumed that the latest version was 2.49.1, and I did not check the book! What a shame... Looks like the currency script should check that there is a "source" subdirectory. Presently, there are only "update" and "win32" subdirectories, which seem to contain only binary builds. But it's not an excuse for my errors... Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
On 11/02/2018 22:31, Bruce Dubbs wrote: Pierre Labastie wrote: On 11/02/2018 17:25, Ken Moffat wrote: On Sun, Feb 11, 2018 at 05:04:50PM +0100, Pierre Labastie wrote: On 11/02/2018 16:24, Bruce Dubbs wrote: Pierre Labastie wrote: Hi, For both seamonkey and thunderbird, system cairo is currently disabled. But it seems recent versions of firefox can handle system cairo. So I'd like to enable system cairo also for new seamonkey (based on firefox 52) and thunderbird. But how can I make sure that it works? Pointer to the mailing list maybe, or direct advice. Thanks for your answers. From memory (it was maybe 2 years ago), firefox crashed frequently - if I opened multiple youtube tabs (hopefully paused, or with sound off!) and then tried moving to new positions. I think there were also other crashes blamed on system cairo. But firefox is more robust these days. Unfortunately, ff59-beta does not compile if system cairo is enabled (one or more of the cargo packages seem to need an older version). As of -O2, our firefox config file has it too, and says optimizing for size is broken in gcc 7, whatever that means... BTW, I have removed the extra CFLAGS, they seem to not be needed anymore. I think it was gcc-6, or perhaps 6.1, where we had to add those. Without them, the firefox UI was severely broken (I think Bruce reported inaccessible menu items). I think I tested without that in gcc-7, but I don't remember the result. ĸen Things are not getting well: I was looking for a translation from French to English, so I opened the Collins French-English dictionary and entered my query. Then the result page began to display, but seamonkey crashed (segmentation fault)! Tried again, same. At the time, my compilation options were no --enable-optimize switch (means the optimization switch for gcc is -Os), and system cairo. I first rebuilt with --enable-optimize=-02, same crash. Then I rebuilt disabling system cairo, and... still the same result. Segfault when displaying a Collins dictionary result... Here is the faulty link: https://www.collinsdictionary.com/dictionary/french-english The page is displayed for less than a second, then the crash happens... Note that I have watched youtube videos for a few hours without any crash! Switching back and forth between different tabs playing different video. So I must be missing something, but what? I am still using SM 2.49.1, but that page works fine for me. I used --enable-optimize="-O2" and commented out system-cairo when I built that. You might want to try running with gdb or strace to get a clue. I am guessing some other system library is the problem. Are you doing this in a 8.2-pre build or a mostly 8.1 system like I'm using? It's on a pre-8.2 LFS/BLFS, that is: SVN-20180209 for LFS, and around the same for BLFS. I have the same config as you, but I had removed the extra CFLAGS. When putting them back, no more crash (on this site at least). Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
On 11/02/2018 17:25, Ken Moffat wrote: On Sun, Feb 11, 2018 at 05:04:50PM +0100, Pierre Labastie wrote: On 11/02/2018 16:24, Bruce Dubbs wrote: Pierre Labastie wrote: Hi, For both seamonkey and thunderbird, system cairo is currently disabled. But it seems recent versions of firefox can handle system cairo. So I'd like to enable system cairo also for new seamonkey (based on firefox 52) and thunderbird. But how can I make sure that it works? Pointer to the mailing list maybe, or direct advice. Thanks for your answers. From memory (it was maybe 2 years ago), firefox crashed frequently - if I opened multiple youtube tabs (hopefully paused, or with sound off!) and then tried moving to new positions. I think there were also other crashes blamed on system cairo. But firefox is more robust these days. Unfortunately, ff59-beta does not compile if system cairo is enabled (one or more of the cargo packages seem to need an older version). As of -O2, our firefox config file has it too, and says optimizing for size is broken in gcc 7, whatever that means... BTW, I have removed the extra CFLAGS, they seem to not be needed anymore. I think it was gcc-6, or perhaps 6.1, where we had to add those. Without them, the firefox UI was severely broken (I think Bruce reported inaccessible menu items). I think I tested without that in gcc-7, but I don't remember the result. ĸen Things are not getting well: I was looking for a translation from French to English, so I opened the Collins French-English dictionary and entered my query. Then the result page began to display, but seamonkey crashed (segmentation fault)! Tried again, same. At the time, my compilation options were no --enable-optimize switch (means the optimization switch for gcc is -Os), and system cairo. I first rebuilt with --enable-optimize=-02, same crash. Then I rebuilt disabling system cairo, and... still the same result. Segfault when displaying a Collins dictionary result... Here is the faulty link: https://www.collinsdictionary.com/dictionary/french-english The page is displayed for less than a second, then the crash happens... Note that I have watched youtube videos for a few hours without any crash! Switching back and forth between different tabs playing different video. So I must be missing something, but what? Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
On Sun, Feb 11, 2018 at 05:04:50PM +0100, Pierre Labastie wrote: > On 11/02/2018 16:24, Bruce Dubbs wrote: > > Pierre Labastie wrote: > > > Hi, > > > > > > For both seamonkey and thunderbird, system cairo is currently > > > disabled. But it > > > seems recent versions of firefox can handle system cairo. So I'd like to > > > enable system cairo also for new seamonkey (based on firefox 52) and > > > thunderbird. But how can I make sure that it works? Pointer to the > > > mailing > > > list maybe, or direct advice. Thanks for your answers. From memory (it was maybe 2 years ago), firefox crashed frequently - if I opened multiple youtube tabs (hopefully paused, or with sound off!) and then tried moving to new positions. I think there were also other crashes blamed on system cairo. But firefox is more robust these days. Unfortunately, ff59-beta does not compile if system cairo is enabled (one or more of the cargo packages seem to need an older version). > As of -O2, our firefox config file has it too, and says optimizing for size > is broken in gcc 7, whatever that means... BTW, I have removed the extra > CFLAGS, they seem to not be needed anymore. > I think it was gcc-6, or perhaps 6.1, where we had to add those. Without them, the firefox UI was severely broken (I think Bruce reported inaccessible menu items). I think I tested without that in gcc-7, but I don't remember the result. ĸen -- Truth, in front of her huge walk-in wardrobe, selected black leather boots with stiletto heels for such a barefaced truth. - Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
On 11/02/2018 16:24, Bruce Dubbs wrote: Pierre Labastie wrote: Hi, For both seamonkey and thunderbird, system cairo is currently disabled. But it seems recent versions of firefox can handle system cairo. So I'd like to enable system cairo also for new seamonkey (based on firefox 52) and thunderbird. But how can I make sure that it works? Pointer to the mailing list maybe, or direct advice. Thanks for your answers. IIRC, we disabled cairo to be consistent with firefox. I do not recall the problematic pages, but I think it may have been menu appearance on all pages. Looking at my logs, the last time I enabled cairo in SM was seamonkey-2.35. I didn't build every version, but it was disabled in seamonkey-2.38. You might want to look at the optimize setting also. Do we still need -O2? Also, with only required and recommended dependencies (that is only alsa and no pulseaudio) of seamonkey, I can see html5 video (youtube), but I get no sound, although "speaker-test" and "aplay /usr/share/sounds/Front_Left.wav" both run OK. Maybe the config file is missing --enable-alsa... But maybe we should switch to require pulseaudio, as on the firefox page. Thoughts? I had pulse disabled in seamonkey-2.40, but enabled after that. There definately is an option --enable-alsa in SM, so you might want to try that. I added --enable-alsa, and I got sound. I think I'll try pulseaudio now. Large parts of the seamonkey code are based upon firefox-52.0.4-ESR, and Firefox upstream recommend pulseaudio. As of -O2, our firefox config file has it too, and says optimizing for size is broken in gcc 7, whatever that means... BTW, I have removed the extra CFLAGS, they seem to not be needed anymore. I haven't seen any crash yet, so I think system cairo is OK. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Seeking advice for testing seamonkey and thunderbird
Pierre Labastie wrote: Hi, For both seamonkey and thunderbird, system cairo is currently disabled. But it seems recent versions of firefox can handle system cairo. So I'd like to enable system cairo also for new seamonkey (based on firefox 52) and thunderbird. But how can I make sure that it works? Pointer to the mailing list maybe, or direct advice. Thanks for your answers. IIRC, we disabled cairo to be consistent with firefox. I do not recall the problematic pages, but I think it may have been menu appearance on all pages. Looking at my logs, the last time I enabled cairo in SM was seamonkey-2.35. I didn't build every version, but it was disabled in seamonkey-2.38. You might want to look at the optimize setting also. Do we still need -O2? Also, with only required and recommended dependencies (that is only alsa and no pulseaudio) of seamonkey, I can see html5 video (youtube), but I get no sound, although "speaker-test" and "aplay /usr/share/sounds/Front_Left.wav" both run OK. Maybe the config file is missing --enable-alsa... But maybe we should switch to require pulseaudio, as on the firefox page. Thoughts? I had pulse disabled in seamonkey-2.40, but enabled after that. There definately is an option --enable-alsa in SM, so you might want to try that. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page