Modify

Ticket #6257 (closed defect: worksforme)

You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.

Opened 3 years ago

Last modified 3 years ago

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

Reported by: anonymous Owned by: ijr
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

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

Change History

Changed 3 years ago by anonymous

comment:1 Changed 3 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 3 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 3 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 3 years ago by Dibblah

  • Status changed from new to closed
  • Resolution set to worksforme

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.