krename crash if i want rename files again.

Bug #107552 reported by superheld
12
Affects Status Importance Assigned to Milestone
krename (Ubuntu)
Fix Released
Low
Rich Johnson

Bug Description

i start krename by click the right mousebutton -> action -> rename with krename

then, rename the files. after ending, you had different options with the 2nd button from left. the first, restart krename again, then rename files again (this is the crash-option) a 3rd, i cant use, and last rename all files again (this is working fine).

Revision history for this message
superheld (oingman) wrote :

ähm .. the last option working most, not ever ;-)

Revision history for this message
Daniel Hahler (blueyed) wrote :
Download full text (5.5 KiB)

I can confirm this. However, here any option from "Rename more..." in the "Progress" window causes a crash.

To reproduce:
1. Right click a file in Konqueror
2. Choose "Actions > Rename with KRename"
3. Just click "Finish".
The Progress window will open and the renaming will fail, because the file exists already (the name was not changed)
4. Click "Rename More..." and chose "Restart KRename"
5. Crash

I'm using krename 3.0.13-0ubuntu1 on Ubuntu Feisty.

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1233201456 (LWP 31122)]
[KCrash handler]
#6 0xb7120e78 in QComboBox::currentText () from /usr/lib/libqt-mt.so.3
#7 0x08070b24 in KRenameImpl::updatePreview (this=0x818c448)
    at /build/buildd/krename-3.0.13/./krename/kmyhistorycombo.h:71
#8 0x080aac49 in KRenameImpl::qt_invoke (this=0x818c448, _id=26,
    _o=0xbf91677c) at krenameimpl.moc.cpp:242
#9 0xb707a88b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0xb707b330 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0x080ada0d in Plugin::previewChanged (this=0x82f5d60) at plugin.moc.cpp:86
#12 0x080a0601 in EncodingPlugin::drawInterface (this=0x82f5d60, w=0x83e0418,
    l=0x83e0660)
    at /build/buildd/krename-3.0.13/./krename/encodingplugin.cpp:92
#13 0x080682a0 in KRenameImpl::setupTab1 (this=0x818c448)
    at /build/buildd/krename-3.0.13/./krename/krenameimpl.cpp:904
#14 0x0806c9ff in KRenameImpl::setupPage3 (this=0x818c448)
    at /build/buildd/krename-3.0.13/./krename/krenameimpl.cpp:488
#15 0x0806eb02 in KRenameImpl::setupPages (this=0x818c448)
    at /build/buildd/krename-3.0.13/./krename/krenameimpl.cpp:326
#16 0x08072013 in KRenameImpl::setup (this=0x818c448, wizardmode=true)
    at /build/buildd/krename-3.0.13/./krename/krenameimpl.cpp:120
#17 0x0808563d in wizard (this=0x81b5630, impl=0x0, r=
      {x1 = 0, y1 = 0, x2 = -1, y2 = -1}, parent=0x0, name=0x0)
    at /build/buildd/krename-3.0.13/./krename/wizard.cpp:54
#18 0x08066d43 in KRenameImpl::launch (rect=
      {x1 = 0, y1 = 0, x2 = -1, y2 = -1}, list=@0xbf9169f8, impl=0x0,
    loadprofile=true)
    at /build/buildd/krename-3.0.13/./krename/krenameimpl.cpp:1671
#19 0x08097b02 in ProgressDialog::restart (this=0x86c5520)
    at /build/buildd/krename-3.0.13/./krename/ProgressDialog.cpp:223
#20 0x080abd7e in ProgressDialog::qt_invoke (this=0x86c5520, _id=48,
    _o=0xbf916a98) at ProgressDialog.moc.cpp:102
#21 0xb707a88b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb7406ae0 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#23 0xb709a81e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#24 0xb71a0f1b in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#25 0xb79a434e in KPopupMenu::mouseReleaseEvent (this=0x857b0e0, e=0xbf916fe0)
    at /build/buildd/kdelibs-3.5.6/./kdeui/kpopupmenu.cpp:508
#26 0xb70b165d in QWidget::event () from /usr/lib/libqt-mt.so.3
#27 0xb7011a60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#28 0xb7013c1e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#29 0xb77d5ce2 in KApplication::notify (this=0xbf918238, receiver=0x857b0e0,
    eve...

Read more...

Revision history for this message
Daniel Hahler (blueyed) wrote :

Confirmed with 3.0.13-0ubuntu1 on Ubuntu Feisty

Revision history for this message
Daniel Hahler (blueyed) wrote : Upstream 3.0.14 fixed this crash

Tested upstream source version:
 - 3.0.14 did not crash
 - 3.0.13 did crash

So this would be fixed by packaging the new upstream release.

Rich Johnson (nixternal)
Changed in krename:
assignee: nobody → nixternal
importance: Undecided → Low
Revision history for this message
Rich Johnson (nixternal) wrote :

Here is the fix!

Changed in krename:
status: Confirmed → Fix Committed
Revision history for this message
Rich Johnson (nixternal) wrote :

Updated debdiff, USE THIS ONE!

Commented out updatePreview due to it causing this crash when processing all files again with plugin previews.

Revision history for this message
Louis (louisgag) wrote :

Save problem here, using 3.0.13.. I will patiently wait for the official update!

Revision history for this message
Rich Johnson (nixternal) wrote :

Krename 3.0.14 uploaded to repos for 7.10. Will eventually be backported.

Changed in krename:
status: Fix Committed → Fix Released
Revision history for this message
Bruce Miller (brm0423) wrote :

Using Krename 3.0.13 under Feisty:

From Konsole:
1. krename 8 &
2. rename files; click Finish
3. attempt to reprocess same files
4. crash

X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode: 149
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 171
  Major opcode: 149
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/kbarcode-label not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
KFileMetaInfo: WARNING: KOfficePlugin was created for application/vnd.oasis.opendocument.image but doesn't call addMimeTypeInfo for it!
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.global not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/vnd.sun.xml.writer.math not found
KFileMetaInfo: WARNING: KOfficePlugin was created for application/vnd.oasis.opendocument.image but doesn't call addMimeTypeInfo for it!
KFileMetaInfo: WARNING: error loading the plugin from kfile_k3b.desktop
QComboBox::setCurrentItem: (unnamed) Index 15 out of range
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
QComboBox::setCurrentItem: (unnamed) Index 15 out of range
KCrash: Application 'krename' crashing...

[1]+ Exit 253 krename *

Revision history for this message
Reinhard Tartler (siretart) wrote :

I'm unsubscribing the SRU team from this bug because of:

- no suitable debdiff for feisty-proposed is found in this bug
- no bugtask is opened for feisty.

If someone wants to work on getting a fix in feisty, please do the 2 points above.

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.