[lokalize] [Bug 404635] Lokalize crashes on project overview during file update

2019-03-17 Thread Alex Minton
https://bugs.kde.org/show_bug.cgi?id=404635

--- Comment #2 from Alex Minton  ---
Sorry, I misinfored you a little bit: project overview has nothing to do with
the crash, it happens when the file being updated is already opened in the
editor.

The update is done by Python script, which downloads the translations from
server using web API. So, the write operation which triggers the crash is file
write operation from Python's standard library:

with open(target_name, 'w') as output_file:
output_file.write(wl_response.text)

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

[lokalize] [Bug 404635] New: Lokalize crashes on project overview during file update

2019-02-20 Thread Alex Minton
https://bugs.kde.org/show_bug.cgi?id=404635

Bug ID: 404635
   Summary: Lokalize crashes on project overview during file
update
   Product: lokalize
   Version: 18.12.2
  Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: sdepi...@gmail.com
  Reporter: alex...@gmail.com
CC: sha...@ukr.net
  Target Milestone: ---

Application: lokalize (18.12.2)

Qt Version: 5.12.0
Frameworks Version: 5.55.0
Operating System: Linux 4.20.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was downloading new translations from server. There are approx.150 files in
my project, so I update them in batch via helper script - and I noticed that if
Lokalize window is open while my script update files one by one, Lokalize
crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7159f4c980 (LWP 7419))]

Thread 8 (Thread 0x7f70afbe7700 (LWP 7432)):
[KCrash Handler]
#6  0x004d4d79 in std::__atomic_base::load
(__m=std::memory_order_relaxed, this=0x8000) at
/usr/include/c++/8/bits/atomic_base.h:390
#7  QAtomicOps::load (_q_value=...) at
/usr/include/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger::load (this=0x8000) at
/usr/include/qt5/QtCore/qbasicatomic.h:103
#9  QtPrivate::RefCount::isShared (this=0x8000) at
/usr/include/qt5/QtCore/qrefcount.h:101
#10 QList::append (t=..., this=0x3ffef08) at
/usr/include/qt5/QtCore/qlist.h:584
#11 UpdateStatsJob::run (this=0x3ffeee0) at
/usr/src/debug/lokalize-18.12.2-1.1.x86_64/src/project/projectmodel.cpp:1420
#12 0x7f715c2505b1 in QThreadPoolThread::run (this=0x3ee33d0) at
thread/qthreadpool.cpp:99
#13 0x7f715c24c6e2 in QThreadPrivate::start (arg=0x3ee33d0) at
thread/qthread_unix.cpp:361
#14 0x7f715b231fab in start_thread () from /lib64/libpthread.so.0
#15 0x7f715bde666f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f714d934700 (LWP 7431)):
#0  0x7f715b237fdc in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f715b77209a in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x7f715b7720bb in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x7f715b231fab in start_thread () from /lib64/libpthread.so.0
#4  0x7f715bde666f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f714ead5700 (LWP 7426)):
#0  0x7f715b237fdc in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f715c252613 in QWaitConditionPrivate::wait (deadline=...,
this=0x2be6760) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=, mutex=0x15b8ab0, deadline=...)
at thread/qwaitcondition_unix.cpp:225
#3  0x7f715c2526f9 in QWaitCondition::wait (this=this@entry=0x2b6f9a0,
mutex=mutex@entry=0x15b8ab0, time=) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x7f715c2507c2 in QThreadPoolThread::run (this=0x2b6f990) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:240
#5  0x7f715c24c6e2 in QThreadPrivate::start (arg=0x2b6f990) at
thread/qthread_unix.cpp:361
#6  0x7f715b231fab in start_thread () from /lib64/libpthread.so.0
#7  0x7f715bde666f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f714f2d6700 (LWP 7424)):
#0  0x7f715b237fdc in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f715c252613 in QWaitConditionPrivate::wait (deadline=...,
this=0x2b40690) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=, mutex=0x2682aa8, deadline=...)
at thread/qwaitcondition_unix.cpp:225
#3  0x7f715c2526f9 in QWaitCondition::wait (this=0x2682ab0,
mutex=0x2682aa8, time=) at
../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x7f715d18bc05 in ?? () from /usr/lib64/libQt5Widgets.so.5
#5  0x7f715c24c6e2 in QThreadPrivate::start (arg=0x2682a98) at
thread/qthread_unix.cpp:361
#6  0x7f715b231fab in start_thread () from /lib64/libpthread.so.0
#7  0x7f715bde666f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f714700 (LWP 7423)):
#0  0x7f715b237fdc in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x7f7154899053 in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x7f7154898da7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x7f715b231fab in start_thread () from /lib64/libpthread.so.0
#4  0x7f715bde666f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f715698f700 (LWP 7422)):
#0  0x7f715bdd7684 in read () from /lib64/libc.so.6
#1  0x7f715a978b10 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7f715a932b0f in g_main_context_check () from

[dolphin] [Bug 390701] Crash on File moving to Windows partition after update

2018-03-29 Thread Alex Minton
https://bugs.kde.org/show_bug.cgi?id=390701

Alex Minton <alex...@gmail.com> changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |UNCONFIRMED

--- Comment #2 from Alex Minton <alex...@gmail.com> ---
a) Not right now, I'll need to wait for Frameworks update to happen :)
b) Yes. Right now I have Frameworks 5.44 and I am perfectly able to move files
to Windows partition as earlier.
another b) I guess you are interested in mount options. My Windows partition is
not in my fstab, so I'll give you the relevant line from "mount" output:

/dev/sda4 on /run/media/minton/Windows type fuseblk
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

If I guessed wrong, please correct me.

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

[dolphin] [Bug 390701] New: Crash on File moving to Windows partition after update

2018-02-18 Thread Alex Minton
https://bugs.kde.org/show_bug.cgi?id=390701

Bug ID: 390701
   Summary: Crash on File moving to Windows partition after update
   Product: dolphin
   Version: 17.12.2
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: dolphin-bugs-n...@kde.org
  Reporter: alex...@gmail.com
CC: elvis.angelac...@kde.org
  Target Milestone: ---

Application: dolphin (17.12.2)

Qt Version: 5.10.0
Frameworks Version: 5.43.0
Operating System: Linux 4.15.2-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I believe the cash itself was caused by the fact that I updated to KF 5.43 but
didn't reboot. When I tried to move a file to my Windows partition Dolphin gave
some cryptic error message and then crashed.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd4f2321900 (LWP 13414))]

Thread 3 (Thread 0x7fd4c81b0700 (LWP 13418)):
#0  0x7fd4e4c95fbd in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x7fd4e4c9621c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#2  0x7fd4ebdea78b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#3  0x7fd4ebd916ba in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#4  0x7fd4ebbb88da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x7fd4ebbbd8d0 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#6  0x7fd4e70b1558 in start_thread () from /lib64/libpthread.so.0
#7  0x7fd4f1bd572f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd4d88c8700 (LWP 13417)):
#0  0x7fd4f1bcaf8b in poll () from /lib64/libc.so.6
#1  0x7fd4e4c96109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x7fd4e4c9621c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7fd4ebdea78b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#4  0x7fd4ebd916ba in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#5  0x7fd4ebbb88da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x7fd4ec20fbd5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x7fd4ebbbd8d0 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x7fd4e70b1558 in start_thread () from /lib64/libpthread.so.0
#9  0x7fd4f1bd572f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd4f2321900 (LWP 13414)):
[KCrash Handler]
#6  0x7fd4ebbb5287 in QMutex::lock() () from /usr/lib64/libQt5Core.so.5
#7  0x7fd4ebd96489 in QCoreApplication::postEvent(QObject*, QEvent*, int)
() from /usr/lib64/libQt5Core.so.5
#8  0x7fd4f013d399 in KIO::FileCopyJob::slotResult (this=0x559ee58523d0,
job=0x559ee5dc8680) at
/usr/src/debug/kio-5.43.0-1.1.x86_64/src/core/filecopyjob.cpp:573
#9  0x7fd4ebdc10cc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#10 0x7fd4ed722aec in KJob::result (this=this@entry=0x559ee5dc8680,
_t1=, _t1@entry=0x559ee5dc8680, _t2=...) at
/usr/src/debug/kcoreaddons-5.43.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:569
#11 0x7fd4ed723621 in KJob::finishJob (this=0x559ee5dc8680,
emitResult=) at
/usr/src/debug/kcoreaddons-5.43.0-1.1.x86_64/src/lib/jobs/kjob.cpp:109
#12 0x7fd4ed7254da in KJob::emitResult (this=) at
/usr/src/debug/kcoreaddons-5.43.0-1.1.x86_64/src/lib/jobs/kjob.cpp:293
#13 0x7fd4f014b620 in KIO::SimpleJob::slotFinished (this=0x559ee5dc8680) at
/usr/src/debug/kio-5.43.0-1.1.x86_64/src/core/simplejob.cpp:236
#14 0x7fd4f0149d5b in KIO::SimpleJob::slotError
(this=this@entry=0x559ee5dc8680, err=, errorText=...) at
/usr/src/debug/kio-5.43.0-1.1.x86_64/src/core/simplejob.cpp:249
#15 0x7fd4f0159239 in KIO::ProtoQueue::createSlave
(this=this@entry=0x559ee5462d50, protocol=..., job=job@entry=0x559ee5dc8680,
url=...) at /usr/src/debug/kio-5.43.0-1.1.x86_64/src/core/scheduler.cpp:551
#16 0x7fd4f015fa5c in KIO::ProtoQueue::startAJob (this=0x559ee5462d50) at
/usr/src/debug/kio-5.43.0-1.1.x86_64/src/core/scheduler.cpp:629
#17 0x7fd4ebdc0fca in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#18 0x7fd4ebdcd447 in QTimer::timeout(QTimer::QPrivateSignal) () from
/usr/lib64/libQt5Core.so.5
#19 0x7fd4ebdcd778 in QTimer::timerEvent(QTimerEvent*) () from
/usr/lib64/libQt5Core.so.5
#20 0x7fd4ebdc196b in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#21 0x7fd4ecd93f0c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#22 0x7fd4ecd9b204 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#23