Wings 3D Development Forum
[not bug] Segmentation fault triggered by material color picker... - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [not bug] Segmentation fault triggered by material color picker... (/showthread.php?tid=2203)



[not bug] Segmentation fault triggered by material color picker... - kugelfang - 10-27-2016

Just installed the latest Wings3d 2.1 Linux version (using the Ubuntu build). This is the same bug as reported here: http://www.wings3d.com/forum/showthread.php?tid=2132 .

However, this time I was watching the log window to see if anything would show up there. No, the crash is too sudden.

However, if I start Wings from the terminal, when Wings crashes a segmentation fault is reported. So it's a memory management issue which is triggered when closing the material properties window after using the choose color dialogue. As a matter of fact, it occurs if the color was selected with the mouse or the eye dropper tool. I can input RGB values and it does not trigger the crash. Is the color selector widget specific to GPU shaders by any chance? The only other thing reported in the terminal is that I'm using GPU shaders.

--jeff

PS. was able to trigger another error message. Here's what's in my terminal:

Code:
Using GPU shaders.

(Erlang:10674): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
Segmentation fault



RE: Segmentation fault triggered by material color picker... - dgud - 10-27-2016

Sigh, that just don't happen for me so it's hard for me to debug the issue.

Some questions.

Which OS and version are you using?

Are you in linux native color selector when it happens?
Sounds like that since wings don't have the eye-dropper-tool.

Are you also using the wings builtin color selector?
i.e. is 'Preferences/User Interface/Use the OS native color' checkbox ticked?
Otherwise you can untick that checkbox as a workaround.

A core dump would be nice, i.e.
in terminal run:
ulimit -c unlimited

before starting wings in the terminal.

A core file should be produced when it crashes, zip it and if you can email that or put it in a public dropbox or something it may help.


RE: Segmentation fault triggered by material color picker... - kugelfang - 11-01-2016

Yeah, it's almost impossible to debug something you can't replicate.

I'm using Linux Mint 17.3 Rosa Mate. I update the OS weekly.

The crash occurs in both in both OS native color dialog or without. I see an eye-dropper tool in both situations... though I generally don't use it.

I've sent you an email with a link to the core-dump.

--jeff


RE: Segmentation fault triggered by material color picker... - dgud - 11-03-2016

Thank you for the core file but it didn't give me any information.

I think this is an gtk version issue between mint and ubuntu, so I don't know how to fix it when it
doesn't happen for me.


RE: [standby] Segmentation fault triggered by material color picker... - kugelfang - 11-15-2016

Thanks for looking into this dgud. I'm of the same opinion at this point. This is not a Wings problem. It's a OS issue.

--jeff