Bug 62102 - plaympeg crashes on exit
plaympeg crashes on exit
Product: Red Hat Linux
Classification: Retired
Component: smpeg (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2002-03-27 10:17 EST by Göran Uddeborg
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-27 10:17:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Göran Uddeborg 2002-03-27 10:17:53 EST
I am trying to compile tuxtype (http://www.geekcomix.com/dm/tuxtype/) and it
runs ok, but crashes when exiting.  (Locking my screen in a low-resolution
mode.)  I have noted, though, that plaympeg crashes in the same way, so a bug
report versus smpeg seems a proper place to start, even if I suggest arts.

The crash appears to happen in the library libmcop from the arts

   (gdb) bt
   #0  __pthread_mutex_lock (mutex=0x15579080) at mutex.c:99
   #1  0x15cf3a58 in __tcf_0 () from /usr/lib/libmcop.so.1
   #2  0x1583d50b in exit (status=0) at exit.c:54
   #3  0x15828630 in __libc_start_main (main=0x8057a60 <strcpy+58808>, argc=1, 
       ubp_av=0x3ffff344, init=0x8049060 <_init>, fini=0x8058300 <_fini>, 
       rtld_fini=0x15563cc4 <_dl_fini>, stack_end=0x3ffff33c)
       at ../sysdeps/generic/libc-start.c:129

Guessing this had something to do with threading, and noting there is a library
libmcop_mt which might mean "multi-thread-safe", I tried changing the links
libmcop.so and libmcop.so.1 to point to libmcop_mt.so.1.0.0 rather than the
default variant without _mt.  That removes the crash, apparently fixing the
problem.  But I don't know the proper way to solve this.  libmcop doesn't appear
among the explicit dependencies shown by ldd; I suppose it is loaded via dlopen.
 But the arts package is completely free from any documentation.

Version-Release number of selected component (if applicable):
Comment 1 Ngo Than 2002-03-27 14:29:05 EST
It's fixed in smpeg-0.4.4-9. it works with new arts-1.0.0. You will find them in next 
rawhide release

Note You need to log in before you can comment on or make changes to this bug.