ica crash with : caught signal: 11 on italc master connect

Bug #1297345 reported by Joseph Maillardet
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
italc (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Utopic
Fix Released
Undecided
Unassigned

Bug Description

SRU justification:

[Impact]

 * iTALC is not meaningfully usable in trusty or utopic, because the client service crashes as soon as a master connects, which prevents the master interface from being used.

[Test Case]

 * Install italc-master and italc-client, answer "yes" to the questions about whether to set up groups. Add yourself to the italc-student and italc-teacher groups, and log out and in again so the memberships take effect.

 * In one terminal, run: ica

 * In another terminal, run: italc

Expected results: the master connects to the local client service

Actual results: the client service crashes when the master connects, preventing it from starting.

[Regression Potential]

 * The proposed fix imports a tiny patch written by upstream and included in iTALC 2.0.2.

 * The package is unusable at the moment, a regression could hardly make things worse!

[Other Info]

 * Packages for testing are in ppa:rtandy/lp1297345

Original description:

When trying to start italc (master) application after launching ica (client), ica crash with signal: 11.

Here the command-line output of ica :

mar. mars 25 15:56:37 2014: [INFO] Startup for user "admin" with arguments ("ica")
mar. mars 25 15:56:37 2014: [INFO] Ipc::Master: listening at port 37796
mar. mars 25 15:56:37 2014: [INFO] Starting slave "SystemTrayIcon" at port 37796
mar. mars 25 15:56:37 2014: [INFO] Exec
25/03/2014 15:56:37 passing arg to libvncserver: -rfbport
25/03/2014 15:56:37 passing arg to libvncserver: 11100
25/03/2014 15:56:37 x11vnc version: 0.9.13 lastmod: 2010-12-27 pid: 13384
25/03/2014 15:56:37 Using X display :0
25/03/2014 15:56:37 rootwin: 0x9d reswin: 0x3600001 dpy: 0x4400e750
25/03/2014 15:56:37
25/03/2014 15:56:37 ------------------ USEFUL INFORMATION ------------------
25/03/2014 15:56:37 X DAMAGE available on display, using it for polling hints.
25/03/2014 15:56:37 To disable this behavior use: '-noxdamage'
25/03/2014 15:56:37
25/03/2014 15:56:37 Most compositing window managers like 'compiz' or 'beryl'
25/03/2014 15:56:37 cause X DAMAGE to fail, and so you may not see any screen
25/03/2014 15:56:37 updates via VNC. Either disable 'compiz' (recommended) or
25/03/2014 15:56:37 supply the x11vnc '-noxdamage' command line option.
25/03/2014 15:56:37
25/03/2014 15:56:37 Wireframing: -wireframe mode is in effect for window moves.
25/03/2014 15:56:37 If this yields undesired behavior (poor response, painting
25/03/2014 15:56:37 errors, etc) it may be disabled:
25/03/2014 15:56:37 - use '-nowf' to disable wireframing completely.
25/03/2014 15:56:37 - use '-nowcr' to disable the Copy Rectangle after the
25/03/2014 15:56:37 moved window is released in the new position.
25/03/2014 15:56:37 Also see the -help entry for tuning parameters.
25/03/2014 15:56:37 You can press 3 Alt_L's (Left "Alt" key) in a row to
25/03/2014 15:56:37 repaint the screen, also see the -fixscreen option for
25/03/2014 15:56:37 periodic repaints.
25/03/2014 15:56:37
25/03/2014 15:56:37 XFIXES available on display, resetting cursor mode
25/03/2014 15:56:37 to: '-cursor most'.
25/03/2014 15:56:37 to disable this behavior use: '-cursor arrow'
25/03/2014 15:56:37 or '-noxfixes'.
25/03/2014 15:56:37 using XFIXES for cursor drawing.
25/03/2014 15:56:37 GrabServer control via XTEST.
25/03/2014 15:56:37
25/03/2014 15:56:37 Scroll Detection: -scrollcopyrect mode is in effect to
25/03/2014 15:56:37 use RECORD extension to try to detect scrolling windows
25/03/2014 15:56:37 (induced by either user keystroke or mouse input).
25/03/2014 15:56:37 If this yields undesired behavior (poor response, painting
25/03/2014 15:56:37 errors, etc) it may be disabled via: '-noscr'
25/03/2014 15:56:37 Also see the -help entry for tuning parameters.
25/03/2014 15:56:37 You can press 3 Alt_L's (Left "Alt" key) in a row to
25/03/2014 15:56:37 repaint the screen, also see the -fixscreen option for
25/03/2014 15:56:37 periodic repaints.
25/03/2014 15:56:37 X FBPM extension not supported.
25/03/2014 15:56:37 X display is capable of DPMS.
25/03/2014 15:56:37 --------------------------------------------------------
25/03/2014 15:56:37
25/03/2014 15:56:37 Default visual ID: 0x20
25/03/2014 15:56:37 Read initial data from X display into framebuffer.
25/03/2014 15:56:37 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/7680
25/03/2014 15:56:37
25/03/2014 15:56:37 X display :0 is 32bpp depth=24 true color
25/03/2014 15:56:37
25/03/2014 15:56:37 Listening for VNC connections on TCP port 11100
25/03/2014 15:56:37 Listening also on IPv6 port 11100 (socket 21)
25/03/2014 15:56:37 Xinerama: Library libXinerama is not available to determine
25/03/2014 15:56:37 Xinerama: the head geometries, consider using -blackout
25/03/2014 15:56:37 Xinerama: if the screen is non-rectangular.
25/03/2014 15:56:37 fb read rate: 1387 MB/sec
25/03/2014 15:56:37 fast read: reset -wait ms to: 10
25/03/2014 15:56:37 fast read: reset -defer ms to: 10
25/03/2014 15:56:37 The X server says there are 16 mouse buttons.
25/03/2014 15:56:37 screen setup finished.
25/03/2014 15:56:37

The VNC desktop is: ba024-xx:5200
25/03/2014 15:56:37 possible aliases: ba024-xx:11100, ba024-xx::11100
PORT=11100

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

    x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

25/03/2014 15:57:34 Got connection from client 127.0.0.1
25/03/2014 15:57:34 other clients:
caught signal: 11
25/03/2014 15:57:34 deleted 60 tile_row polling images.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: italc-client 1:2.0.1-4
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Mar 25 15:59:53 2014
InstallationDate: Installed on 2014-03-24 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
SourcePackage: italc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.xdg.iTALC: [deleted]

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in italc (Ubuntu):
status: New → Confirmed
Revision history for this message
Morten Lund (linuxjoergen) wrote :

I can confirm this bug. There seems to be a patch available:

http://sourceforge.net/p/italc/bugs/255/

[Quote]
Tobias Doerffel
2014-01-14

Fixed in commit 562f18cdddc847e84ce0f73da535b996f8f0fd45 already. Use this
patch to fix it until next release.
[/Quote]

Revision history for this message
Arnaud (arnaud-champollion) wrote :

I also have this problem.

Where can be found that patch ?

I don't unerstand how to see the see commit 562f18cdddc847e84ce0f73da535b996f8f0fd45 .

Thank you,

Revision history for this message
Ryan Tandy (rtandy) wrote :

Morten, thanks for the link to the upstream patch. I uploaded fixed packages to a PPA: https://launchpad.net/~rtandy/+archive/ubuntu/lp1297345

Dear sponsors, would you consider uploading these patches for SRU? The fix is included upstream in 2.0.2, so Vivid is not affected, only Trusty and Utopic. As it is, iTALC in those releases is basically unusable, since the service crashes as soon as the master connects.

Revision history for this message
Ryan Tandy (rtandy) wrote :
Changed in italc (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Ryan, the fix is in the vivid version so closing the bug, I've sponsored your SRUs to trusty & utopic

Ryan Tandy (rtandy)
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Joseph, or anyone else affected,

Accepted italc into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/italc/1:2.0.1-4ubuntu0.14.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in italc (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Changed in italc (Ubuntu Utopic):
status: New → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Joseph, or anyone else affected,

Accepted italc into utopic-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/italc/1:2.0.1-4ubuntu0.14.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Ryan Tandy (rtandy) wrote :

Looks good, can start and run italc-master now in trusty and utopic.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package italc - 1:2.0.1-4ubuntu0.14.04.1

---------------
italc (1:2.0.1-4ubuntu0.14.04.1) trusty; urgency=medium

  * debian/patches/git_allocate-rfbProtocolExtension-statically.patch:
    Import upstream patch to fix ica crashing when a client connects.
    (LP: #1297345)
 -- Ryan Tandy <email address hidden> Wed, 25 Feb 2015 12:22:56 -0800

Changed in italc (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for italc has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

This bug was fixed in the package italc - 1:2.0.1-4ubuntu0.14.10.1

---------------
italc (1:2.0.1-4ubuntu0.14.10.1) utopic; urgency=medium

  * debian/patches/git_allocate-rfbProtocolExtension-statically.patch:
    Import upstream patch to fix ica crashing when a client connects.
    (LP: #1297345)
 -- Ryan Tandy <email address hidden> Wed, 25 Feb 2015 12:22:56 -0800

Changed in italc (Ubuntu Utopic):
status: Fix Committed → 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.