Give regexp that crash
I want to make my Java regex class interesting, even exciting.
Not by the volume of the regex pattern string, but by its inherent malign logic, the regexp I want should crash, i.e. overflowing stack, causing memory shortage or causing anything horrible.
I have searched the forum but not found nifty example(s).
I expect some real genius could give it/them on this thread.
Thanks in advance.
The regexes in both of those bug reports demonstrate two common mistakes. The first, as you said, is that they employ alternation when they should be using something more efficient. In each of those cases, every alternative matched exactly one letter, which means they should have been using a simple character class instead. When you're searching for multi-character sequences, you should look for opportunities to minimize the scope of the alternation, but don't bend over backward; readability matters, too. However, if you can factor out a prefix, you probably should. For instance, if you were looking for "you", "your" or "yourself", the regex you(r(self)?)? would be much more efficient than you|your|yourself.
The other mistake shown in both reports is the misuse of quantifiers in combination with parentheses. In each case, there's a subexpression inside a set of parens that matches exactly one character, and a quantifier outside the parens. Never do that. Parenthesized groups, even the non-capturing variety, always increase the overhead cost of regex matching; to put parens around a single character probably increases the cost of matching each character by several times, and capturing groups are even more expensive. Either get rid of the parentheses or put the quantifier inside them.
I wouldn't advise regex newbies to be as specific as possible all the time because it's too easy to create a regex that misses some of the things you want to match. But they should definitely learn how be specific, and not rely on the old dot-star all the time. In fact, for the sake of learning, I recommend trying to write all your regexes first without using the dot metacharacter at all. But in the real world, it usually works well enough.
As an example, suppose you're trying to extract certain parts of a bunch of reasonably well-formed web pages. How would you extract the HEAD section of each one? The BODY section? Finally, how would you extract all the SCRIPT sections from each page? The HEAD section can be fairly large, but it usually makes up a small portion of the whole page. If you used (?is)<HEAD>.*</HEAD>, the dot-star would consume the whole page, then backtrack one character at a time through the whole BODY section--a ridiculous waste. It makes much more sense to use a reluctant quantifier: (?is)<HEAD>.*?</HEAD>. It's not the most efficient way to do it, but it's probably good enough.
The BODY section is just the opposite. This time, you want the dot-star to gobble everything up, because you know it will only have to backtrack a few characters from the end of the page, so (?is)<BODY\b.*</BODY> is exactly what you want.
SCRIPT elements are a whole different story. They can be completely empty or thousands of characters long, and there can be a lot of them. This time, it's worth the effort to disable backtracking completely, and the inherent inefficiency of reluctant quantifiers will be too expensive. This is when you inject the nitrous oxide: (?is)<SCRIPT\b(?:[^<]++|<(?!/SCRIPT>))*+</SCRIPT>
Similar Messages
-
Help my safari doesnt open and gives me a crash report
help my safari doesn't open and gives me a crash report ever since i downloaded a file from the internet. I have a macbook air (early 2014) with running os x yosemite version 10.10.1
There is no need to download anything to solve this problem.
You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
Back up all data before making any changes.
Besides the files listed in the linked support article, you may also need to remove this file in the same way:
~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates
if it's not already checked. -
When i open firefox i get the message Firefox has stopped - A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
I've also tried to go in safe mode. It would crash and give me the same message.
I've tried opening it by right clicking and clicking run as administrator. It opens then and i tried the solutions it says on the forum to do in safe mode and none of those work.
I have deleted and reinstalled firefox multiple times.
Nothing seems to work.
Also it doesnt give me a crash report.
I troubleshot it and it said "Issue found incompatible application detected " then it says "incompatible application - firefox is incompatible"The problem began because my computer had to be sent in because it wouldnt turn on so i had to get it fixed they replaced the motherboard this was the second time the motherboard was replaced and once they did that my firefox hasnt worked the same. I can go on google chrome but thats not what i prefer to use.
& when i right click on firefox it says troubleshoot so im assuming its built in to my computer. im not sure.
I tried the profile manager to create a new profile and that has seemed to work so far. No crashing but it does freeze when i got to facebook and then i have to click ctr alt delete to open task manager to end firefox. It happened twice, the third time i went to google, then twitter and it didnt freeze. I then went to youtube and it froze. So Facebook and youtube make it freeze. Any idea why it does that?
& thank you so much for helping and responding to me. -
I have an app called Astrogold that crashes when I run one function, but no one else I know with the same app experiences the crash. The app writes several different reports, and gives the option of sending them as PDF files. All the other reports generate fine, but one of them....and that one crashes the app while it is trying to generate the report.
Note: it only crashes the display. If I double click the home button I see the app itself is still running.
I checked my Diagnostics & Usage data, and noticed that every time the app crashes a LowMemory report is created. I looked at the LowMemory report and see that the Largest process is Astrogold. But I don't see any reports with the name of the app itself.
I have an iPhone 5c, and according to iTunes I have 2.25 GB Free.
Below is the actual LowMemory report. Can anyone make any suggestions?
name":"astrogold","bug_type":"109","os_version":"iPhone OS 7.1.2 (11D257)","bundleID":"com.esotech.astrogold","version":"4.2.4 (4.2)","app_name":"astrogold"}
Incident Identifier: 257B47E8-3A4D-4C64-8E9F-71D33C905548
CrashReporter Key: cfa389285f4559a21d797bfeec6a78c584e798d6
Hardware Model: iPhone5,4
Process: astrogold [18906]
Path: /var/mobile/Applications/D8301675-652C-4472-A168-CF3F141C5F58/astrogold.app/ast rogold
Identifier: com.esotech.astrogold
Version: 4.2.4 (4.2)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-08-31 13:15:13.616 +0800
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x399a51f0 0x39992000 + 78320
1 libsystem_pthread.dylib 0x39a0d7b2 0x39a0a000 + 14258
2 libsystem_c.dylib 0x39955ff4 0x3990c000 + 303092
3 libsystem_malloc.dylib 0x399ccd20 0x399ca000 + 11552
4 libobjc.A.dylib 0x393f73a4 0x393ed000 + 41892
5 libobjc.A.dylib 0x393ffb66 0x393ed000 + 76646
6 astrogold 0x001be574 0xe2000 + 902516
7 astrogold 0x001be774 0xe2000 + 903028
8 astrogold 0x001a2910 0xe2000 + 788752
9 astrogold 0x001a40fa 0xe2000 + 794874
10 UIKit 0x315ba174 0x3147c000 + 1302900
11 UIKit 0x315613d6 0x3147c000 + 938966
12 UIKit 0x31560c2c 0x3147c000 + 937004
13 UIKit 0x314872e0 0x3147c000 + 45792
14 QuartzCore 0x31103316 0x310f7000 + 49942
15 QuartzCore 0x310feb3a 0x310f7000 + 31546
16 QuartzCore 0x310fe9cc 0x310f7000 + 31180
17 QuartzCore 0x310fe3e0 0x310f7000 + 29664
18 QuartzCore 0x310fe1f2 0x310f7000 + 29170
19 QuartzCore 0x310f7f18 0x310f7000 + 3864
20 CoreFoundation 0x2ec20ff6 0x2eb81000 + 655350
21 CoreFoundation 0x2ec1e982 0x2eb81000 + 645506
22 CoreFoundation 0x2ec1ecce 0x2eb81000 + 646350
23 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
24 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
25 GraphicsServices 0x33af86ce 0x33aef000 + 38606
26 UIKit 0x314ea86c 0x3147c000 + 452716
27 astrogold 0x000e9136 0xe2000 + 28982
28 libdyld.dylib 0x398eeab4 0x398ed000 + 6836
Thread 1:
0 libsystem_kernel.dylib 0x39992804 0x39992000 + 2052
1 libdispatch.dylib 0x398e1050 0x398d9000 + 32848
2 libdispatch.dylib 0x398db2de 0x398d9000 + 8926
Thread 2:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 Foundation 0x2f57d492 0x2f572000 + 46226
7 Foundation 0x2f5ce254 0x2f572000 + 377428
8 astrogold 0x00408f30 0xe2000 + 3305264
9 Foundation 0x2f63fa0a 0x2f572000 + 842250
10 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
11 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
12 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 Foundation 0x2f5ca23c 0x2f572000 + 361020
7 Foundation 0x2f63fa0a 0x2f572000 + 842250
8 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
9 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
10 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x399a5434 0x39992000 + 78900
1 CoreFoundation 0x2ec244de 0x2eb81000 + 668894
2 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
3 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
4 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 5:
0 libsystem_kernel.dylib 0x399a5c70 0x39992000 + 81008
1 libsystem_pthread.dylib 0x39a0ac1e 0x39a0a000 + 3102
2 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 6:
0 libsystem_platform.dylib 0x39a069a6 0x39a05000 + 6566
1 libobjc.A.dylib 0x393ffad6 0x393ed000 + 76502
2 CoreFoundation 0x2eb86140 0x2eb81000 + 20800
3 CoreFoundation 0x2eb8c0dc 0x2eb81000 + 45276
4 CoreFoundation 0x2eb9f6e4 0x2eb81000 + 124644
5 astrogold 0x0019ed06 0xe2000 + 773382
6 Foundation 0x2f59a64c 0x2f572000 + 165452
7 Foundation 0x2f58a870 0x2f572000 + 100464
8 Foundation 0x2f62e740 0x2f572000 + 771904
9 libdispatch.dylib 0x398de25a 0x398d9000 + 21082
10 libdispatch.dylib 0x398df684 0x398d9000 + 26244
11 libdispatch.dylib 0x398df8d8 0x398d9000 + 26840
12 libsystem_pthread.dylib 0x39a0ac14 0x39a0a000 + 3092
13 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 7:
0 libsystem_kernel.dylib 0x399a5c70 0x39992000 + 81008
1 libsystem_pthread.dylib 0x39a0ac1e 0x39a0a000 + 3102
2 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 8:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2ebcd346 0x2eb81000 + 312134
6 CoreMotion 0x2f2484fc 0x2f20f000 + 234748
7 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
8 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
9 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 9 name: WebThread
Thread 9:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 WebCore 0x36ebfc70 0x36e01000 + 781424
7 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
8 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
9 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 10 name: JavaScriptCore::BlockFree
Thread 10:
0 libsystem_kernel.dylib 0x399a4f2c 0x39992000 + 77612
1 libsystem_pthread.dylib 0x39a0bf62 0x39a0a000 + 8034
2 libsystem_pthread.dylib 0x39a0cd9c 0x39a0a000 + 11676
3 JavaScriptCore 0x2fbb8308 0x2fba6000 + 74504
4 JavaScriptCore 0x2fbb5970 0x2fba6000 + 63856
5 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
6 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
7 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 11 name: JavaScriptCore::Marking
Thread 11:
0 libsystem_kernel.dylib 0x399a4f2c 0x39992000 + 77612
1 libsystem_pthread.dylib 0x39a0bf62 0x39a0a000 + 8034
2 libsystem_pthread.dylib 0x39a0cd9c 0x39a0a000 + 11676
3 JavaScriptCore 0x2fd56cb2 0x2fba6000 + 1772722
4 JavaScriptCore 0x2fd56d0c 0x2fba6000 + 1772812
5 JavaScriptCore 0x2fbb5970 0x2fba6000 + 63856
6 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
7 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
8 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x27d1f553
r4: 0x00000006 r5: 0x3b90118c r6: 0x0000000b r7: 0x27d1f5bc
r8: 0x0000000b r9: 0x00000001 r10: 0x00626000 r11: 0x00000000
ip: 0x00000148 sp: 0x27d1f5b0 lr: 0x39a0d7b7 pc: 0x399a51f0
cpsr: 0x00000010
Zane B Stein
("os_version":"iPhone OS 7.1.2 (11D257)","version":"104","bug_type":"198"}
Incident Identifier: 3526E805-4C03-4956-83B6-2A4AB95B9EE4
CrashReporter Key: cfa389285f4559a21d797bfeec6a78c584e798d6
Hardware Model: iPhone5,4
OS Version: iPhone OS 7.1.2 (11D257)
Kernel Version: Darwin Kernel Version 14.0.0: Thu May 15 23:10:37 PDT 2014; root:xnu-2423.10.71~1/RELEASE_ARM_S5L8950X
Date: 2014-09-02 14:24:12 +0800
Time since snapshot: 220 ms
Free pages: 1448
Active pages: 17896
Inactive pages: 9268
Speculative pages: 11
Throttled pages: 209561
Purgeable pages: 261
Wired pages: 21682
File-backed pages: 26187
Anonymous pages: 988
Compressions: 456385
Decompressions: 85356
Compressor Size: 44
Uncompressed Pages in Compressor: 59
Largest process: astrogold
Processes
Name <UUID> rpages recent_max fds [reason] (state)
CloudKeychainPro <b9fbb8e4989732709cb18c481dfa61a9> 108 108 200 (daemon) (idle)
mediaremoted <051ef8b6e7c93fa49a0a2e15ea6e1f52> 193 193 200 (daemon) (idle)
MobileGestaltHel <c3c9c32948fe364f8103dd528164b610> 123 123 200 (daemon) (idle)
DuetLST <89027d811bd73931a4d45f71c9bbebc7> 472 472 200 (daemon) (idle)
itunesstored <00f47fa85c623cee9d55c9b004ba561d> 1426 1426 200 (daemon) (idle)
lsd <8d2569b7b89033328609c73d07410b55> 149 149 200 (daemon) (idle)
sandboxd <712c543459bf3d81b0ec88bba199d802> 96 96 200 (daemon) (idle)
geod <6e5e9ae33f8638b7be848eac2c1ef70b> 166 166 200 (daemon) (idle)
assetsd <6f28405c4c1b35e9aff946c1c4799c0f> 868 868 200 (daemon) (idle)
installd <185a1eaa735b3aa38d98092ba8493ba0> 201 201 200 (daemon) (idle)
securityd <47657a3a48573d6a8e52ef4cc868248c> 617 617 200 (daemon) (idle)
networkd_privile <234d3717143e3bbba12acc5de334deaf> 81 81 200 (daemon) (idle)
accountsd <5a5640b47fe637bebb6254deff26eaee> 438 438 200 (daemon) (idle)
routined <d5590a1879153ed284886271907ea8fa> 344 344 200 (daemon) (idle)
EscrowSecurityAl <d0a689490be631efac2c764fe93300dc> 166 166 200 (daemon)
mstreamd <a2bb6401f1d63c7aa320a817d8839522> 406 406 200 (daemon)
tccd <ad9819a843e93a1680335febb52c7cc3> 227 227 200 (daemon)
kbd <eba296f6bd4938688fa16a5e39fa477c> 2319 2319 200 (daemon)
CVMServer <c95a902a5ae331c2a5239b6cf98a0617> 89 89 200 (daemon)
astrogold <58c53f7c8e8931ec823713195426f59c> 166401 166401 200 [per-process-limit] (frontmost) (resume)
identityservices <d1b907f8a41e3ebd9f270aa846040b07> 581 581 100 (daemon)
wifid <2b4c0ddf1a8439838868bf2be61d8bf1> 1286 1286 25 (daemon)
syslogd <5c06b8eec36032b49cc9421348ba47ea> 132 132 50 (daemon)
locationd <b813efaa4a6a314cafdbbd9b88c30796> 1732 1732 100 (daemon)
powerd <bd077d109d773bcd9041153b30ea034a> 128 129 100 (daemon)
imagent <79bd0fedda583ae3822051093f7681b5> 571 571 100 (daemon)
vmd <f44f0a6a37293606865eb8862c10b653> 188 188 100 (daemon)
iaptransportd <818588012ed93eb7a10ccb22d8acadfe> 223 223 50 (daemon)
mediaserverd <e40c7476d9fe3d759bfd28b8d68dc7ba> 2233 2233 200 (daemon)
mDNSResponder <60e905f9582a3090ab6e7a257454389e> 226 226 100 (daemon)
apsd <b7e19d27180e34aba845e475eae7d3db> 510 510 100 (daemon)
dataaccessd <fdf81960fb903bd68616117fd29ce277> 2563 2563 200 (daemon)
sharingd <2c731a1c182637a39b004694b2a5e23d> 508 508 50 (daemon)
mobileassetd <08440fa17b3537afb347cf78aa039a67> 565 565 200 (daemon)
SpringBoard <f73e83ffc898302394baa2042ca232fd> 9211 9211 100
backboardd <b5d33ca6da9c33d48e2c8ccb9930c3dc> 8716 8716 50 (daemon)
aggregated <3e381378eb7f3dd2846920cb5db91265> 523 523 50 (daemon)
lockdownd <d998e2bac7663966bd0285c07ed89111> 276 276 100 (daemon)
configd <20b29bb0286e347ebe7c42aa8ee421c9> 462 462 100 (daemon)
fseventsd <8876b6f5a0c13024a12cb3e148ddab61> 303 303 100 (daemon)
fairplayd.H2 <243ccf92ad4d34cbb4fdf7e078d55141> 130 130 100 (daemon)
wirelessproxd <47699be4861c30abbb375e1d3b9e15dc> 153 153 100 (daemon)
BTServer <51d0d4421dc73abf9d4844e2b155c340> 536 536 100 (daemon)
distnoted <7895f761ec323e31a356860060f8713d> 155 155 100 (daemon)
UserEventAgent <9aedc371d1c037e7b5d7b5577f0424a8> 756 756 100 (daemon)
WirelessCoexMana <f5dcce7805a9308bbbcf2d52751385ef> 132 132 100 (daemon)
networkd <148d4512d2c43efc95bafd487fd97f4a> 577 577 100 (daemon)
filecoordination <7b1b1b1b4fe0364c8e0adfd90f78b4a9> 207 207 200 (daemon)
medialibraryd <fdf252b3fb1a3646a836c0c3b5840464> 634 634 200 (daemon)
touchsetupd <0a4f35337aa13e55a3d7e56296499e14> 154 154 200 (daemon)
ubd <30a03e11a5c43c7cbd6ecd1aaef27841> 470 470 200 (daemon)
CommCenter <463e099ed64e30ad9433b8ea3f4a4e94> 2039 2039 100 (daemon)
notifyd <5b4c0731afd533179b295e4f39e589d6> 335 335 100 (daemon)
**End**
<Post Edited By Host>Thank you for your reply.
>You can double-click the home button and then swipe upwards on the thumbnail of the app to force it closed.
Did that
>After that, power the phone off and back on again, test.
Did that
>If still a problem, force close the app again and then reset the phone, holding the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot, test.
Did that
>If still a problem, then connect the device to iTunes and restore from backup.
Did that
>If that does not work, it is possible there is something corrupt in the backup. The final step is restore as new, not from a backup.
This is the only thing I had not done before I posted my initial request for help. I will work on that....it's a last resort I was hoping not to do, but it sounds like I've already done everything else.
Thank you. -
How do I find/restore files from items in secure (File Vault) home folder? How do I find/restore files that crashed when in finder of secure (File Vault) home folder? When I go into Time Machine, I see earlier dates but can't see files in my User File. I have File Vault turned on and see my home folder as a sparsebundle. Do I neede to restore this in order to see files in my home folder. When I click on it to restore it gives me an estimated time of over 2 hours. Also tried to restore an Excel file I was working on when computer hung, so lost it without saving or naming it. Does it exist anyplace and can I restore it?
Thanks. I had pretty much figured out from other posts that I had better turn off File Vault for my home folder and use a disk utility sparse bundel for little information I wanted to secure. The information about File Vault 2 in Lion was new and useful though.
-
okay so my cousin downloaded a bunch of songs to my ipod and i couldnt listen to them so i decided to sync my ipod, i thought everything went well but i guess i was wrong because i saved all my apps to my laptop and my music also. but now i cant get any of it back on my ipod it says i have to authorize my computer so when i go to itunes and attempt to authorize my laptop it doesnt give me that option ive tried everything someone please help thanks...
Open itunes, Click the word Store at the top of your computer screen
On a windows computer, if it does not show, then click Alt-S -
Problem With Remote, and strange error that crashes diagnos
Hey guys. I'm a n00b to the forum, but I think this is my best hope. I'm having this problem getting my remote to work, and I'm getting an error that appears to common, but I haven't been able to find a solid solution. I can't do a reload, since I have savegame files that can't be backed up, and a large home-video backup on this computer. I don't have enough DVDs to back it all up onto. The one thing that I REALLY want to work is the Remote. For some reason it won't work. I know it isn't the battery, because it worked fine before I reloaded this system last (September?), and I have tried a new battery in it. I've also tried turning up the sensitivity settings. I've noticed the red light occaisionally flickers on the Creative Hub thing when I'm not even touching the remote. When I try to run the diagnostic program I get an error (The instruction at "0x77f536f7" memory "0x00000000". The memory could not be "written". Click OK to Terminate the program, or Click CANCEL to Debug the program) I've tried clicking CANCEL on this, and that does nothing but pop up the error message (The instruction at "0x084c42f" referenced memory at 0x00000008". The memory could not be "read". Click OK to terminate the program). Clicking OK on the previous window also gives you that error. Clicking OK on the error just mentioned closes down the diag program. I've tried using the Restore Defaults option, and that didn't fix the problem either. I've also run DocMemory on my computer, and according to it, my RAM is fine. As far as product updates go, I've downloaded them all and installed them all too. Everything works but the remote... and I think it may be partially b/c of the supposed RAM-based error. I haven't tried running it in safe mode yet... I'll try that and get back to you ASAP.
--> Creative Soundblaster Audigy 2 ZS Plat. Pro.
--> 52mb OCZ DDR400.
--> AMD 64 3000+
--> 20gig WD HDD
--> 28mb PowerColour ATi Radeon 9200se
--> Asus WiFi B
--> XP Home
I'm a huge computer junkie so feel free to go technical on me. Hopefully somebody can fix my problem.
Thanks,
-Richard-
btw: I often see these same errors when shutting down my computer.
[EDIT: 2/26/2004 @ 0:43PM]
Okay, I just tried running the diag in safemode... still came up with the errors.
-Richard-Message Edited by wardrich on 2-27-2004 03:40 AMWardrich,
There are a couple of things I would suggest. First off I would make sure that the remote control is enabled in Mediasource, it is not by default. To do this go into Mediasource and go to Tools/Settings. In here there is a remote control tab. Make sure the remote and the OSD is enabled in here. If it is then we need to look at doing a cleansweep and reinstall of the card. Here are the instructions on cleansweeping the card:
http://forums.americas.creative.com/...&message.id=72
Jeremy -
I'm new to Mac. I have an iPhone and a Mac Mini. My original iTunes was on a Windows computer that crashed. So, all of my iTunes Music and Movies are gone. How do I get the movies and music from my iPhone to the new Mac Mini?
If you still have the crashed Win computer, you may be able to recover your music and movies from the hard drive. If you have a friend with a hard drive USB connection kit and a PC, they should be able to help. Otherwise, check locally for computer services that might do that for you (I think Best Buy Geek Squad may be able to help). If the drive itself is in good shape, it shouldn't be too expensive.
-
I had my ipod 4gen itunes on a computer that crashed. With the new computer I update it to the lastest version. I hit the wrong transfer button and lost everything. How do I get my old songs, apps, and money back from my old account, if thats possible?
I cant find any of my recently bought songs or the apps i have purchased. When I was updating my ipod there was a button that asked about transfering purchases and I didnt read it, and I didnt update manually so i think thats why i lost everything. I clicked on the intrustions and clicked on apps and i coulnt find any of my old stuff.
-
Need to backup and remove photo library from my iphone. This library was previously backup on a hard drive that crashed. So these photos are only in the photo library and not in the camera roll. If I do a full backup, it only takes the camera roll.
So this is a 2 part question:
1) how to I backup the Photo Library to my new hard drive (as the last one was unrecoverable but previously backed up)
2) how do I remove the Photo Library form my phone (preferably after backup in item 1)
Thanks, JanisSince it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer. As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
You can try and find 3rd party applications that might help you. I'm sure you'll pay, however.
Let this be a very important lesson learned.
Best. -
I have a project that crashed on me when I was about to finish it. When I try to reopen Final Cut Pro it wouldn't open until I took the project out of the Final Cut Project folder. Can somebody tell me if this is a problem that has a solution? I cannot go back to the project at all.
If you are using 10.0.3 or above Apple added a backups folder that for a little extra protection in cases like this. If you quite FCPX go to your Final Cut Pro Projects folder. Find the folder that has the project in question. If it has a backups folder there should be a file with a date stamp and .fcpproject extention, that is your back-up. Just move the back-up from that folder one folder up to the place where you deleted CurrentVersion.fcpproject from. When I have had to do this I haven't renamed the backup but some people to recomend that you rename it to CurrentVersion.fcpproject and it seems to work both ways. Ofcourse it wont work if there is already a CurrenVersion file there you will need to delete that one first.
If you don't have the backups folder or there is nothing in it I am not sure if there is anything that can be done. -
How do I deactivate a license from a computer that crashed and can no longer be accessed?
How do I deactivate a license from a computer that crashed and can no longer be accessed? I cannot use the software on my new computer because of too many users.
Will you please provide a specific telephone number or chat link? I seem to be in a loop, that gets me back to the same place:
I click on your above link ...
Then Deactivation and sign-out problems
Then Error "Activation limit reached" or "Sign in failed" | Adobe products
Then Can't access your previous computer?
Then "Don't have access to the previous computer on which you installed the application?Contact us. Be sure to have any purchase-related information ready."
"Contact Us" takes me back to "Need help?", which eventually directs me to this forum in the first place.
Thanks you. -
I have a nano with 500 songs that was synced with my old computer that crashed. Bought a new computer, now my music is not in my iTunes library. I did the share thing but it didn't work.
http://www.yamipod.com/main/modules/home/
-
itunes was on mac book that crashed. Trying to move music and podcasts to wifes windows 7 pc. Followed all steps for importing purchased items. Only a portion of purchased music was transferred to new computer. What to do???
JustMeAndYou,
For what it's worth ...
Apple's policy is clear: iTS purchases can be downloaded only once. It is your responsibility to make back-ups . (For most people, this will involve either CD's/DVD's or an external drive .)
That being said, at their discretion they have made one-time exceptions to this policy. You can ask for an exception by submitting the form on this page:
http://www.apple.com/support/itunes/store/browser/
Good Luck! But whatever the response from Apple, remember:
Your music is valuable - please back it up! -
have a mac book pro that crashed. ran disk utility to repair. comp booted and ran for short time. then crashed. ran repair again. disk utility said it could not repair disk and needed to format and start again.
comp said it could not unmount disk and now when comp trys to boot all i get is a question mark on the screen. helpErase and Install
1. Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu.
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
4. Quit DU after formatting completes and return to the installer. Install Snow Leopard.
5. After restart into Snow Leopard download and install Mac OS X 10.6.8 Update Combo v1.1.
Maybe you are looking for
-
My hard drive failed and I had to replace it. I want to restore from time machine but there are some applications and folders I want to exclude from the back up. Is this possible?
-
How do I get Reader to open hyperlinks with Google Chrome
I'm using Adobe Reader X Version 10.1.3 on Windows 7 to open a PDF I've downloaded to my hard drive. The document opens fine and it has hyperlinks to sites on the internet. When I click one of these links, it opens Microsoft Internet Explorer to na
-
File missing in petstore1.4
Hi all, i unzipped the sample bundle of j2ee1.4 but i got an error while doing asant in the samples/bluprints/petstore1.4/src folder as the instructions say. The error is about java.io.FileNotFoundException: samples/common-ant.xml (No such file or di
-
How to activate Advanced Schedule on Requests and Jobs...
Hi All, I'm trying to create a custom schedule on a concurrent request that will run jobs on the "first Wednesday of every month". I assume this can only be done through the Advanced schedule option under Schedule but the Advanced schedule option und
-
CS4: importing/reimporting a graphic file into an existing pageitem
Hello,<br /><br />i have a porting problem from cs3 to cs4. i want to import a graphic in an existing pageitem.<br />cs2/cs3 code is the following:<br /><br />InterfacePtr<ICommand> reimportCmd(CmdUtils::CreateCommand(kReimportCmdBoss));<br />if(!rei