# PVRTexToolGUI Linux Segfault

**URL:** <https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [November 12, 2012, 4:27am UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562 "2012-11-12T04:27:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mistaed](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@mistaed](https://forums.imgtec.com/u/mistaed)\
**Post date:** [November 12, 2012, 4:27am UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/1 "2012-11-12T04:27:51Z")

</div>

Hi,

  

I’ve recently downloaded the latest PowerVR SDK and tried to run the PVRTexToolGUI using the Linux\_x86\_64 build on Ubuntu 12.04 LTS 64-bit. For some reason it just segfaults at startup:

/opt/Imagination/PowerVR/GraphicsSDK/PVRTexTool/GUI/Linux\_x86\_64$ ./PVRTexToolGUI&nbsp;

Object::connect: No such slot QDialog::slotUpdateDims() in /import/phbuildpc210/dev/buildxl/buildroot/sdk/REL\_3.0/UtilitiesSrc/PVRTexTool/GUI/Source/GUI/NewTextureDialog.cpp:24

Object::connect: &nbsp;(sender name: &nbsp; ‘Spin\_Width’)

Object::connect: &nbsp;(receiver name: ‘Dialog’)

Segmentation fault (core dumped)[/CODE]

I tried other GUI utilities like Linux\_x86\_64/PVRGeoPODGUI and they seem to run fine so I’m guessing it’s something to do with the PVRTexTool build?

  

Thanks
`</span>/opt/Imagination/PowerVR/GraphicsSDK/PVRTexTool/GUI/Linux_x86_64$ ./PVRTexToolGUI&nbsp;</div><div>Object::connect: No such slot QDialog::slotUpdateDims() in /import/phbuildpc210/dev/buildxl/buildroot/sdk/REL_3.0/UtilitiesSrc/PVRTexTool/GUI/Source/GUI/NewTextureDialog.cpp:24</div><div>Object::connect: &nbsp;(sender name: &nbsp; 'Spin_Width')</div><div>Object::connect: &nbsp;(receiver name: 'Dialog')</div><div>Segmentation fault (core dumped)<span style=": rgb251, 251, 253; color: rgb68, 68, 68; ">`
I tried other GUI utilities like Linux\_x86\_64/PVRGeoPODGUI and they seem to run fine so I’m guessing it’s something to do with the PVRTexTool build?

  

Thanks

---

<div class="post-metadata">

**Author:** ![arron](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@arron](https://forums.imgtec.com/u/arron)\
**Post date:** [November 12, 2012, 8:30am UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/2 "2012-11-12T08:30:50Z")

</div>

Hi,

  

Unfortunately we have some issues running on later versions of Ubuntu which means some of our utilities do not function correctly unless they are ran in superuser mode.

  

try:

Code:

$ sudo ./PVRTexToolGUI

  

We have found the problem causing this issue (incompatibles between runtime libraries) and we have developed a fix which should be going live hopefully within the week.

  

For now though, you should be able to workaround the issue by running as superuser. If you get a message such as 'Connection refused', try launching the application again. This is also an problem which has been solved.

  

Hope this helps.

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [November 14, 2012, 3:14pm UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/3 "2012-11-14T15:14:50Z")

</div>

Hello&nbsp;

  

even in sudo mode , i ve got&nbsp;

“QLocalSocket::connectToServer: Connection refused”&nbsp;

  

maaybe the next release will fix it &nbsp;(christmass present)?

  

Kind regards

david G

---

<div class="post-metadata">

**Author:** ![arron](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@arron](https://forums.imgtec.com/u/arron)\
**Post date:** [November 14, 2012, 4:14pm UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/4 "2012-11-14T16:14:40Z")

</div>

Hi David.

The ‘Connection Refused’ problem has been fixed, but try running the application again after you see ‘connection refused’. This message is only printed because shared memory associated with the previous instance (which crashed with a SEGFAULT) is not properly freed. The application should run the second time because the memory is free’d by the previous instance.

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [November 14, 2012, 4:28pm UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/5 "2012-11-14T16:28:30Z")

</div>

yeah , i have my tools back on linux hiiayaaaaaaaaaaaaa

---

<div class="post-metadata">

**Author:** ![mistaed](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@mistaed](https://forums.imgtec.com/u/mistaed)\
**Post date:** [December 19, 2012, 6:22am UTC](https://forums.imgtec.com/t/pvrtextoolgui-linux-segfault/1562/6 "2012-12-19T06:22:49Z")

</div>

Thank you for the tip I didn’t try sudo, it works great now.
