Generate a stack overflow
location: linuxexchange.com - date: August 31, 2012
How to create the condition of stack overflow in GNU/linux?
stack overflow in linux kernel module
location: linuxquestions.com - date: September 20, 2004
I am writing a linux kernel module to find the mount point from 'struct file'. I get the 'f_vfsmnt struct' from 'struct file' and recursively use the 'dentry' structure and 'qstr' to get the mount point .
When i load the module, i am getting do_IRQ stack overflow error in my module and the system hangs after somtime.
Could someone help me with the reasons for stack overflow in kernel module or an alternate way to get the mount point from 'struct file' or filedescriptor.
I can post the code if needed.
JRE crash "an irrecoverable stack overflow has occurred"
location: ubuntuforums.com - date: January 7, 2012
When trying to run the PS3MediaServer app, I get
An irrecoverable stack overflow has occurred.
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007fb604c51bd6, pid=1445, tid=140419658548992
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.9.10
# Distribution: Ubuntu 10.04.1 LTS, package 6b20-1.9.10-0ubuntu1~10.04.2
# Problematic frame:
# C [jna5446313872804572983.tmp+0x6bd6] newJavaString+0x1b6
# An error report file with more information is saved as:
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Crashing the system. the output of /tmp/hs_err_pi
F# vs OCaml: Stack overflow
location: linuxexchange.com - date: September 30, 2011
I recently found a presentation about F# for Python programmers, and after watching it, decided to implement a solution to the "ant puzzle" on my own.
There is an ant which can walk around on a planar grid. The ant can move one space at a time left, right, up or down. That is, from cell (x, y) the ant can go to cells (x+1, y), (x-1, y), (x, y+1), and (x, y-1). Points where the sum of the digits of the x and y coordinates are greater than 25 are inaccessible to the ant. For example, the point (59,79) is inaccessible because 5 + 9 + 7 + 9 = 30, which is greater than 25. The question is: How many points can the ant access if it starts at (1000, 1000), including (1000, 1000) itself?
I implemented my solution in 30 lines of OCaml first, and tried it out:
$ ocamlopt -unsafe -rectypes -inline 1000 -o puzzle ant.ml
$ time ./puzzle
Neat, my result is the same as that of leonardo's implementation, in D and C++. Comparing to
Do *Practical* “Code Challenges” (not code golf) belong on Stack Overflow? [closed]
location: linuxexchange.com - date: January 5, 2010
[Edit: Old question - Oct. 08, pre-bounty - transfered from SO]
You heard it first from Jeff (podcast 19, around 28:00)
the audience of people that read Coding Horror and the audience of people that read Joel on Software are already fairly elite in the programmers.
And then again late September, in podcast 23 at 14:50:
Jeff: Stackoverflow is really for the elite developers in my opinion
So here you go. If you are here because you read one or both of those blogs, I bow before your awesomeness.
You are an elite programmer.
[Humor inside of course, both from Jeff in his podcast, and from me for this topic, do not take this seriously ;)]
You can talk the talk (and spray some quick answers with a few links, a wikipedia reference and some thoughts, for quick rep' gains)
BUT CAN YOU WALK THE WALK ?
Enter the "code-challenge".
A code-challenge is not:
a Puzzle game, we are talking about practical problems here
a bounty system (should it be implemented) wher
Has anyone ever hacked Stack Overflow?
location: linuxexchange.com - date: November 24, 2013
While chatting with friends about hacking, a guy said that "if a site is getting popular/ or any competitive, it will somehow face severe hacks. Some used to expose it, others hide it".
Out of curiosity I wanted to see if any such thing happened to Stack Overflow. Since Stack Exchange (being 5 years old) is the biggest network among professionals with more visitors, I started googling to find whether or not any hacks happened here. But I couldn't find such stories.
Though this question appears pretty non-constructive/off-topic, I would like to know if any hack has ever been attempted or exposed? Without having SSL, how are they maintaining/preventing hacks?
Where can I ask questions that don't fit or are offtopic for Stack Overflow?
location: linuxexchange.com - date: May 12, 2014
Thank you for your confidence in our abilities! But have you looked at the Stack Overflow Help Center?
Even though we get a lot of IT/network/computer/technical questions here, Stack Overflow is meant to be first and foremost a programmer's resource.
Other avenues more focused to your topic can give you a much better answer than a munching bunch of programmers. It's also likely that your non-programming question may be downvoted, closed, and in some cases marked "offensive."
It's not that we hate you, it's just that we're programmers and we like to keep our corn pops separate from our cocoa puffs.
In that vein, where can you turn to? What forums can people go to to ask the questions that are off topic here?
Return to FAQ index
What's the difference between Usenet and Stack Overflow? (From an old man that only knows Usenet)
location: linuxexchange.com - date: March 31, 2012
What's the difference between Usenet and Stack Overflow?
I heard that Usenet shaped the Internet to be a liberal place where every voice got to be heard. Why would I leave my historical place and start using Stack Overflow?
Why can I no longer use the PS3 web browser on Stack Overflow?
location: linuxexchange.com - date: December 7, 2010
Until recently, I was able to log into Stack Overflow using the webbrowser (Mobile IE) on my PS3. The latest PS3 update appears to have added better session support to the browser, so I don't know exactly when Stack Overflow stopped allowing me to login.
Currently, if I go to the login page I see: "or provide the openid:" - there's no images & links to forward to my provider for sync'ing authentication.
I had noticed a few weeks ago that functionality had been severely limited - no voting (up, down, on comments, or to close). All I could do was edit the question and add/edit answers. But adding answers was now prompting me with a captcha, though I was logged in :/
It was a pain that I'd get a 404 on successfully adding an answer, though refreshing would work just fine. The captcha addition didn't change anything with this regard...
Stack overflow silenced on linux?
location: linuxexchange.com - date: March 11, 2014
On Linux I have a code that use a array declared inside the main function with a sixe of 2MB + 1 byte
#define MAX_DATA (2097152) /* 2MB */
int main(int argc, char *argv)
/* Reserve 1 byte for null termination */
char data[MAX_DATA + 1];
When I compiled on Linux with gcc I run it without any problem. But on Windows I get a runtime error. At moment of run it I have 5GB of free memory.
For solve the problem on Windows I need specify other stack size:
gcc -Wl,--stack,2097153 -o test.exe test.c
or declare the data array outside the main function.
Because that the program compiled on linux was linked without change the stack size?
Why it run ok on Linux but fail on Windows?
I use the same source code and the same gcc instructions:
gcc -Wall -O source.c -o source
Because malloc implementation on linux i think is not reliable because it can return a not null pointer even if memo
Page: 1 2 3 4 5 6 7 8 9 10