mir_demo_client_scroll confusingly asserts when it can't connect instead of reporting a useful error message [Assertion `mir_connection_is_valid(connection)' failed.]

Bug #1360562 reported by Simon THOBY
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

I lauch mir_demo_client_scroll in terminal andf I obtain this :
Starting
mir_demo_client_scroll: /build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp:141: int main(int, char**): Assertion `mir_connection_is_valid(connection)' failed.
Aborted (core dumped)

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: mir-demos 0.6.1+14.10.20140814-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-10.15-generic 3.16.1
Uname: Linux 3.16.0-10-generic x86_64
ApportVersion: 2.14.6-0ubuntu2
Architecture: amd64
AssertionMessage: mir_demo_client_scroll: /build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp:141: int main(int, char**): Assertion `mir_connection_is_valid(connection)' failed.
CurrentDesktop: Unity
Date: Sat Aug 23 10:37:47 2014
ExecutablePath: /usr/bin/mir_demo_client_scroll
InstallationDate: Installed on 2014-08-14 (8 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140813)
ProcCmdline: mir_demo_client_scroll
Signal: 6
SourcePackage: mir
StacktraceTop:
 __assert_fail_base (fmt=0x7f01ec4c98b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x4039f8 "mir_connection_is_valid(connection)", file=file@entry=0x403908 "/build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp", line=line@entry=141, function=function@entry=0x403b80 "int main(int, char**)") at assert.c:92
 __GI___assert_fail (assertion=0x4039f8 "mir_connection_is_valid(connection)", file=0x403908 "/build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp", line=141, function=0x403b80 "int main(int, char**)") at assert.c:101
 main ()
SystemImageInfo: Error: [Errno 2] No such file or directory: 'system-image-cli'
Title: mir_demo_client_scroll assert failure: mir_demo_client_scroll: /build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp:141: int main(int, char**): Assertion `mir_connection_is_valid(connection)' failed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm autopilot cdrom crontab dialout dip kvm libvirtd lightdm lpadmin lxc-dnsmasq messagebus operator plugdev sambashare saned ssh sudo users uucp video

Revision history for this message
Simon THOBY (simonthoby-deactivatedaccount) wrote :
information type: Private → Public
Changed in mir (Ubuntu):
assignee: nobody → Simon THOBY (simonthoby)
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __assert_fail_base (fmt=0x7f01ec4c98b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x4039f8 "mir_connection_is_valid(connection)", file=file@entry=0x403908 "/build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp", line=line@entry=141, function=function@entry=0x403b80 <main::__PRETTY_FUNCTION__> "int main(int, char**)") at assert.c:92
 __GI___assert_fail (assertion=0x4039f8 "mir_connection_is_valid(connection)", file=0x403908 "/build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp", line=141, function=0x403b80 <main::__PRETTY_FUNCTION__> "int main(int, char**)") at assert.c:101
 main (argc=<optimized out>, argv=0x7fff46206488) at /build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp:141

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in mir (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in mir:
importance: Undecided → Low
Changed in mir (Ubuntu):
importance: Medium → Low
assignee: Simon THOBY (simonthoby) → nobody
Changed in mir:
status: New → Triaged
Changed in mir (Ubuntu):
status: New → Triaged
summary: - mir_demo_client_scroll assert failure: mir_demo_client_scroll:
- /build/buildd/mir-0.6.1+14.10.20140814/examples/scroll.cpp:141: int
- main(int, char**): Assertion `mir_connection_is_valid(connection)'
- failed.
+ mir_demo_client_scroll confusingly asserts when it can't connect instead
+ of reporting a useful error message [Assertion
+ `mir_connection_is_valid(connection)' failed.]
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.