Bug 65386 - spice client Aborted.
Summary: spice client Aborted.
Status: RESOLVED WONTFIX
Alias: None
Product: Spice
Classification: Unclassified
Component: spicec (deprecated) (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: low normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-05 03:09 UTC by Jed
Modified: 2015-06-19 17:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jed 2013-06-05 03:09:11 UTC
Spice client abort itself.
Client terminal shows like : Aborted.


# spicec -h 10.3.5.41 -p 5900 -w xxxxxx
Aborted
# cat /root/.spicec/spicec.log 
1370429652 INFO [523:523] Application::main: starting 0.8.2
1370429652 INFO [523:523] init_key_map: using evdev mapping
1370429652 INFO [523:523] MultyMonScreen::MultyMonScreen: platform_win: 67108865
1370429652 INFO [523:523] ForeignMenu::ForeignMenu: Creating a foreign menu connection /tmp/SpiceForeignMenu-0.uds
1370429652 INFO [523:524] RedPeer::connect_unsecure: Connected to 10.3.5.41 5900
1370429652 INFO [523:524] abort_handler: signal 6

I run the program in the debugger to find the offending address:

#gdb --args ./spicec -h 10.3.5.41 -p 5900 -w xxxxxx
(gdb) cd ..
Working directory /root/spice-0.8.2/client.
(gdb) b red_channel.cpp:170
Breakpoint 1 at 0x5f16c: file ../../client/red_channel.cpp, line 170.
(gdb) n

Program received signal SIGABRT, Aborted.
0x2aed9ed6 in ?? () from /lib/arm-linux-gnueabi/libc.so.6
(gdb) bt
#0  0x2aed9ed6 in ?? () from /lib/arm-linux-gnueabi/libc.so.6
#1  0x2aee80da in raise () from /lib/arm-linux-gnueabi/libc.so.6
#2  0x2aeea506 in abort () from /lib/arm-linux-gnueabi/libc.so.6
#3  0x000cfde4 in d2i_PUBKEY_bio ()
#4  0x0005f182 in RedChannelBase::link (this=0x195368, connection_id=<optimized out>, password=..., protocol=<optimized out>)
    at ../../client/red_channel.cpp:172
#5  0x0005f408 in RedChannelBase::connect (this=0x195368, options=..., connection_id=0, host=0x19cd4c "10.3.5.41", password=...)
    at ../../client/red_channel.cpp:218
#6  0x0005f600 in RedChannel::run (this=0x195368) at ../../client/red_channel.cpp:470
#7  0x0005f9ea in RedChannel::worker_main (data=<optimized out>) at ../../client/red_channel.cpp:340
#8  0x2aeb502e in start_thread () from /lib/arm-linux-gnueabi/libpthread.so.0
#9  0x2af53b48 in ?? () from /lib/arm-linux-gnueabi/libc.so.6
#10 0x2af53b48 in ?? () from /lib/arm-linux-gnueabi/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

# cat /proc/cpuinfo 
Processor	: ARMv7 Processor rev 10 (v7l)
processor	: 0
BogoMIPS	: 1988.29

processor	: 1
BogoMIPS	: 1988.29

processor	: 2
BogoMIPS	: 1988.29

processor	: 3
BogoMIPS	: 1988.29

Features	: swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc09
CPU revision	: 10

Hardware	: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Revision	: 63012
Serial		: 110609d4d8191854

I am eager to know what cause this problem and how to solve it .
Does anyone else encounter this problem?
Thanks.
Comment 1 Christophe Fergeau 2013-06-05 07:54:24 UTC
Does this always happen? Or did it only occur once? Could you try remote-viewer (shipped with virt-viewer) and see if it happens there as well?
Did you built this client yourself or are you using a pprebuilt version?
Comment 2 Jed 2013-06-05 08:42:48 UTC
Each occurrence .
I can determine the Spice server's configuration is correct.
Aim to put SPICE-client(spicec) ported to ARM platform .
First,use "http://spice-space.org/download/arm/",This error occurs :
______________
# spicec -h 10.3.5.41 -p 5900 -w xxxxxx
Aborted
# cat /root/.spicec/spicec.log 
1370429652 INFO [523:523] Application::main: starting 0.8.2
1370429652 INFO [523:523] init_key_map: using evdev mapping
1370429652 INFO [523:523] MultyMonScreen::MultyMonScreen: platform_win: 67108865
1370429652 INFO [523:523] ForeignMenu::ForeignMenu: Creating a foreign menu connection /tmp/SpiceForeignMenu-0.uds
1370429652 INFO [523:524] RedPeer::connect_unsecure: Connected to 10.3.5.41 5900
1370429652 INFO [523:524] abort_handler: signal 6
___________________

So, I cross-compile it. But the same error .
Using gdb debugger , the error described above .



(In reply to comment #1)
> Does this always happen? Or did it only occur once? Could you try
> remote-viewer (shipped with virt-viewer) and see if it happens there as well?
> Did you built this client yourself or are you using a pprebuilt version?
Comment 3 Marc-Andre Lureau 2014-10-24 17:00:29 UTC
arm client isn't officially supported, lowering priority
Comment 4 Marc-Andre Lureau 2014-10-24 17:01:07 UTC
(spice-gtk is known to work fairly nicely on arm, thanks to aSpice client)
Comment 5 Victor Toso 2015-06-19 17:47:16 UTC
(In reply to Jed from comment #2)
> Each occurrence .
> I can determine the Spice server's configuration is correct.
> Aim to put SPICE-client(spicec) ported to ARM platform .
> First,use "http://spice-space.org/download/arm/",This error occurs :
> ______________
> # spicec -h 10.3.5.41 -p 5900 -w xxxxxx
> Aborted
> # cat /root/.spicec/spicec.log 
> 1370429652 INFO [523:523] Application::main: starting 0.8.2
> 1370429652 INFO [523:523] init_key_map: using evdev mapping
> 1370429652 INFO [523:523] MultyMonScreen::MultyMonScreen: platform_win:
> 67108865
> 1370429652 INFO [523:523] ForeignMenu::ForeignMenu: Creating a foreign menu
> connection /tmp/SpiceForeignMenu-0.uds
> 1370429652 INFO [523:524] RedPeer::connect_unsecure: Connected to 10.3.5.41
> 5900
> 1370429652 INFO [523:524] abort_handler: signal 6
> ___________________
> 
> So, I cross-compile it. But the same error .
> Using gdb debugger , the error described above .
> 
> 
> 
> (In reply to comment #1)
> > Does this always happen? Or did it only occur once? Could you try
> > remote-viewer (shipped with virt-viewer) and see if it happens there as well?
> > Did you built this client yourself or are you using a pprebuilt version?

If you are still interested in building an ARM spice client you could try with spicy (spice-gtk testing tool). spicec is not supported anymore.

Feel free to open a new bug if have issues when trying with spicy.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.