From: Darwin O'C. <rea...@ya...> - 2002-11-09 16:40:30
|
I've been posting xine to OS/2. With 1.alpha0 I've started fresh. I've decided to skip over dealing with <insert adjective here> autoconf and I've been creating my own makefile. Things have been going quite well. I've been working with the aaui and I believe I have found a bug related to how it handles the configuration file code. In the config_update update function in aaui/main.c when type is XINE_CONFIG_TYPE_STRING it replaces entry->str_value with the new value and then frees the old str_value when is calles "free(oldv)". Lator it calls xine_config_update_entry which eventually called xine_config_update_string in xine-engine/configfile.c where it also frees the string value when it calles "free (entry->str_value);" Freeing the same things twice is not good. I was running into this problem because I was overriding the audio driver to force it to use the OS/2 spacific DART driver I had created. After commenting out the free in config_update it seemed to fix the problem. Darwin O'Connor Toronto, Canada |