On Wed, 02 Mar 2005 15:14:57 +0100 Christoph Peltz <[EMAIL PROTECTED]> babbled:
(B
(B>
(B> > first... don't set the viewport or size until you have set up an engine...
(Bevas
(B> > is only partly initialized. second - you can save a lot of effort and use
(B> > ecore_evas as a wrapper that sets this all up for you :) third - can you
(Bgive us
(B> > a gdb backtrace? (so i can see where in evas its failing) ?
(B>
(B> Okay, I have now set the viewport AFTER the function, but it still
(B> occure a segfault. Here is the GDB backtrace:
(B> #0 0xb7faafb7 in evas_software_x11_outbuf_software_x11_perf_new_x ()
(B> from /usr/lib/libevas.so.1
(B> #1 0xb7fab6cb in evas_software_x11_outbuf_software_x11_perf_restore_x
(B> ()
(B> from /usr/lib/libevas.so.1
(B> #2 0xb7fa9553 in evas_common_regionbuf_rects_get ()
(B> from /usr/lib/libevas.so.1
(B> #3 0xb7f74180 in evas_engine_info_set () from /usr/lib/libevas.so.1
(B> #4 0x080489c2 in main ()
(B>
(B> I will look at the wrapper for sure ;D
(B>
(B> BTW: I am sorry for double-posting, normally I get my own email when
(B> send to a list to make sure it has arrived, but here I do not get it so
(B> i thought the mail does not arrived at the list.
(B
(Boooh! you should read your code more carefully! :)
(Bthe gdb backtrace says u die in evas_engine_info_set() - which makes sense. u
(Bdidnt notice this because your printf("test"); has no \n - thus no newline and
(Bit doesnt get flushed and u dont see it. so the reason it dies is you are not
(Bsetting up the engine info data at all (no display pointer, etc. etc.) so evas
(Bof course has a very bad day if u dont tell it what to do with the target
(Brendering surface properly... :) the wrappers set this all up for you correctly
(Band save effort - but if you want to DIY - make sure u set up the engine info
(Bproperly. :)
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BSF email is sponsored by - The IT Product Guide
(BRead honest & candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now.
(Bhttp://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel