×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

*SOLVED* PHD2 crashes on Help -> About...

  • Posts: 125
  • Karma: 1
  • Thank you received: 10

PHD2 crashes on Help -> About... was created by klaus

Whenever I start phd2 (2.6.6.rev20190325-0ppa1~ubuntu18.04) on my Laptop and press Help, About... it immediately crashes.
klaus@sirius:~$ phd2
(phd2.bin:3455): Gtk-WARNING **: 19:24:07.966: Unable to locate theme engine in module_path: "adwaita",
(phd2.bin:3455): Gtk-WARNING **: 19:24:07.973: Unable to locate theme engine in module_path: "adwaita",
(phd2.bin:3455): Gdk-CRITICAL **: 19:24:08.454: _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed
(phd2.bin:3455): Gdk-CRITICAL **: 19:24:08.454: IA__gdk_gc_new: assertion 'drawable != NULL' failed
(phd2.bin:3455): Gdk-CRITICAL **: 19:24:08.454: IA__gdk_draw_drawable: assertion 'GDK_IS_DRAWABLE (drawable)' failed
(phd2.bin:3455): GLib-GObject-CRITICAL **: 19:24:08.454: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)
klaus@sirius:~$
2 months 3 weeks ago #37240

Please Log in or Create an account to join the conversation.

  • Posts: 230
  • Karma: 1
  • Thank you received: 33

Replied by maxer on topic PHD2 crashes on Help -> About...

Hi,

Looks like there is something missing, maybe you can compare what I have installed, take a look at the picture.

Br
/Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi3, Ubuntu Mate, and many Arduinos..
2 months 3 weeks ago #37243
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 75
  • Thank you received: 18

Replied by DerPit on topic PHD2 crashes on Help -> About...

The warnings, though marked CRITICAL, are unrelated. I also get them (also from other GTK applications), but for me it works without trouble. I'm running a self-compiled version on a different distribution, though.
Can you try to run strace (or a debugger) to see where exactly it's failing?
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+ASI290 mini
2 months 3 weeks ago #37309

Please Log in or Create an account to join the conversation.

  • Posts: 125
  • Karma: 1
  • Thank you received: 10

Replied by klaus on topic PHD2 crashes on Help -> About...

Thanks guys for the suggestions. I added libs and played around with system settings, changing themes and settings which could make a difference. No success. On a second machine phd2 runs fine, but I couln't find what the difference is. Now I fetched the source code and compiled it. Again, no success. Finally, I was able to pin down the problem to some unicode characters in the html code of the About dialog. When I comment out the lines "<td>G\u00FCnter Scholz</td>" and "<td>Iv\u00E1n Zabala</td>", phd2 runs fine. Any ideas?

CS
Klaus
2 months 3 weeks ago #37322

Please Log in or Create an account to join the conversation.

  • Posts: 230
  • Karma: 1
  • Thank you received: 33

Replied by maxer on topic PHD2 crashes on Help -> About...

That was interesting, that would give the name "Günter Scholz" but I don't have that name in the list..
What do you get if you give the command echo -e \\u00FC and echo -e \\u00E1 in the terminal ?

Edit..
Sorry about that, I was a bit too fast and found his name :)
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi3, Ubuntu Mate, and many Arduinos..
Last edit: 2 months 3 weeks ago by maxer. Reason: Missed a name..
2 months 3 weeks ago #37328

Please Log in or Create an account to join the conversation.

  • Posts: 125
  • Karma: 1
  • Thank you received: 10

Replied by klaus on topic PHD2 crashes on Help -> About...

I get

klaus@sirius:~$ echo -e \\u00FC && echo -e \\u00E1
ü
á

Looks good.
2 months 3 weeks ago #37330

Please Log in or Create an account to join the conversation.

  • Posts: 230
  • Karma: 1
  • Thank you received: 33

Replied by maxer on topic PHD2 crashes on Help -> About...

Yes, that look good.
Did some more debugging, I'm not sure this is leading anywhere but I can reproduce the crash by setting a locale.
If I do cat /usr/share/applications/phd2.desktop I can see that Encoding is set to UTF-8, by starting up phd2 like
LANG=en_US phd2 then all menus work exept the "About" that makes a "Segmentation fault (core dumped)".. so I'm not getting any wiser by that..??
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi3, Ubuntu Mate, and many Arduinos..
2 months 3 weeks ago #37332

Please Log in or Create an account to join the conversation.

  • Posts: 125
  • Karma: 1
  • Thank you received: 10

Replied by klaus on topic *SOLVED* PHD2 crashes on Help -> About...

Yeah, good guess. I don't know why but my locale was set to en_DE. Set it to de_DE and restart and phd2 runs fine. Thanks for your help.

CS
Klaus
2 months 3 weeks ago #37349

Please Log in or Create an account to join the conversation.

  • Posts: 230
  • Karma: 1
  • Thank you received: 33

Replied by maxer on topic *SOLVED* PHD2 crashes on Help -> About...

That's great :) and happy to help you!

CS
/Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi3, Ubuntu Mate, and many Arduinos..
2 months 3 weeks ago #37354

Please Log in or Create an account to join the conversation.

Time to create page: 0.935 seconds