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
Old 07-02-2008, 02:15 PM   #1 (permalink)
barbuceanu
Recruit
 
Join Date: May 2008
Posts: 7
barbuceanu is on a distinguished road
assertion failed: (!layout->log_attrs)

Hello,

I have a client program, using sys/socket. The client runs on Linux while the server runs on Windows. The connection is successful but the program runs only for a few seconds. It returns this error message box in degub: "Program received signal SIGABRT, Aborted." This message appears in a randomly order so I can't trace what line makes it. While running with valgrind I get an assertion message. This is a portion of it:

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)

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)"

and the program exits.

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

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's Florin.
barbuceanu is offline   Reply With Quote
Old 07-03-2008, 05:47 AM   #2 (permalink)
barbuceanu
Recruit
 
Join Date: May 2008
Posts: 7
barbuceanu is on a distinguished road
When it exits in Degub it gives this error meage:

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

This function __kernel_vsyscall () has something to do with threads
barbuceanu is offline   Reply With Quote
Old 07-03-2008, 11:43 AM   #3 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 733
DJMaze is on a distinguished road
Quote:
Originally Posted by barbuceanu View Post
Some clues would be very very much appreciated.
Some source code would be very very much appreciated.

P.S. Why 3 topics?
__________________

UT: Ultra-kill... God like!
DJMaze 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
Database layout - opinions? Rafkin Everything SQL ( MySQL, MSSQL, DB2, Postgre, Oracle, etc...) 4 12-29-2004 08:36 AM


All times are GMT -8. The time now is 12:36 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





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