Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Systems > Linux / BSD / OS X

Reply
 
LinkBack Thread Tools Display Modes
Old 07-02-2008, 01:57 PM   #1 (permalink)
barbuceanu
Recruit
 
Join Date: May 2008
Posts: 7
barbuceanu is on a distinguished road
Program received signal SIGABRT, Aborted.

Hello again,

I have a program which returns this error popup in degub: "Program received signal SIGABRT, Aborted." This message appears randomly and I can't what line makes it. While running with valgrind I get an assertion message: tjis is a portion:

vp_remote_client: ../../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.
==6523==
==6523== Process terminating with default action of signal 6 (SIGABRT)
==6523== at 0x40007F2: (within /lib/ld-2.7.so)
==6523== by 0x4982870: abort (in /lib/i686/cmov/libc-2.7.so)
==6523== by 0x497A0ED: __assert_fail (in /lib/i686/cmov/libc-2.7.so)
==6523== by 0x513AD5D: (within /usr/lib/libX11.so.6.2.0)
==6523== by 0x512F18D: XSync (in /usr/lib/libX11.so.6.2.0)


While running I don't get any popup message, the program is simply killed.


Some say this message appears when the memory is full. But in the System monitor the memory seems unaffected in any way.


When I run it in the terminal I get this error:

Pango:ERROR/build/buildd/pango1.0-1.20.3/pango/pango-layout.c:3691)ango_layout_check_lines: assertion failed: (!layout->log_attrs)

My system is Linux - Debian
gcc --version 4.3.1
libX11-6 --version 1.1.4-2

This program is built with wxWidgets in Code::Blocks.


How can I resolve that problem ?

Some clues would be very very much appreciated.

Your newbie Florin.
barbuceanu is offline   Reply With Quote
Old 07-02-2008, 04:08 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
Well, an assertion failed, so the function that it was trying to execute failed. What does "xcb_get_request_sent(dpy->xcb->connection)" actually do? Are you trying to make a connection on a reserved port, perhaps?
__________________
GitS
Belisarius is offline   Reply With Quote
Old 07-03-2008, 05:21 AM   #3 (permalink)
barbuceanu
Recruit
 
Join Date: May 2008
Posts: 7
barbuceanu is on a distinguished road
My program is a client running on Linux which connects to a server running on Windows.
I use in my client program the connect function only once, so maybe it's not about making a connection on a reserved port but I'm not sure. The program runs for a few seconds and then exits. But if I run it with valgrind the program runs well untill I hit the Disconnect button. It's when I receive that error: xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.
barbuceanu is offline   Reply With Quote
Old 07-03-2008, 05:44 AM   #4 (permalink)
barbuceanu
Recruit
 
Join Date: May 2008
Posts: 7
barbuceanu is on a distinguished road
In degub it gets this message in console, when it exits:

Program received signal SIGABRT, Aborted.
In __kernel_vsyscall () ()

This function __kernel_vsyscall () has something to do with threads.
barbuceanu is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ Deadlock Detection Program Help... coolsc81 Standard C, C++ 2 10-26-2004 07:14 AM


All times are GMT -8. The time now is 12:48 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting