HB crashes on every source
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
HB crashes on every source
Hello,
I just discover Handbrake and start to test it.
I have a few DVD ripped on my hd. Most of them contain 1 title, movie only, 1 audio and subtitles.
Every VIDEO_TS directory I try ends with a crash. I get the message about the CLI scanning the source. Then crash.
If I reopen HB and look at DVD data, everything seems OK. Analysis is correct.
Any idea ?
Another thing I don't understand : The Browse button for selecting source says source "can be either a DVD or ts/mpg/iso file".
If I click on it, .ts files are not supported. Ok. So I select a .mpg file. Then HB complains about "No title found".
I really don't understand ...
Thank you.
I just discover Handbrake and start to test it.
I have a few DVD ripped on my hd. Most of them contain 1 title, movie only, 1 audio and subtitles.
Every VIDEO_TS directory I try ends with a crash. I get the message about the CLI scanning the source. Then crash.
If I reopen HB and look at DVD data, everything seems OK. Analysis is correct.
Any idea ?
Another thing I don't understand : The Browse button for selecting source says source "can be either a DVD or ts/mpg/iso file".
If I click on it, .ts files are not supported. Ok. So I select a .mpg file. Then HB complains about "No title found".
I really don't understand ...
Thank you.
I assume you mean the GUI is creashing? Any Error messages or is it locking up? Remember, the GUI wont respond to you until hbcli.exe has terminated. ( which happens after the scan is completed - You'll see the Command Prompt windows disappear when this happens)I just discover Handbrake and start to test it.
I have a few DVD ripped on my hd. Most of them contain 1 title, movie only, 1 audio and subtitles.
Every VIDEO_TS directory I try ends with a crash. I get the message about the CLI scanning the source. Then crash.
If I reopen HB and look at DVD data, everything seems OK. Analysis is correct.
Another thing I don't understand : The Browse button for selecting source says source "can be either a DVD or ts/mpg/iso file".
If I click on it, .ts files are not supported. Ok. So I select a .mpg file. Then HB complains about "No title found".
I really don't understand ...
1. Theres an issue with .ts extensions. Seems to have croped up in the last few builds before release
A simple fix is to simply navigate to the folder where it is and simply type the filename in by hand. (I'll have this sorted in 2.41)
2. mpg / ts / vob support in handbrake is very limited. It will only accept 2048 byte block formatted files. (e.g from from a DVB TV Capture Card)
Me too
I'm not sure this is an exact match on the topic or not, but I'm having the same problem. I'm running HB 0.9.0 (GUI version) on a brand new iMac. Every time I select the DVD and HB begins to scan, it crashes within about 2 seconds. It never finishes scanning, so I never get to change settings or anything else. It does this for any DVD (well, I've tried two, and my old copy of Instant Handbrake works fine on both). I have tried deleting the Handbrake.plist file from the Preferences folder, and I even deleted the ~/Library/Application Support/Handbrake folder. Nothing works, and this problem is 100% reproduceable.
Any ideas? Suggestions? Thanks.
Any ideas? Suggestions? Thanks.
Right, the GUI is crashing. No error message, just closing.sr55 wrote:I assume you mean the GUI is creashing? Any Error messages or is it locking up? Remember, the GUI wont respond to you until hbcli.exe has terminated. ( which happens after the scan is completed - You'll see the Command Prompt windows disappear when this happens)
hbcli terminates his job correctly because when I reopen the GUI and look at last DVD data, the log corresponds to the previous source.
So I presume hbcli works fine but when the GUI gets back, it fails.
If you want me to test anything, don't hesitate, as I would really like to test your app to eventually drop MeGUI
I will try with others PC ...
Re: Me too
What's in the crash log (as provided to you by the crash reporter)?nicheuser wrote:I'm not sure this is an exact match on the topic or not, but I'm having the same problem. I'm running HB 0.9.0 (GUI version) on a brand new iMac. Every time I select the DVD and HB begins to scan, it crashes within about 2 seconds. It never finishes scanning, so I never get to change settings or anything else. It does this for any DVD (well, I've tried two, and my old copy of Instant Handbrake works fine on both). I have tried deleting the Handbrake.plist file from the Preferences folder, and I even deleted the ~/Library/Application Support/Handbrake folder. Nothing works, and this problem is 100% reproduceable.
Any ideas? Suggestions? Thanks.
You can also find them after the fact in:
/Users/<your username>/Library/Logs/CrashReporter/HandBrake.crash.log
Cheers, Ed.
Ed,
Here's the crash log. I omitted a bunch of extra stuff after the "Binary Images Description" header, but I can post that if it's important.
[/code]
Here's the crash log. I omitted a bunch of extra stuff after the "Binary Images Description" header, but I can post that if it's important.
Code: Select all
Host Name: iMacCinema
Date/Time: 2007-08-20 17:43:06.189 -0600
OS Version: 10.4.10 (Build 8R4031)
Report Version: 4
Command: HandBrake
Path: /Applications/HandBrake.app/Contents/MacOS/HandBrake
Parent: WindowServer [59]
Version: 0.9.0 (2007081900)
PID: 1768
Thread: 6
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xffffffff
Thread 0:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.HIToolbox 0x92df29b8 RunCurrentEventLoopInMode + 285
4 com.apple.HIToolbox 0x92df20c2 ReceiveNextEventCommon + 385
5 com.apple.HIToolbox 0x92df1f19 BlockUntilNextEventMatchingListInMode + 81
6 com.apple.AppKit 0x93279465 _DPSNextEvent + 572
7 com.apple.AppKit 0x93279056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
8 com.apple.AppKit 0x93272ddb -[NSApplication run] + 512
9 com.apple.AppKit 0x93266d2f NSApplicationMain + 573
10 org.m0k.handbrake 0x00002472 _start + 216
11 org.m0k.handbrake 0x00002399 start + 41
Thread 1:
0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7
1 libGLProgrammability.dylib 0x941a5a4f glvmDoWork + 150
2 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x90037b57 mach_wait_until + 7
1 libSystem.B.dylib 0x9003a222 usleep + 82
2 org.m0k.handbrake 0x0002a0a8 hb_snooze + 39 (ports.c:82)
3 org.m0k.handbrake 0x0002094f thread_func + 352 (hb.c:912)
4 org.m0k.handbrake 0x0002a6e8 hb_thread_func + 73 (ports.c:270)
5 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x90026d5c kevent + 12
1 ...ple.CoreServices.CarbonCore 0x90cb8e44 PrivateMPEntryPoint + 51
2 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 4:
0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7
1 ...ple.CoreServices.CarbonCore 0x90cb8fea MPWaitOnQueue + 198
2 com.apple.DesktopServices 0x9271c953 TNodeSyncTask::SyncTaskProc(void*) + 143
3 ...ple.CoreServices.CarbonCore 0x90cb8e44 PrivateMPEntryPoint + 51
4 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 5:
0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7
1 com.apple.Foundation 0x9284b26c -[NSConditionLock lockWhenCondition:] + 39
2 com.apple.AppKit 0x93350284 -[NSUIHeartBeat _heartBeatThread:] + 377
3 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
4 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 6 Crashed:
0 org.m0k.handbrake 0x0002b378 hb_dvd_title_scan + 446 (dvd.c:163)
1 org.m0k.handbrake 0x00031c00 ScanFunc + 194 (scan.c:68)
2 org.m0k.handbrake 0x0002a6e8 hb_thread_func + 73 (ports.c:270)
3 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 6 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x0002b1d1 ecx: 0x00b0eae0 edx: 0x00000000
edi: 0x00000084 esi: 0x1546f920 ebp: 0xb02a1a18 esp: 0xb02a1530
ss: 0x0000001f efl: 0x00010206 eip: 0x0002b378 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0x494fff org.m0k.handbrake 0.9.0 (2007081900) /Applications/HandBrake.app/Contents/MacOS/HandBrake
0xd1a000 - 0xd37fff GLRendererFloat /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x1d35000 - 0x1e9efff GLEngine /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x150eb000 - 0x1531cfff com.apple.ATIRadeonX2000GLDriver 1.5.6 (5.0.6) /System/Library/Extensions/ATIRadeonX2000GLDriver.bundle/Contents/MacOS/ATIRadeonX2000GLDriver
0x153ec000 - 0x153edfff com.apple.URLMount.CIFSPlugin 1.2.5 /System/Library/Filesystems/URLMount/smb.URLMounter/Contents/MacOS/smb
0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
The crash is here:
So it looks like more error detection and recovery is required. Something that is on my plate for the next release. Essentially the DVD format isn't quite right, which we are trusting, and walking off into invalid memory areas. We need to validate the values before using them.
As to why this didn't happen with an older release with the same titles I can't say.
I've opened a bug report on this and assigned it to myself:
http://handbrake.m0k.org/trac/ticket/65
Cheers, Ed.
Code: Select all
/* Get pgc */
pgc_id = vts->vts_ptt_srpt->title[title->ttn-1].ptt[0].pgcn;
pgn = vts->vts_ptt_srpt->title[title->ttn-1].ptt[0].pgn;
d->pgc = vts->vts_pgcit->pgci_srp[pgc_id-1].pgc;
/* Start cell */
>>> title->cell_start = d->pgc->program_map[pgn-1] - 1;
title->block_start = d->pgc->cell_playback[title->cell_start].first_sector
As to why this didn't happen with an older release with the same titles I can't say.
I've opened a bug report on this and assigned it to myself:
http://handbrake.m0k.org/trac/ticket/65
Cheers, Ed.
-
- Posts: 1
- Joined: Fri Aug 24, 2007 6:50 pm
I'm having the exact same problem
Funny thing is that when I run HB for Win 2.25 everything works perfectly. When I uninstall 2.25 and install 2.40 I get the same problems as those above (instant failure with no error codes). When I uninstall 2.40 and reinstall 2.25 everything works again. I really miss the templates you had in 2.25 and took out in 2.40, for the iPod. It is easy for me to go in and create them in 2.40 but a user that is new to 2.40 wouldn't know what they were missing. The old templates worked perfectly based on the video format. The new iPod templates don't work out of the box. They require user interaction. Which might be okay for non-novice users. Just my feedback. If I can provide any testing, debug info or feedback please let me know. I have 4 different boxes I run HB on.
Question: Would it be possible for me to use the 2.25 GUI but update the CLI without breaking anything?
Tony Maupin
Question: Would it be possible for me to use the 2.25 GUI but update the CLI without breaking anything?
Tony Maupin