[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 289992] BP inserted while running - hit first time is partial working
From:       leon pollak <leonp () plris ! com>
Date:       2012-02-05 16:44:46
Message-ID: E1Ru5Co-0008Up-AH () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=289992





--- Comment #6 from leon pollak <leonp plris com>  2012-02-05 16:44:45 ---
I downloaded the master and the problem about which we exchanged mails is
still there.

But now I have the example code that demonstrates the problem.
Just follow the instructions and it is very well repeatable...:-)

Please, compile the following C++ text:

int main(int argc, char* argv[]) {
pthread_t thread1;
void* func(void* v);
pthread_create( &thread1, NULL, func, NULL);
pthread_join( thread1, NULL);
}

void* func(void* t) {
int i;
        while(1) {
                sleep(2);
                i++;
        }
 }

The line with i++ is the line to be considered.

Now, set the BP at the first line in main function (just for convenience)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic