Fixed
Status Update
Comments
he...@gmail.com <he...@gmail.com> #2
This bug should go to the emulator team. However, I do not have permission to file bug against them yet.
od...@gmail.com <od...@gmail.com> #3
Thank you for reporting this. I think we have a bad race condition in RecurrentTask
. When a callback fires, the QEMUTimer
is empty (see cb(opaque)
is unlock):
/* remove timer from the list before calling the callback */
timer_list->active_timers = ts->next;
ts->next = NULL;
ts->expire_time = -1;
cb = ts->cb;
opaque = ts->opaque;
/* run the callback (the timer list can be modified) */
qemu_mutex_unlock(&timer_list->active_timers_lock);
cb(opaque);
qemu_mutex_lock(&timer_list->active_timers_lock);
and timer_del_locked
simply removes the QEMUTimer
instance from the active_timers
list. I am not sure how to avoid race conditions here. Consider this:
1: void myCallback(void* arg) {
2:
3: someCall();
4:
5: }
- The control enters into
myCallback
and the thread is preempted before the function had a chance making any side effect (line2
here). ˜RecurrentTask
is called on a separate thread.- Since
myCallback
did not write anywhere that it is busy˜RecurrentTask
proceeds destroying the statemyCallback
is about to access. myCallback
wakes and proceeds accessing already destroyed data.
Either I am missing something or this API is incomplete.
al...@android.com <al...@android.com> #4
hu...@gmail.com <hu...@gmail.com> #5
it does not work
[Deleted User] <[Deleted User]> #6
what's the point of having an attribute for more than 3 years that does nothing?
no...@gmail.com <no...@gmail.com> #7
I think al... was fired.
os...@gmail.com <os...@gmail.com> #8
al...@android.com <al...@android.com>
da...@gmail.com <da...@gmail.com> #9
I read your full article. This is a very impotent topic. I’m really loving your <strong><a href="https://sellshop.com.bd/seo-tools/ "><em>blog</em></a></strong>.
I have a very small blog. There I try to write something similar. Please visit <strong><em><a href="https://sellshop.com.bd/link-spinner/ ">my site</a></em></strong> & do you have any suggestions.
I have a very small blog. There I try to write something similar. Please visit <strong><em><a href="
ku...@gmail.com <ku...@gmail.com> #10
The dropdownSelector still does nothing in 2023 ... and yet it's marked as fixed in 2016. Well done.
Description
while developing Android applications. Use the Tools templates for issues
with the developer tools.
Please describe the problem in detail. Be sure to include:
- Steps to reproduce the problem (including sample code if appropriate).
Attempt to apply a style to the Selector, that includes a valid value for the android:dropDownSelector attribute.
- What happened.
The value is not applied in the ctor. Looking at the source, the path for Selectors of type "dropdown" does not contain any code to obtain the value from android:dropDownSelector.
- What you think the correct behavior should be.
The value should be correctly applied.
Don't forget to mention which version of Android you're using, and/or which device the problem appears on (model and Android version).
ICS 4.0.2
Please also run "adb bugreport" and archive the output.