designer-qt4 crashed with SIGSEGV in KLocale::codecForEncoding()

Bug #662005 reported by Andrew Clunis
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kdeutils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Starting designer-qt4 results in an immediate segfault, apparently a null dereference to do with locales.

Occurs on two separate Ubuntu 10.10 x86_64 machines. Always reproducible.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: qt4-designer 4:4.7.0-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Sun Oct 17 00:17:18 2010
ExecutablePath: /usr/bin/designer-qt4
ProcCmdline: designer-qt4
ProcEnviron:
 PATH=(custom, user)
 SHELL=/bin/zsh
 LANG=en_CA.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f154680e6b0 <_ZNK7KLocale16codecForEncodingEv>: mov 0x8(%rdi),%rax
 PC (0x7f154680e6b0) ok
 source "0x8(%rdi)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: qt4-x11
StacktraceTop:
 KLocale::codecForEncoding() const () from /usr/lib/libkdecore.so.5
 ?? () from /usr/lib/liboktetacore.so.4
 Okteta::CharCodec::createCodec(Okteta::CharCoding) () from /usr/lib/liboktetacore.so.4
 ?? () from /usr/lib/liboktetagui.so.4
 Okteta::ByteArrayColumnView::ByteArrayColumnView(QWidget*) () from /usr/lib/liboktetagui.so.4
Title: designer-qt4 crashed with SIGSEGV in KLocale::codecForEncoding()
UserGroups: adm admin audio cdrom dialout dip fax fuse libvirtd lpadmin mythtv netdev plugdev sambashare tape video

Revision history for this message
Andrew Clunis (orospakr) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Are you designing something with an Okteta widget? (KDE's hex editor) It looks to be that the crash is coming from libokteta.

Revision history for this message
Andrew Clunis (orospakr) wrote :

Nope, this happens immediately on start. The Qt Designer UI is never even displayed.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I think I have the same issue as Andrew. After uninstalling Okteta, I am able to run Qt Designer.

Changed in qt4-x11 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Clunis (orospakr) wrote :

Sure enough, I do have Okteta installed. And sure enough, uninstalling it enables Designer to work again.

I should have looked at the backtrace more closely. :)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Shifting over to Okteta's source package.

affects: qt4-x11 (Ubuntu) → kdeutils (Ubuntu)
Revision history for this message
byo (byo-spoon) wrote :

I managed to make designer work again by just disabling okteta's designer plugin:

  cd /usr/lib/kde4/plugins/designer/
  sudo mv oktetadesignerplugin.so oktetadesignerplugin.so_

Revision history for this message
NanoWar (nanowar) wrote :

Removing Okteta solves this for me, too.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This was fixed in KDE 4.6.

Changed in kdeutils (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.