|
Re: problem with electric: msg#00324os.netbsd.devel.pkgsrc.user
Le Thu, 14 Dec 2006 12:09:46 -0600 (CST), "Jeremy C. Reed" <reed@xxxxxxxxxxxxx> a écrit : > > When I compile electric from pkgsrc/cad/electric directory, it runs. > > But when I try to execute it. There is an error : > > > > # electric > > electric: Error detected by libpthread: Unlocking unlocked mutex. > > Detected by file > > "/home/builds/ab/netbsd-3-1-RELEASE/src/lib/libpthread/pthread_mutex.c", > > line 363, function "pthread_mutex_unlock". See pthread(3) for > > information. Abort > > You may want to report this upstream. The problem may be in electric > or maybe in motif? > > Search the source for where it does the unlock. I reported this bug ( id : pkg/35261 ) and prevent the maintainer. The source of problem is into the graphunixx11.c file from electric/src/graph/ directory. >>>>> graphunixx11.c, line 3191 /* * Routine that unlocks mutual-exclusion object "vmutex". */ void emutexunlock(void *vmutex) { #ifdef HAVE_PTHREAD pthread_mutex_t *mutex; mutex = (pthread_mutex_t *)vmutex; pthread_mutex_unlock(mutex); #else mutex_t *mutexid; mutexid = (mutex_t *)vmutex; mutex_unlock(mutexid); #endif } <<<<< Apparently, if I remove function pthread_mutex_unlock() : it runs. But I don't think that is good to remove the function pthread_unlock_mutex. Any proposals ? Regards, -- -- Ulrich Etile, http://www.chetsbu.net -- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | problems building gmplayer: 00324, Steven M. Bellovin |
|---|---|
| Next by Date: | Re: problem with electric: 00324, Christian Biere |
| Previous by Thread: | Re: problem with electrici: 00324, Jeremy C. Reed |
| Next by Thread: | Re: problem with electric: 00324, Christian Biere |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |