Bug 300725 - Crash while reading .po report
Summary: Crash while reading .po report
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 19:41 UTC by Reg Charney
Modified: 2013-08-26 04:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reg Charney 2012-05-27 19:41:18 UTC
Application: lokalize (1.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-41-generic i686
Distribution: Ubuntu 10.04.4 LTS

-- Information about the crash:
The system selected an application and tried to read a .po file that was generated by a translation program. It reported that it could not read the file (because it did not recognize the format). When I click OK, the program crashed.

 -- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
[Current thread is 1 (Thread 0xb772e710 (LWP 23161))]

Thread 2 (Thread 0xb5eb9b70 (LWP 23162)):
#0  0x00122422 in __kernel_vsyscall ()
#1  0x00206015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x06e4391d in __pthread_cond_wait (cond=0x9cb6010, mutex=0x9cb5ff8) at forward.c:139
#3  0x02ea5287 in QWaitConditionPrivate::wait (this=0x9cb5de0, mutex=0x9cb5110, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9cb5de0, mutex=0x9cb5110, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x001bd870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9cb5dc8, th=0xa2a5b18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x001c038c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9cb4f38, th=0xa2a5b18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x001bc27b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9cb5dc8, th=0xa2a5b18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x001c0482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9cb4f38, th=0xa2a5b18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x001bd4d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9cb5dc8, th=0xa2a5b18, previous=0xa070de0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x001be51e in ThreadWeaver::ThreadRunHelper::run (this=0xb5eb92f4, parent=0x9cb5dc8, th=0xa2a5b18) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x001bec3b in ThreadWeaver::Thread::run (this=0xa2a5b18) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x02ea432e in QThreadPrivate::start (arg=0xa2a5b18) at thread/qthread_unix.cpp:248
#13 0x0020196e in start_thread (arg=0xb5eb9b70) at pthread_create.c:300
#14 0x06e3698e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb772e710 (LWP 23161)):
[KCrash Handler]
#6  0x02e9ef39 in QMutex::lock (this=0xa43b6b0) at thread/qmutex.cpp:150
#7  0x02fa6634 in QCoreApplication::postEvent (receiver=0xa2749c0, event=0xa2bba60, priority=0) at kernel/qcoreapplication.cpp:1113
#8  0x02fa69ac in QCoreApplication::postEvent (receiver=0xa2749c0, event=0xa2bba60) at kernel/qcoreapplication.cpp:1066
#9  0x02fb68a4 in QObject::deleteLater (this=0xa2749c0) at kernel/qobject.cpp:2158
#10 0x080784cc in ~LokalizeMainWindow (this=0x9cae4a8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../lokalize/src/lokalizemainwindow.cpp:136
#11 0x02fb5d65 in qDeleteInEventHandler (o=0xa43b4b8) at kernel/qobject.cpp:3998
#12 0x02fb7428 in QObject::event (this=0x9cae4a8, e=0xac8) at kernel/qobject.cpp:1231
#13 0x01112326 in QWidget::event (this=0x9cae4a8, event=0xa2d6708) at kernel/qwidget.cpp:8455
#14 0x0152dbc7 in QMainWindow::event (this=0x9cae4a8, event=0xa2d6708) at widgets/qmainwindow.cpp:1433
#15 0x00bb62e4 in KMainWindow::event (this=0x9cae4a8, ev=0xa2d6708) at ../../kdeui/widgets/kmainwindow.cpp:1103
#16 0x00bfe0ff in KXmlGuiWindow::event (this=0x9cae4a8, ev=0xa2d6708) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#17 0x010b44dc in QApplicationPrivate::notify_helper (this=0x9aea828, receiver=0x9cae4a8, e=0xa2d6708) at kernel/qapplication.cpp:4300
#18 0x010bb0f9 in QApplication::notify (this=0xbfea0e94, receiver=0x9cae4a8, e=0xa2d6708) at kernel/qapplication.cpp:4265
#19 0x00ac440a in KApplication::notify (this=0xbfea0e94, receiver=0x9cae4a8, event=0xa2d6708) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x02fa6a3b in QCoreApplication::notifyInternal (this=0xbfea0e94, receiver=0x9cae4a8, event=0xa2d6708) at kernel/qcoreapplication.cpp:704
#21 0x02fa9473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9ad5fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ad5fc8) at kernel/qcoreapplication.cpp:1345
#23 0x02fa95dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#24 0x02fd2adf in QCoreApplication::sendPostedEvents (s=0x9aed580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x9aed580) at kernel/qeventdispatcher_glib.cpp:276
#26 0x085475e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x0854b2d8 in ?? () from /lib/libglib-2.0.so.0
#28 0x0854b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x02fd25d5 in QEventDispatcherGlib::processEvents (this=0x9ad5b60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#30 0x01174135 in QGuiEventDispatcherGlib::processEvents (this=0x9ad5b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x02fa5059 in QEventLoop::processEvents (this=0xbfea0df4, flags=) at kernel/qeventloop.cpp:149
#32 0x02fa54aa in QEventLoop::exec (this=0xbfea0df4, flags=...) at kernel/qeventloop.cpp:201
#33 0x02fa969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x010b4577 in QApplication::exec () at kernel/qapplication.cpp:3579
#35 0x08074e06 in main (argc=6, argv=0xbfea10e4) at ../../../lokalize/src/main.cpp:117

Possible duplicates by query: bug 291900, bug 282773, bug 281266, bug 276062.

Reported using DrKonqi
Comment 1 Nick Shaforostoff 2012-06-04 16:53:36 UTC
can you attach the file that caused crash?

is it reproducible for you?
Comment 2 Reg Charney 2012-06-04 17:32:57 UTC
Hi Nick,

I am sorry, but it has been several weeks since this happened. At the time,
it was reproducible. I edited the old .po file changing the name
"EntreBahn" to "WizOf.Biz" with some other wording changes to create the
current file. (Both attached). However, I don't remember what I did to
modify the new file to make it work. However, the file wizofbiz-temp.po was
the version of wizofbiz.po before I changed wizofbiz.po. (See attached.)

Reg Charney

On Mon, Jun 4, 2012 at 12:53 PM, Nick Shaforostoff <shafff@ukr.net> wrote:

> https://bugs.kde.org/show_bug.cgi?id=300725
>
> --- Comment #1 from Nick Shaforostoff <shafff@ukr.net> ---
> can you attach the file that caused crash?
>
> is it reproducible for you?
>
> --
> You are receiving this mail because:
> You reported the bug.
>