italc application crashes soon after startup

Bug #438637 reported by Arthur Hartwig
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
italc (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

If iTalc (installed from the edubuntu 9.04 addon CD) is run from the GUI a green window appears briefly on the screen then disappears.

The following shows what happens when it is run from the shell.

root@ubuntu:~# apt-cache show italc-master
Package: italc-master
Priority: optional
Section: x11
Installed-Size: 1684
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: Patrick Winnertz <email address hidden>
Architecture: i386
Source: italc
Version: 1:1.0.9.1-0ubuntu9
Depends: libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libjpeg62, libqt4-network (>= 4.4.3), libqt4-xml (>= 4.4.3), libqtcore4 (>= 4.4.3), libqtgui4 (>= 4.4.3), libssl0.9.8 (>= 0.9.8f-5), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4), python, italc-client, libitalc (= 1:1.0.9.1-0ubuntu9)
Recommends: avahi-utils
Filename: pool/main/i/italc/italc-master_1.0.9.1-0ubuntu9_i386.deb
Size: 1110444
MD5Sum: 9ca2d68dc0d0580c77efab65baba9869
SHA1: 5fc1fcb034dbd2c9906e84cc9129239fed059259
SHA256: 6a9c4a1b9ed1575c8e2400c8f090a1f23f45c83f7fc8a76b191d39589a1774ed
Description: Intelligent Teaching and Learning with Computers
 iTALC makes it possible, to access and influence the pupils
 activities just from the computer of the teacher. With the
 help of iTALC, for example the teacher is able to see the
 content of the pupils screens on his screen. If a pupil needs
 help, the teacher can access the pupils desktop and give support
 from his computer. The pupil can watch all activities, the
 teacher is doing on his desktop. So the pupil can learn new processes.
 For teaching something to all pupils, you can switch into demo-mode
 where all screens of the pupils show the teacher-screen.
 Furthermore things like locking pupil's screens, killing games,
 power on/off clients and much more can be done with iTALC.
 .
 This package contains the software necessary to observe and control iTALC
 clients provided by the italc-client package.
Homepage: http://italc.sourceforge.net/home.php
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: edubuntu-ship-addon

root@ubuntu:~# italc
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option "hilight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
Illegal instruction
root@ubuntu:~# gdb italc
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/italc
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb68b4700 (LWP 8597)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option "hilight_ratio" will be deprecated in future releases. Please use "highlight_shade" instead.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb68b4700 (LWP 8597)]
0xb6f70e8a in ?? () from /usr/lib/italc/libitalc_core.so
(gdb) bt
#0 0xb6f70e8a in ?? () from /usr/lib/italc/libitalc_core.so
#1 0xb6f71334 in fastQImage::scaleTo () from /usr/lib/italc/libitalc_core.so
#2 0x080661a0 in ?? ()
#3 0x0805f338 in ?? ()
#4 0x0806b651 in ?? ()
#5 0x08079450 in ?? ()
#6 0x08091d17 in ?? ()
#7 0x0809e848 in ?? ()
#8 0xb6cba775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#9 0x0805bb11 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
root@ubuntu:~# lsb_release
No LSB modules are available.
root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
root@ubuntu:~#

Speculation: I've installed this software on a dual CPU Pentium II system for evaluation. I wonder if the reported illegal instruction is one which doesn't exist on the Pentium II.

Tags: iso-testing
Revision history for this message
Stéphane Graber (stgraber) wrote :

Could you do: cat /proc/cpuinfo and give me the result ?

iTalc is using the MMX extension on i386, I'm suspecting your CPU doesn't have that and isn't working because of that.

Changed in italc (Ubuntu):
status: New → Incomplete
Revision history for this message
Arthur Hartwig (a-hartwig) wrote :

Here's the information requested:

root@ubuntu:~# more /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 398.252
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 796.50
clflush size : 32
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 398.252
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 789.48
clflush size : 32
power management:

root@ubuntu:~#

I believe this shows the CPUs have the MMX instruction family.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Can you try installing italc-master-dbgsym from the ddeb repository and try tracing again with gdb ?

deb http://ddebs.ubuntu.com jaunty main

Revision history for this message
Arthur Hartwig (a-hartwig) wrote : Re: [Bug 438637] Re: italc application crashes soon after startup

How do I install from the ddeb repository?

I'm familiar with the shell, vi etc, but don't know the commands to
install from ddeb repository.

Arthur

Stéphane Graber wrote:
> Can you try installing italc-master-dbgsym from the ddeb repository and
> try tracing again with gdb ?
>
> deb http://ddebs.ubuntu.com jaunty main
>
>

Revision history for this message
Stéphane Graber (stgraber) wrote :

Arthur Hartwig wrote:
> How do I install from the ddeb repository?
>
> I'm familiar with the shell, vi etc, but don't know the commands to
> install from ddeb repository.
>
> Arthur

Juste add the repository to your /etc/apt/sources.list or in
/etc/apt/sources.list.d/, then do an apt-get update, then install the
package as you would for any other package.

Revision history for this message
Arthur Hartwig (a-hartwig) wrote :
Download full text (8.8 KiB)

I installed italc-master-dbgsym as requested but it doesn't seem to have made any difference to the availability of debug symbols.

root@ubuntu:~# apt-cache show italc-master-dbgsym
Package: italc-master-dbgsym
Priority: extra
Section: x11
Installed-Size: 32
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: Patrick Winnertz <email address hidden>
Architecture: i386
Source: italc
Version: 1:1.0.9.1-0ubuntu9
Depends: italc-master (= 1:1.0.9.1-0ubuntu9)
Filename: pool/main/i/italc/italc-master-dbgsym_1.0.9.1-0ubuntu9_i386.ddeb
Size: 1940
MD5sum: 54816632abcec6eb4638df68ca2754a7
SHA1: 1808cf396527fc1407f3c000dd5b008abdf2173d
SHA256: 390ec3b80598bae15f0f198a5c959999d8df8cdaaad189bf7f3cd02e690598e8
Description: debug symbols for package italc-master
 iTALC makes it possible, to access and influence the pupils
 activities just from the computer of the teacher. With the
 help of iTALC, for example the teacher is able to see the
 content of the pupils screens on his screen. If a pupil needs
 help, the teacher can access the pupils desktop and give support
 from his computer. The pupil can watch all activities, the
 teacher is doing on his desktop. So the pupil can learn new processes.
 For teaching something to all pupils, you can switch into demo-mode
 where all screens of the pupils show the teacher-screen.
 Furthermore things like locking pupil's screens, killing games,
 power on/off clients and much more can be done with iTALC.
 .
 This package contains the software necessary to observe and control iTALC
 clients provided by the italc-client package.
Homepage: http://italc.sourceforge.net/home.php

root@ubuntu:~#

root@ubuntu:~# italc
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option
"hilight_ratio" will be deprecated in future releases. Please use "highlight_sha
de" instead.
Illegal instruction
root@ubuntu:~# gdb italc
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/italc
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging...

Read more...

Revision history for this message
Stéphane Graber (stgraber) wrote :

Arthur Hartwig wrote:
> I installed italc-master-dbgsym as requested but it doesn't seem to have
> made any difference to the availability of debug symbols.

Thanks, you may want to try installing italc-client-dbgsym and
libitalc-dbgsym as well.

That should at least give us one more symbol and may help debugging your
issue.

Revision history for this message
Arthur Hartwig (a-hartwig) wrote :
Download full text (4.5 KiB)

I installed libitalc-dbgsym and got more informative reports:

root@ubuntu:~# apt-get install libitalc-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libitalc-dbgsym
0 upgraded, 1 newly installed, 0 to remove and 283 not upgraded.
Need to get 638kB of archives.
After this operation, 1642kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libitalc-dbgsym
Install these packages without verification [y/N]? y
Get:1 http://ddebs.ubuntu.com jaunty/main libitalc-dbgsym 1:1.0.9.1-0ubuntu9 [638kB]
Fetched 638kB in 2min 10s (4893B/s)
Selecting previously deselected package libitalc-dbgsym.
(Reading database ... 136498 files and directories currently installed.)
Unpacking libitalc-dbgsym (from .../libitalc-dbgsym_1%3a1.0.9.1-0ubuntu9_i386.ddeb) ...
Setting up libitalc-dbgsym (1:1.0.9.1-0ubuntu9) ...
root@ubuntu:~# italc
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option
"hilight_ratio" will be deprecated in future releases. Please use "highlight_sha
de" instead.
Illegal instruction
root@ubuntu:~# gdb italc
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/italc
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb69ea700 (LWP 25073)]
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option
"hilight_ratio" will be deprecated in future releases. Please use "highlight_sha
de" instead.

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb69ea700 (LWP 25073)]
0xb70a6e8a in filter_shrink_X_MMX (srcpix=0x89dedc8 "",
    dstpix=0x892d260 "P�\222\bP�\222\brÉ¥4�u�n�F�^�\\)�g�^Ö¬]\213T��gc�\177���XgY�J
?\bx��=�\201\017@�T���.��}���)\227+\024;;������Ų��pl\233gv=�����{��>����1�\226\2
34�\030�\216;�(�߻�q�u\205�8�\216\203\024\002\035�DQ\210�5\231\030\037��ѣT�+\\�y3K
\a\a\001�V������5\233��1v\231\221�\023\223\223lݶ���s�9\207\r\0336066���4�J\205ju
\236"..., height=128, srcpitch=<value optimized out>,
    dstpitch=<value optimized out>, srcwidth=128, dstwidth=16)
    at ./src/fast_qimage.cpp:386
386 ./src/fast_qimage.cpp: No such file or directory.
        in ./src/fast_qimage.cpp
Current language: auto; currently c++
(gdb) x/i 0xb70a6e8a
0xb70a6e8a <filter_shrink_X_MMX+138>: pshufw $0x...

Read more...

Revision history for this message
Arthur Hartwig (a-hartwig) wrote :

The same bug is present in Ubuntu 9.10 although the reported program counter is quite different.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for italc (Ubuntu) because there has been no activity for 60 days.]

Changed in italc (Ubuntu):
status: Incomplete → Expired
tags: added: iso-testing
Revision history for this message
Brian Murray (brian-murray) wrote :

11:51 < highvoltage> bdmurray: ok, I'll do so the next time I test an iso, I'll
                     get that fixed before alpha3 as well by just not starting
                     italc anymore on login
11:53 < bdmurray> highvoltage: is not starting it a fix?
12:04 < highvoltage> bdmurray: it works on the installed system, we discussed it
                     in edubuntu before and the result was that it wasn't that
                     useful in a live system, it also takes quite a bit of RAM so
                     we don't want to start it by default on a live system
                     anyway. it works once installed though. I'll look at what is
                     needed to fix it, it would probably be nice to have it
                     startable on live media fwiw

Revision history for this message
Kate Stewart (kate.stewart) wrote :

update the status of bug to inprogress (was expired), based on comments from bdmurray/highvoltage. Mark it for tracking in alpha3, as well as make sure it has a priority assigned to it.

Changed in italc (Ubuntu Natty):
milestone: none → natty-alpha-3
status: Expired → In Progress
importance: Undecided → High
importance: High → Medium
Revision history for this message
Jonathan Carter (jonathan) wrote :

~stgraber said that he'll spend 5 minutes to look at it right now and if it's a quick fix he'll do so now as well.

Revision history for this message
Stéphane Graber (stgraber) wrote :

I pushed a new edubuntu-live which should disable italc in the next daily build.

Changed in italc (Ubuntu Natty):
status: In Progress → Fix Released
Revision history for this message
Jonathan Carter (jonathan) wrote :

Re-opened, this occurs again on amd64 on our Beta 1 image.

Changed in italc (Ubuntu Natty):
status: Fix Released → In Progress
status: In Progress → Confirmed
milestone: natty-alpha-3 → ubuntu-11.04-beta-2
Revision history for this message
Stéphane Graber (stgraber) wrote :

I just started an amd64 daily build and don't have a /etc/xdg/autostart/ica.desktop file and no ica process or crash reports.
That was with 20110330.

Are you sure that was happening in the live environment and not on the installed system after reboot ?

Revision history for this message
Jonathan Carter (jonathan) wrote :

Yes I'm sure, the crash dialog appeared while Ubiquity was busy installing, and I didn't start it up manually. When it occurs again I'll post the apport report to Launchpad, I didn't do it since it seemed easy enough to reproduce and since the data wouldn't be specifically useful since we planned to remove it from the live session anyway.

Revision history for this message
Stéphane Graber (stgraber) wrote :

On Thu, 2011-03-31 at 18:10 +0000, Jonathan Carter wrote:
> Yes I'm sure, the crash dialog appeared while Ubiquity was busy
> installing, and I didn't start it up manually. When it occurs again I'll
> post the apport report to Launchpad, I didn't do it since it seemed easy
> enough to reproduce and since the data wouldn't be specifically useful
> since we planned to remove it from the live session anyway.
>

Could it be the step where we rebuild the ica keys ?
That's run from ubiquity itself. iTalc shouldn't start at that point but
we still call the ica binary.

--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Revision history for this message
Stéphane Graber (stgraber) wrote :

Testing by Jonathan today didn't show that specific bug.
Besides this bug report is a big mix of at least 3 different bugs starting with Jaunty.

If for some reason this bug (as in apport reporting ica crashing) shows up again, please file another bug report.

Thanks

Changed in italc (Ubuntu Natty):
status: Confirmed → Fix Released
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.