Re: Bug found via FXGLViewer::pick()
David Vereb <[email protected]>
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you for the links, Roland. I'm familiar with core dumps, but I'm a bit less familiar with third party libraries in my core dumps. I'm not used to the bug being *outside* of my code. ;) I started troubleshooting from the closest code to fox which appeared to be the mesa library. It worked on Mesa 21.2.6, but did not on Mesa 22.2.5. Fortunately I was able to see another available version in the ubuntu repos, 22.0.1-1ubuntu2. I've since installed these (and dependencies) with the command below and the bug has gone away. I assume this means the bug is somewhere in the mesa library updates between those two versions, which I will continue to investigate. sudo apt-get install -f libgl1-mesa-dev=22.0.1-1ubuntu2 libgl1-mesa-dri=22.0.1-1ubuntu2 libglapi-mesa=22.0.1-1ubuntu2 libegl-mesa0=22.0.1-1ubuntu2 libgbm1=22.0.1-1ubuntu2 libglx-mesa0=22.0.1-1ubuntu2 Thanks, Dave On 2/13/23 09:36, Roland Hughes via Foxgui-users wrote: > CAUTION: This email originated from outside your organization. > Exercise caution when opening attachments or clicking links, > especially from unknown senders. > > Finding your core dumps > > https://www.logikalsolutions.com/wordpress/information-technology/core-dumps/ > > > Using your core dumps > > https://www.logikalsolutions.com/wordpress/information-technology/core-dumps-2/ > > > > On 2/13/2023 8:26 AM, David Vereb wrote: >> >> Good morning, >> >> Thank you for looking at it. After further testing I can get it to >> crash with a PC with an NVIDIA GT710. On my computer with just the >> onboard graphics it just moves along without crashing, but, as you >> said, doesn't work properly and doesn't generate a core dump. In any >> event, it's definitely something in a recent update as it used to >> work just fine on the same PC. I've since discovered debuginfod and >> will try my best to head into the call stack. I will email back if I >> find a solution. >> >> Also, I didn't realize just how much of our software relies on pick() >> until it all became inaccessible! :) >> >> Thanks again, >> >> Dave >> >> >> On 2/13/23 08:52, [email protected] wrote: >>> CAUTION: This email originated from outside your organization. >>> Exercise caution when opening attachments or clicking links, >>> especially from unknown senders. >>> >>> On 2023-02-10 16:05, David Vereb wrote: >>>> Hello everyone, >>>> >>>> I've encountered a bug after updating my Ubuntu 22.04 installation. >>>> Our code works on Ubuntu kernel 5.15.0-56-generic, but not on >>>> 5.15.0-58-generic or 5.15.0-60-generic. I understand that this is >>>> likely not a bug in Fox Toolkit, but I don't know how to further >>>> investigate and was hoping someone here could provide assistance (or >>>> at least lead me in the right direction). >>>> >>>> Please see https://github.com/dvereb/fox-pick-bug for a minimum viable >>>> example. I've included a backtrace where my program segfaults in the >>>> README, and it's simple enough to install & run via make && ./a.out. >>>> Note that I'm on fox-1.6.57-1build1 in the Ubuntu repository. >>>> >>>> If there's anything else you need me to look up & respond back with, >>>> please let me know. I've tried this on multiple machines with the >>>> same hardware: Intel(R) Core(TM) i3-10100 CPU with onboard graphics. >>> >>> I have older i5-8500 processor running integrated GPU and am seeing >>> FXGLViewer's pick() not working. >>> >>> With NVIDIA GTX3060 the pick() works fine. [This is with latest FOX >>> version, incidentally)]. >>> >>> So it appears to be OpenGL driver issue. Not sure what it would take >>> to fix it, maybe dive into the Mesa graphics code and see where it >>> goes off the rails. >>> >>> I am not getting a core dump, btw. Just pick not working. >>> >>> >>> -- JVZ >> -- >> >> David Vereb >> /Lead Software Developer/ >> Office: 814.464.1525 >> 1851 Rudolph Avenue >> Erie, PA 16502 >> www.eriestrayer.com <http://www.eriestrayer.com/> >> Erie Strayer Company Logo & Social Media Icons >> >> >> _______________________________________________ >> Foxgui-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/foxgui-users > -- David Vereb /Lead Software Developer/ Office: 814.464.1525 1851 Rudolph Avenue Erie, PA 16502 www.eriestrayer.com <http://www.eriestrayer.com/> Erie Strayer Company Logo & Social Media Icons _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users