Bug 62102 - plaympeg crashes on exit
Summary: plaympeg crashes on exit
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: smpeg
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-27 15:17 UTC by Göran Uddeborg
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-27 15:17:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Göran Uddeborg 2002-03-27 15:17:53 UTC
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
package:

   (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):
smpeg-0.4.4-8
arts-3.0.0-0.cvs20020314.1

Comment 1 Than Ngo 2002-03-27 19:29:05 UTC
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.