Opened 11 years ago

Closed 10 years ago

#6257 closed defect (worksforme)

mythtranscode&mythwelcome / ICE default IO error handler doing an exit

Reported by: anonymous Owned by: Isaac Richards
Priority: blocker Milestone: unknown
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords: mythtranscode
Cc: Ticket locked: no

Description

Both mythwelcome and mythtranscode crashes with: ICE default IO error handler doing an exit()

Mythwelcome crashes sometimes when mythfrontend is exit. Mythtranscode crashes everytime it is called.

The root cause seems to be the execution of:

pthread_exit(NULL);

A sample code, which generates a thread and exit it workes without any issues (see attachment).

I am using XUBUNTU 8.1 and the branch myth release 0.21 fixes. Kernel: 2.6.27-9-generic

Attachments (1)

test.c (664 bytes) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by anonymous

Attachment: test.c added

comment:1 Changed 11 years ago by anonymous

mythranscode crashes with ICE default IO error handler doing an exit(), after:

  • called by mythburn.py
  • called in xterm.

comment:2 Changed 11 years ago by anonymous

changing pthread_exit(NULL) to exit(0) in mpeg2fix.cpp MPEG2replex::WaitBuffers? will quit the application withou aborting with a failure message.

Is that a bug of pthread library or of the implementation ?

comment:3 Changed 11 years ago by anonymous

the same for mythfrontend. Changing the pthread_exit(NULL) into exit(0) prevents the application to exit abnormally.

comment:4 Changed 10 years ago by Dibblah

Resolution: worksforme
Status: newclosed

I do not see this here and suspect you may be seeing a variant of: https://bugs.launchpad.net/ubuntu/+source/kdelibs/+bug/8785/comments/3

Note: See TracTickets for help on using tickets.