Bug 513258 - stardict freezes on startup
Summary: stardict freezes on startup
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: stardict
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caius Chance
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 512190
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-22 17:59 UTC by Pavel Alexeev
Modified: 2010-01-05 00:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-26 18:36:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Alexeev 2009-07-22 17:59:15 UTC
Description of problem:
Stardict start loading, splash screen appeared and then freezes. This splash don't disappeared anymore and nothing happened too,

I think strace information may be useful there:
$ strace stardict 2>&1
[many sniped]

fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xb3183000
mprotect(0xb3183000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb3b833d4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb3b83bd8, {entry_number:6, base_addr:0xb3b83b70, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb3b83bd8) = 25804
fcntl64(24, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(24, F_SETFL, O_RDWR|O_NONBLOCK) = 0
send(23, "\0\0\0\0\0\0\0\0007\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0\0\0\0\0\n"..., 55, MSG_NOSIGNAL) = 55
gettimeofday({1248284635, 243627}, NULL) = 0
mmap2(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xb25ff000
mprotect(0xb25ff000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb2fff3d4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb2fffbd8, {entry_number:6, base_addr:0xb2fffb70, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb2fffbd8) = 25805
futex(0x8482ff0, FUTEX_UNLOCK_PI_PRIVATE, 13299700) = 0
futex(0x8483014, FUTEX_WAIT_PRIVATE, 1, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
futex(0x8483014, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x8482ff0, FUTEX_LOCK_PI_PRIVATE, 1) = 0
send(21, "W"..., 1, MSG_NOSIGNAL)       = -1 ENOTSOCK (Socket operation on non-socket)
write(21, "W"..., 1)                    = 1
futex(0xb2fffbd8, FUTEX_WAIT, 25805, NULL


So very spurious seems child die and then unlimited wait some futex.

Version-Release number of selected component (if applicable):
$ rpm -q stardict
stardict-3.0.1-17.fc11.i586

How reproducible:
Always

Comment 1 Jens Petersen 2009-08-11 03:28:48 UTC
I can't reproduce on my f11 x86_64 machine.

Comment 2 Pavel Alexeev 2009-08-11 08:48:04 UTC
How I can help on this?

I can say more, if I delete /usr/lib/stardict/plugins/stardict_espeak.so - stardict works. So, problem in this plugin I thought.

Comment 3 Jens Petersen 2009-08-17 01:33:51 UTC
How any gdb information?

Comment 4 Pavel Alexeev 2009-08-17 17:22:57 UTC
I don't known how do that.

[pasha@x-www js_mail_encode]$ gdb stardict 
GNU gdb (GDB) Fedora (6.8.50.20090302-33.fc11)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Missing separate debuginfos, use: debuginfo-install stardict-3.0.1-17.fc11.i586
(gdb) run
Starting program: /usr/bin/stardict 
warning: .dynamic section for "/usr/lib/libfreetype.so.6" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libgmodule-2.0.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libuuid.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 25342.
warning: .dynamic section for "/usr/lib/libespeak.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libpulse.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libpulsecommon-0.9.15.so" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libwrap.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libasyncns.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libgdbm.so.2" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations

[1]+  Stopped                 gdb stardict

Can you describe step-by-step what I should do?

Comment 5 Caius Chance 2009-12-21 00:33:13 UTC
This is caused by bug# 512190.

Comment 6 Pavel Alexeev 2009-12-21 00:50:30 UTC
Ok, I set it as blocker for this one.

Comment 7 Caius Chance 2009-12-26 18:36:10 UTC
espeak is currently disabled on stardict

close this bug

Comment 8 Pavel Alexeev 2009-12-26 18:41:38 UTC
Why NOTABUG? If disabled then problem fixed? Do you plan push updates?

Comment 9 Caius Chance 2010-01-03 23:49:37 UTC
This is not NOTABUG from stardict but espeak.

The problem is fixed when espeak is fixed.

If you want stardict with espeak please kindly contribute on espeak bug #512190.

Thank you very much.

Comment 10 Pavel Alexeev 2010-01-04 09:26:20 UTC
(In reply to comment #9)
> This is not NOTABUG from stardict but espeak.
Ok, and you also say:
(In reply to comment #7)
> espeak is currently disabled on stardict
Can you please provide such stardict updates for Fedora 11 and 12? Or where I can get this build for try?

Comment 11 Caius Chance 2010-01-05 00:25:28 UTC
F12:
http://koji.fedoraproject.org/koji/buildinfo?buildID=148613

F13 / Rawhide:
http://koji.fedoraproject.org/koji/buildinfo?buildID=148609

I don't plan to build on F11. Thanks.


Note You need to log in before you can comment on or make changes to this bug.