--- Log opened Sat Apr 12 00:00:09 2014 |
00:00 | <@celticminstrel> | Why would a vector destructor try to free memory that is not allocated... |
00:04 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
00:05 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
00:05 | | mode/#code [+o Orthia] by ChanServ |
00:18 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
00:18 | | mode/#code [+o himi] by ChanServ |
00:24 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
00:33 | | You're now known as TheWatcher[T-2] |
00:37 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
00:37 | | mode/#code [+o himi] by ChanServ |
00:39 | | You're now known as TheWatcher[zZzZ] |
00:53 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
00:53 | | mode/#code [+o JackKnife] by ChanServ |
01:11 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
01:11 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
01:35 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
01:38 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed] |
01:48 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
01:48 | | mode/#code [+o himi] by ChanServ |
01:50 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
01:55 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
01:55 | | mode/#code [+o Orthia] by ChanServ |
02:00 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
02:03 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has quit [Connection closed] |
02:18 | <@celticminstrel> | Valgrind is now outputting infinite "Signal 11 being dropped from thread 0's queue". |
02:26 | <@celticminstrel> | And I have no idea if anything is happening. |
02:32 | <~Vornicus> | Signal 11 is SIGSEGV, segmentation fault |
02:44 | <@celticminstrel> | So uh... |
02:44 | <@celticminstrel> | That probably means it's not doing anything. |
02:45 | <&McMartin> | You've got a null/wild pointer exception |
02:45 | <@celticminstrel> | And any output that might've pointed to the cause is lost, unless valgrind is writing to somewhere in addition to stdout. |
02:48 | | Netsplit *.net <-> *.split quits: @Syloq, @Orthia, @Ogredude, @Namegduf, @Alek, @gnolam, @McMartin, @JackKnife, froztbyte, ToxicFrog, (+2 more, use /NETSPLIT to show all of them) |
02:49 | | Netsplit over, joins: &ToxicFrog, @Orthia, &McMartin, @gnolam, @JackKnife, froztbyte, simon, @Ogredude, @Namegduf, @AnnoDomini (+1 more) |
02:49 | | Netsplit over, joins: Alek |
02:49 | | mode/#code [+o Alek] by ChanServ |
02:49 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
03:00 | <@celticminstrel> | And it took forever to get to this point in the first place; I had to click a total of seven buttons, and with valgrind it runs even slower than with Apple's instrumentation programs. |
03:03 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
03:03 | | mode/#code [+o himi] by ChanServ |
03:22 | <@celticminstrel> | Huh. It says there are two calls to operator new from my PICT load function. |
03:23 | <@celticminstrel> | One of them has an invalid source line. |
03:23 | <@celticminstrel> | (This is Apple's instrumentation, not valgrind.) |
03:23 | <@celticminstrel> | And comes from within shared_ptr. |
03:32 | <@celticminstrel> | Might be normal. |
03:34 | <@celticminstrel> | On the other hand, making it a bare pointer may have possibly fixed something. |
03:35 | <@celticminstrel> | On the other other hand, still getting strange inconsistent errors. |
03:35 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
03:35 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
03:35 | | mode/#code [+o Orthia] by ChanServ |
04:00 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
04:01 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
04:04 | <@celticminstrel> | On the other other other hand, at least they're in my code, roughly speaking. |
04:05 | <@celticminstrel> | ...then the next one I get, isn't. Sigh. |
04:07 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
04:07 | | mode/#code [+o macdjord] by ChanServ |
04:08 | | * celticminstrel tries running the static analyzer to see if it turns up anything useful. |
04:12 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
04:12 | | mode/#code [+o himi] by ChanServ |
04:13 | <@celticminstrel> | Nope. |
04:14 | <~Vornicus> | What precisely is going on here? |
04:19 | <~Vornicus> | I get the impression you're reading PICT resources, but I'm not entirely sure what you're doing that would cause this to spew pointermess everywhere. |
04:22 | <@celticminstrel> | The crash is happening after the PICT resource has been read. Exactly where varies; I thought it might be related to deleting the array in which I had temporarily stored the converted pixel data, though I think that's probably not the case now. |
04:23 | | gnolam_ [lenin@Nightstar-471pis.cust.bredbandsbolaget.se] has joined #code |
04:23 | | Serah [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
04:23 | | gnolam [lenin@Nightstar-471pis.cust.bredbandsbolaget.se] has quit [NickServ (RECOVER command used by gnolam_)] |
04:23 | | gnolam_ is now known as gnolam |
04:23 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Connection closed] |
04:23 | | mode/#code [+o gnolam] by ChanServ |
04:23 | | mode/#code [+o Serah] by ChanServ |
04:23 | <@celticminstrel> | I think the errors are always in the destructors of STL objects. Maybe in the constructors too sometimes. |
04:24 | | mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
04:24 | | mode/#code [+o mac] by ChanServ |
04:24 | <@celticminstrel> | Apparently other places too, but it seems to be consistently within the STL. |
04:24 | <@celticminstrel> | And I get SIGABRT. |
04:24 | <@celticminstrel> | According to the debugger. |
04:25 | <@celticminstrel> | Plus "incorrect checksum for freed object - object was probably modified after being freed." |
04:26 | <@celticminstrel> | Hm. |
04:26 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
04:26 | <@celticminstrel> | That could indicate writing past the end of a buffer, right? |
04:27 | <&ToxicFrog> | Usually if you are getting crashes inside the STL or libc or the like, it means you are doing something unheamy and trashing data structures it depends on, probably writing past the start/end of a buffer or chasing pointers to freed objects. |
04:27 | | HotShot [theeaznon@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
04:29 | <@celticminstrel> | I already installed a "guard" against reading past the end of the resource in memory, maybe I should try doing the same for the temporary pixel buffer. |
04:32 | | Serah [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
04:32 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
04:36 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has quit [Connection closed] |
04:37 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
04:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
04:44 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
04:46 | <@celticminstrel> | Looks like that's what was happening. |
04:47 | <@celticminstrel> | Oh! I know why. I allocated a number of bytes equal to the number of pixels. I need four times as much space. |
04:51 | | Turaiel[Offline] is now known as Turaiel |
04:55 | <@celticminstrel> | Apparently even that isn't enough. |
04:56 | <@celticminstrel> | Or I'm doing something else wrong. |
04:59 | <@celticminstrel> | I'm doing width * height * bytes per pixel, but it's still overflowing. |
05:00 | <@celticminstrel> | It's overflowing approximately halfway through. |
05:01 | <@celticminstrel> | (ie at scanline 36 of 72) |
05:04 | <@celticminstrel> | Oh, it's that issue again. |
05:04 | <@celticminstrel> | The one where I somehow only use every second pixel. |
05:04 | <@celticminstrel> | ...oh, duh. |
05:05 | <@celticminstrel> | I just realized why. |
05:06 | <@celticminstrel> | I was multiplying indices by 8 instead of 4. |
05:10 | | Kindamoody[zZz] is now known as Kindamoody |
05:10 | <@celticminstrel> | Sometimes the XCode debugger just sort of hangs and stops responding to requests to step, etc. |
05:10 | <@celticminstrel> | It's really annoying. |
05:13 | <@celticminstrel> | Works now, and the weird errors didn't happen either. |
05:23 | <~Vornicus> | hooray normal operation |
05:34 | <@mac> | celticminstrel: Well, of course it does. I mean, how can you debug the debugger~? |
05:34 | <@celticminstrel> | Pffft. |
05:38 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
05:51 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
05:51 | | mode/#code [+o himi] by ChanServ |
05:58 | <@celticminstrel> | Okay, the obvious way of opening a resource fork didn't work. |
06:11 | <@celticminstrel> | Oh yeah, is there a command I can use to filter the output of another command? |
06:12 | <@celticminstrel> | I can use grep, but it exits with a status code of 1 if no matches were found. I just want to filter, I don't care whether matches were found. |
06:12 | <@celticminstrel> | I need it to exit with a status of 0. |
06:14 | <@mac> | celticminstrel: There is no 'don't complain about not matching' flag? |
06:14 | <@celticminstrel> | I didn't find one. |
06:17 | <&McMartin> | Wrap grep in a script that then returns 0 |
06:18 | <@celticminstrel> | ...I could do that by defining a shell function, couldn't I? |
06:18 | <@celticminstrel> | ...hm, can I? |
06:20 | | * celticminstrel tries it. |
06:24 | <@celticminstrel> | As usual, the bash man-page fails me. |
06:26 | <@celticminstrel> | The answer seems to be yes. |
06:37 | | mac [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: "Too long have night and day warred, their false dichotomy plaguing this land. No more. I come now to put them both down, to usher in a new era of balance and peace. For now is the time of... /Twilight/. *And the Dusk shall Reign Eternal.*"] |
06:37 | <@celticminstrel> | With that, I sleep. Probably. |
06:41 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
06:46 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
06:50 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
07:29 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
07:29 | | mode/#code [+o macdjord] by ChanServ |
07:30 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: "Too long have night and day warred, their false dichotomy plaguing this land. No more. I come now to put them both down, to usher in a new era of balance and peace. For now is the time of... /Twilight/. *And the Dusk shall Reign Eternal.*"] |
07:36 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
07:39 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has joined #code |
07:40 | | mode/#code [+o macdjord] by ChanServ |
07:49 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
07:49 | | mode/#code [+o himi] by ChanServ |
08:00 | | Kindamoody is now known as Kindamoody|afk |
08:03 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
08:33 | | Turaiel is now known as Turaiel[Offline] |
08:49 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
08:51 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
08:54 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
08:54 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
09:08 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
09:08 | | mode/#code [+o JackKnife] by ChanServ |
09:22 | | macdjord is now known as macdjord|slep |
09:23 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
09:37 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:37 | | mode/#code [+o himi] by ChanServ |
09:42 | | You're now known as TheWatcher |
09:48 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
09:48 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
09:48 | | mode/#code [+o Orthia] by ChanServ |
10:47 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
10:50 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
11:01 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:01 | | mode/#code [+o himi] by ChanServ |
11:56 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
12:09 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
12:09 | | mode/#code [+o himi] by ChanServ |
12:24 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
13:04 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
13:17 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
13:17 | | mode/#code [+o himi] by ChanServ |
13:18 | | * McMartin writes out a couple pages of Scheme longhand |
13:32 | | Syka [the@Nightstar-3j1.p6c.166.101.IP] has joined #code |
13:33 | | Syka is now known as NSGuest63510 |
13:39 | | NSGuest63510 [the@Nightstar-3j1.p6c.166.101.IP] has quit [Ping timeout: 121 seconds] |
13:41 | | Syka [the@Nightstar-3j1.p6c.166.101.IP] has joined #code |
13:42 | | Syka is now known as NSGuest32344 |
13:46 | | NSGuest32344 [the@Nightstar-3j1.p6c.166.101.IP] has quit [Ping timeout: 121 seconds] |
13:59 | | Kindamoody|afk is now known as Kindamoody |
14:33 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
14:33 | | mode/#code [+o celticminstrel] by ChanServ |
15:06 | | Kindamoody is now known as Kindamoody|afk |
16:46 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
16:50 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
16:50 | | mode/#code [+o JackKnife] by ChanServ |
16:53 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
17:03 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
17:04 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
17:04 | | mode/#code [+o JackKnife] by ChanServ |
17:17 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.] |
17:26 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
17:27 | | mode/#code [+o JackKnife] by ChanServ |
17:55 | | Turaiel[Offline] is now known as Turaiel |
18:15 | <@AnnoDomini> | Is it silly to use "if (condition) { /* nothing */ } else { do_stuff(); }"? |
18:15 | <@Azash> | Some languages have the unless keyword |
18:15 | <&McMartin> | It's almost always better to do "if (!condition) { do_stuff(); }" |
18:15 | <@ErikMesoy> | Yes. I'd use "if not condition" or "if (!condition)" |
18:19 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
18:20 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
18:25 | <@celticminstrel> | Is there a way to git stash only a subset of the working copy changes? |
18:28 | <@celticminstrel> | Without staging the changes I don't want stashed? |
18:28 | <@celticminstrel> | (Though, staging them and then stashing does stash the staged changes, actually.) |
18:30 | <@celticminstrel> | ... |
18:30 | <@celticminstrel> | --patch |
18:30 | <@celticminstrel> | Why did I never notice this before. |
18:49 | | [R] is now known as Durnad |
18:49 | | ErikMesoy is now known as Bastard |
19:36 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [Connection closed] |
19:37 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code |
19:47 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [A TLS packet with unexpected length was received.] |
19:49 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code |
20:06 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [Connection closed] |
20:07 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code |
20:23 | <@celticminstrel> | Why is Firefox using 100%+ CPU. |
20:23 | <@Azash> | Flash, scripts, etc? |
20:23 | <@Azash> | Drawing lots of pretty pretty pictures? |
20:24 | < FurryHelix> | You've obviously enabled benchmark-mode. |
20:24 | | FurryHelix is now known as Tamber |
20:24 | | mode/#code [+o Tamber] by ChanServ |
20:25 | <@celticminstrel> | It doesn't seem to be Flash. |
20:25 | <@celticminstrel> | And if it's scripts, I have no known way of determining which scripts. |
20:26 | <@celticminstrel> | It couldn't be sync, could it? |
20:39 | | macdjord|slep is now known as macdjord|out |
20:45 | <@celticminstrel> | Sometimes I get unresponsive scripts with a chrome: address. |
20:46 | <@celticminstrel> | Like chrome://browser/content/browser.js |
20:51 | <@celticminstrel> | I don't really understand why the Flash installer requires me to quit Skype (which, as far as I know, doesn't use Flash) but not Steam (which definitely uses Flash). |
20:54 | < Durnad> | It's cause installers/uninstallers for Windows are universally made by the braindamaged. |
20:54 | <@Bastard> | s/by/for |
20:54 | <@celticminstrel> | This isn't Windows, but okay. |
20:56 | <@celticminstrel> | Does that error imply an extension is causing it? |
20:56 | <@celticminstrel> | Or is browser.js strictly Firefox stuff? |
20:56 | <@Azash> | https://www.youtube.com/watch?v=pjs0_0jeSqk |
21:08 | | Kindamoody|afk is now known as Kindamoody |
21:13 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
21:17 | <@celticminstrel> | Now it's saying tabbrowser.js (or was it xml) is unresponsive. |
21:26 | <@celticminstrel> | How likely is it that the number of tabs open is a significant factor...? |
21:26 | <@celticminstrel> | It's never been this slow before even with lots of tabs. |
21:26 | <@celticminstrel> | (Slow restoring them, that is; I restarted Firefox.) |
21:29 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds] |
21:33 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
22:07 | | Kindamoody is now known as Kindamoody[zZz] |
22:47 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
22:58 | | Bastard is now known as ErikMesoy |
22:58 | | Durnad is now known as [R] |
22:59 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds] |
23:07 | | ErikMesoy is now known as ErikMesoy|sleep |
23:44 | | macdjord|out is now known as macdjord |
23:47 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
--- Log closed Sun Apr 13 00:00:25 2014 |