[kate] [Bug 390288] KIO/KDirModel: Kate crash while trying to save a new file to a Samba share

2018-05-12 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=390288

--- Comment #3 from Tony  ---
Created attachment 112601
  --> https://bugs.kde.org/attachment.cgi?id=112601&action=edit
New crash information added by DrKonqi

kwrite (18.04.1) using Qt 5.10.0

- What I was doing when the application crashed:

I was trying to access a file from a SAMBA share located on my NAS. KWrite
crashed when I clicked on the NAS icon. The shares were not listed.

-- Backtrace (Reduced):
#6  KDirModelNode::rowNumber (this=0x0) at
/workspace/build/src/widgets/kdirmodel.cpp:168
#7  KDirModelPrivate::indexForNode (this=0x27f13e0, node=0x0, rowNumber=-1) at
/workspace/build/src/widgets/kdirmodel.cpp:349
#8  0x7fa413a15f7a in KDirModelPrivate::_k_slotNewItems (this=, directoryUrl=..., items=...) at
/workspace/build/src/widgets/kdirmodel.cpp:446
#9  0x7fa4154ca7b6 in QtPrivate::QSlotObjectBase::call (a=0x7ffe2c167150,
r=0x1fe0230, this=) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:378
[...]
#12 0x7fa4136a6e7a in KCoreDirLister::itemsAdded (this=,
_t1=..., _t2=...) at
/workspace/build/obj-x86_64-linux-gnu/src/core/moc_kcoredirlister.cpp:476

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 390288] KIO/KDirModel: Kate crash while trying to save a new file to a Samba share

2018-05-12 Thread Tony
https://bugs.kde.org/show_bug.cgi?id=390288

Tony  changed:

   What|Removed |Added

 CC||BhCzF3I8evL0YklridK0@proton
   ||mail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 390288] KIO/KDirModel: Kate crash while trying to save a new file to a Samba share

2018-04-05 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=390288

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 390288] KIO/KDirModel: Kate crash while trying to save a new file to a Samba share

2018-02-20 Thread Valdo
https://bugs.kde.org/show_bug.cgi?id=390288

--- Comment #2 from Valdo  ---
Hi Dominik,

yes I can reproduce this issue systematically.

A/ Test case avoiding the bug:

I can create an empty text file in the remote Samba share with Dolphin. Then
open that empty file with Kate, feed it with some text and save it: no issue.

B/ Test case hitting the bug:

Launch Kate, type in some text, then click Save, navigate to the "Network"
shortcut, then double-clicking "Samba shares": Kate crashes in less than a
second.

By reading the first part of bug #190535, I had the idea to launch Kate from
Konsole. As soon as I click Save (to select a destination folder), this
information displays in Konsole:

kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: KSambaShare: Could not find smb.conf!

Each time I navigate to a new local subfolder, I get this information:

kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""

Then clicking the "Network" shortcut to the left of the Save window:

kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""

As soon as I double-click "Samba shares" to the right, I get this in Konsole:

kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.widgets: Items emitted in directory QUrl("smb://") but that directory
isn't in KDirModel! Root directory: QUrl("smb:///")
Item: QUrl("smb://workgroup")
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kate path = /usr/bin pid = 1779
KCrash: Arguments: /usr/bin/kate 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
sock_file=/run/user/1000/kdeinit5__0

[2]+  ArrĂȘtĂ©kate
$

Remember my Samba share is hosted on a Linux Mint 18.3 machine. On that
machine, when right-clicking the folder shared with Samba and selecting option
"Sharing options" (or equivalent English translation), I can notice that
message: "The share name is too long" (or equivalent English translation). In
my case, the share name is "Partage Mint-land".

I hope this helps. Feel free to ask for more details if needed. And thanks for
your investigation.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 390288] KIO/KDirModel: Kate crash while trying to save a new file to a Samba share

2018-02-13 Thread Dominik Haumann
https://bugs.kde.org/show_bug.cgi?id=390288

Dominik Haumann  changed:

   What|Removed |Added

 CC||fa...@kde.org
   Priority|NOR |VHI
Summary|Kate crash while trying to  |KIO/KDirModel: Kate crash
   |save a new file to a Samba  |while trying to save a new
   |share   |file to a Samba share

--- Comment #1 from Dominik Haumann  ---
@Valdo: Now this is important: Can you reproduce this issue? Could you please
try very hard to reproduce this? What did you do exactly? Please also skim
through bug #190535 and see whether you maybe did something similar. This bug
is ~10 years old and it seems it's still not entirely fixed. So any help here
would be very much appreciated!!!

This seems to be a very old bug as well and is a duplicate of bug #295702 and
#190535. I won't close it as duplicate yet, since #190535 is in state NEEDSINFO
/ WAITINGFORINFO.

@dfaure: It seems even thanks to the many fixes in bug #190535, there still are
cases where this bug can happen. The backtrace shows the node=0x0, and
rowNumber==-1. Same as in #190535.

-- 
You are receiving this mail because:
You are watching all bug changes.