[MacPorts] #28970: Gwyddion 2.22 unable to save or open more than once
#28970: Gwyddion 2.22 unable to save or open more than once ---------------------------------------+------------------------------------ Reporter: geekymcnerd@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gwyddion, saving, opening | Port: ---------------------------------------+------------------------------------ Gwyddion, once open, will only allow for one attempt to open or save a file. Once the first attempt has been tried (successful or not) the next attempt will result in a blank loading/opening dialog screen. The program does not freeze but it shows no files to open and will not allow for saving. The cursors also becomes an hour glass with in the loading/opening screen. The two images attached show the before and after attempts to open files. There is also an error that occurs in the terminal when attempting to load or save, which is: (gwyddion:49914): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed One last note, before posting this ticket, I tried to downgrade to versions 2.21 and 2.20. Neither of these versions fixed the issue. I've looked around on google and have not found a fix that has worked as of yet. Any help or guidance would be greatly appreciated. -- Ticket URL: <https://trac.macports.org/ticket/28970> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Changes (by jmr@…): * keywords: gwyddion, saving, opening => * cc: yeti@… (added) * port: => gwyddion * owner: macports-tickets@… => rowue@… Comment: Please remember to fill in the Port field and cc the maintainers. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by yeti@…): I suspect there is something fishy in your Gtk+ installation/configuration as if this was a Gwyddion-specific problem I would have been reported by others since version 2.20. File loading in Gwyddion has not changed substantially for a long time so all recent versions will probably behave the same. Could you please try to {{{ export G_DEBUG=fatal-criticals gwyddion }}} which will make it abort on the Critical message and once it aborts, get a stack trace? -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Changes (by rowue@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): Three short questions: * Which version of OS X are you using (10.4, 10.5, 10.6)? * Which variant of gwyddion are you using (if any) (no_x11)? * Are you using OS Xs native X-Server or the one provided with macports? Kind regards, rowue -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by geekymcnerd@…): Replying to [comment:3 yeti@…]:
I suspect there is something fishy in your Gtk+ installation/configuration as if this was a Gwyddion-specific problem I would have been reported by others since version 2.20. File loading in Gwyddion has not changed substantially for a long time so all recent versions will probably behave the same.
Could you please try to
{{{ export G_DEBUG=fatal-criticals gwyddion }}}
which will make it abort on the Critical message and once it aborts, get a stack trace?
The stack trace is attached to the ticket now. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by geekymcnerd@…): Replying to [comment:5 rowue@…]:
Three short questions:
* Which version of OS X are you using (10.4, 10.5, 10.6)? * Which variant of gwyddion are you using (if any) (no_x11)? * Are you using OS Xs native X-Server or the one provided with macports?
Kind regards,
rowue
I'm running OS X 10.6.7. By variant do you mean version? If so, I'm currently using version 2.22. I believe I'm using the X-server that is native to OS X. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): Replying to [comment:7 geekymcnerd@…]:
Replying to [comment:5 rowue@…]:
Three short questions:
[...]
I'm running OS X 10.6.7.
O.K. - let's see how we can help you - I'm running 10.4 and be able to check 10.5 - both 32 bit.
By variant do you mean version? If so, I'm currently using version 2.22.
No, you can select "variants" during configuration and installation. try "port variants gwyddion" and you see the avail variants. If you try to install gwyddion with "no_x11" then you should add this to "INSTALL_PREFIX/etc/macports/variants.conf" where INSTALL_PREFIX means the path to your macports installation (usually "/opt/local/etc").
I believe I'm using the X-server that is native to OS X.
It might be better to change to the "macports" X-Server - do "port search xorg" (and install the packages) - the supplied X-Server is often a little bit out of date (perhaps you will find comments in the faq) Kind regards, rowue -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by yeti@…): Replying to [comment:6 geekymcnerd@…]:
The stack trace is attached to the ticket now.
This is interesting; it crashes directly in Gwyddion code. I cannot find anything suspicious there tough, even using valgrind on Linux so something in the chooser behaves in an unexpected way on OS X. Rolf, do you know how to get a stack trace with line numbers? -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): Replying to [comment:9 yeti@…]:
Replying to [comment:6 geekymcnerd@…]:
The stack trace is attached to the ticket now.
This is interesting; it crashes directly in Gwyddion code. I cannot find anything suspicious there tough, even using valgrind on Linux so something in the chooser behaves in an unexpected way on OS X.
Rolf, do you know how to get a stack trace with line numbers?
No, sorry - for OS X > 10.5 there should be a programm named stackshot which might help on this - but for general purpose I've to take a close look (and ask some guys). Which would be very simple is to add debug-information (flag) to the gcc calls. It might be interesting that this problem didn't occur under 10.4 (checked 10 Min ago, omicron scala, gwyddion). I can also check 10.5 but I suspect gwyddion is working there too. (Both 32 Bit) geeky: * Did you install the XCode-Tools as mentioned on the [http://www.macports.org/install.php Install Page]? * Try xorg-xserver Yeti: if you look at #28666 they have also some faults with glib2 - maybe we can find some hints there kr, Rolf -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by geekymcnerd@…): When I look at variants for gwyddion I get: "gwyddion has the variants: no_x11: Build gwyddion with quartz gl support universal: Build for multiple architectures" I've installed xorg-server through macports but problem still occurs. I've also installed Xcode-Tools and it still occurs. I know that a friend has a MacBook (10.6) that gwyddion does not have this issue with. Thank you again for the help. Please let me know if there is more that I can try. Thank you! -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): Replying to [comment:11 geekymcnerd@…]:
When I look at variants for gwyddion I get:
"gwyddion has the variants: no_x11: Build gwyddion with quartz gl support universal: Build for multiple architectures"
I've installed xorg-server through macports but problem still occurs.
I've also installed Xcode-Tools and it still occurs.
I know that a friend has a MacBook (10.6) that gwyddion does not have this issue with.
Very interesting ;) * Is your friend also running 10.6.7 or another version? * Can you (and your friend) do "port installed" and send us the output (library problems)? * Might (you both) also send the output of "otool -L /opt/local/bin/gwyddion"?
Thank you again for the help. Please let me know if there is more that I
can try. Thank you! Kind regards, Rolf -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by geekymcnerd@…): I've attached the two outputs from my computer. I'll follow with my friends in a day or so, he is not in town at the moment. If I get into contact with him before he gets back, I'll attach them. I've also remembered there is another shared mac in my office. I will try gwyddion on that one and see if the issue is there as well. If not, I will upload the same outputs from that computer. Thank you! -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by yeti@…): Folowing the hypothesis that this is actually a bug in Gwyddion (like asserting something that does not hold on your system but works elsewhere), could you compile it from source code with {{{export CFLAGS="-O0 -g"}}} executed before running ./configure to get line numbers in the stack trace? If you do so run ./configure with --prefix pointing to a scratch directory so that the manually compiled version will not get mixed with anything. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): Replying to [comment:14 yeti@…]:
Folowing the hypothesis that this is actually a bug in Gwyddion (like asserting something that does not hold on your system but works elsewhere), could you compile it from source code with
{{{export CFLAGS="-O0 -g"}}}
executed before running ./configure to get line numbers in the stack trace?
If you do so run ./configure with --prefix pointing to a scratch directory so that the manually compiled version will not get mixed with anything.
I think this can simply be done in the portfile - until I update to 2.23 (2.24) nothing worse should be happen ... I've also asked a friend who has upgraded to 10.6.7 this evening for help/test - perhaps we will know more on this tomorrow evening. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by peter@…): I cannot confirm this. I freshly installed gwyddion after upgrading to 10.6.7 today and I am able to use the File -> Open dialog more than once successfully. Files are listed, too. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by peter@…): XCode Version 3.2.6 The output from 'port installed' can be found here: http://pastebin.com/E487KPBn -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): I've updated gwyddion to 2.24 today. I've also added a variant '''+debug''' which adds the CFLAGS mentioned by yeti to configure. You should now be able to produce the right output. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by geekymcnerd@…): I'm very sorry it's taken me this long to get back to you all. After finding that gwyddion worked fine on two other computers running 10.6, I decided to see if fully removing MacPorts would correct the issue. Once that was done, I reinstalled gwyddion but the problem continued. After asking a professor here if he had any ideas, he decided to remove the .gwyddion and other folders like it. This managed to correct the problem. It seems that gwyddion was looking for a file in one of these directories and the file was corrupt, causing issues with the program. Please let me know if I was not clear enough in my explanation. Thank you all again for the help! -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): O.K. - Since this seems not be a macports specific issue, I would like to close the ticket. O.K. by you, Yeti and geekymcnerd? Kind regards, Rolf -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by yeti@…): I wonder what was the bad file but that information is probably lost. Also if `other folders like it' included Gtk+ folders it could be anything... So, OK. -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once -----------------------------------+---------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gwyddion -----------------------------------+---------------------------------------- Comment(by rowue@…): I'll keep the "debug" variant, so we might be able to see more if this happens the next time. cheers, Rolf -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28970: Gwyddion 2.22 unable to save or open more than once ------------------------------------+--------------------------------------- Reporter: geekymcnerd@… | Owner: rowue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: wontfix | Keywords: Port: gwyddion | ------------------------------------+--------------------------------------- Changes (by rowue@…): * status: assigned => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/28970#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts