On Tue, 20 Mar 2007 17:59:24 -0400 "Nathan A. Smith" <[EMAIL PROTECTED]>
babbled:

chances are you didn't describe the data structure correctly to eet. you have
said something is a string, when it isn't, or the pointer for that string is
pointing to garbage

> Hi guys,
> 
> I am attempting to save a config file using EET.  The data being save
> consist of a a struct with an Evas_List.  I am having no luck getting
> this to work....
> 
> When I try it I get the following error (via gdb)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00002b8cecb4c16e in eet_data_put_string (src=0x7fffbe7daef0,
> size_ret=0x7fffbe7dac64) at eet_data.c:347
> 347        len = strlen(s);
> (gdb) bt
> #0  0x00002b8cecb4c16e in eet_data_put_string (src=0x7fffbe7daef0,
> size_ret=0x7fffbe7dac64) at eet_data.c:347
> #1  0x00002b8cecb4c651 in eet_data_put_type (type=11,
> src=0x7fffbe7daef0, size_ret=0x7fffbe7dac64) at eet_data.c:463
> #2  0x00002b8cecb4e11f in eet_data_descriptor_encode (edd=0x504470,
> data_in=0x7fffbe7daee8, size_ret=0x7fffbe7dad04)
>     at eet_data.c:1332
> #3  0x00002b8cecb4e2a4 in eet_data_descriptor_encode (edd=0x5045b0,
> data_in=0x507610, size_ret=0x7fffbe7dadac)
>     at eet_data.c:1374
> #4  0x00002b8cecb4d20c in eet_data_write (ef=0x507630, edd=0x5045b0,
> name=0x403554 "tskey", data=0x507610, compress=0)
>     at eet_data.c:863
> #5  0x00000000004031f7 in MakeConfig (buf=0x7fffbe7db0f0 "test.txt") at
> conf.c:237
> #6  0x000000000040204a in main (argc=3, argv=0x7fffbe7dc218) at
> carrage.c:111
> (gdb) 
> 
> 
> the applicable code is posted:  http://www.pastebin.ca/404086
> 
> The function that is doing the saving is called MakeConfig....
> (yeah I know, very imaginative)
> 
> Could someone give a poor soul a hand?
> 
> Thanks 
> 
> Nasa
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to