Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-05-2009, 07:25 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
XLib _XSend assertion with NPAPI plugin

I am writing a windowless NPAPI plugin and testing with Firefox 3.0.11 on stock Unbuntu 8.04. My plugin writes image data to an ximage data buffer and tries to write it back to a browser-supplied Drawable with an XPutImage() call. But firefox consistently crashes immediately with an assert when I run my plugin:

firefox: ../../src/xcb_io.c:228: _XSend: Assertion `!dpy->xcb->request_extra' failed.

If I comment out the XPutImage call then no assert, but of course then I don't see my image in the browser window.

A google search showed that this asssert is a common problem with Xlib programs, but I cannot find any info about what is causing it or how to avoid it. I am an X11 newbie but an experienced linux programmer. Any clue how I can go about solving this?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified eyalkz Linux - Newbie 12 11-27-2018 02:30 PM
openldap assertion error -- ldap_parse_result: Assertion `r != ((void *)0)' failed nottings Linux - Server 1 02-19-2009 01:20 AM
MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. deepumnit Linux - Desktop 2 07-15-2008 10:21 PM
Xlib: connection to ":0.0" refused by server Xlib: No protocol ... Linux - Newbie 1 05-06-2008 08:46 AM
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified rajnivanza Linux - Software 1 03-13-2008 02:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration