panic

How to find the cause for a USER 44 PANIC?

One of the products we develop is a phone app for nokia phones done in C++ and Symbian, we started getting "random" crashes a while a ago with a USER 44 panic. I am pretty new to the symbian environment so I am looking for tools and recommendations to help finding the root of this bug. Is there a equivalent of a "stack trace" that I c...

Why am I getting a panic with Perl 5.10, Mason, and Apache?

I'm developing an application using Perl 5.10, HTML::Mason, and apache 2.2. This is the first time I've used Perl 5.10 for a big project. I get a strange behavior every once in a while. The application dies with a very strange error: panic: attempt to copy value to a freed scalar b87acf34 at ... I guess my question is it Perl 5.10 be...

Kernel Panic after changes in sys_close

I'm doing a course on operating systems and we work in Linux Red Hat 8.0 AS part of an assignment I had to change sys close and sys open. Changes to sys close passed without an incident, but when I introduce the changes to sys close suddenly the OS encounters an error during booting, claiming it cannot mount root fs, and invokes panic. E...

Using struct causes kernel panic?

I'm taking my first crack at writing some linux kernel code, and I'm hitting a weird kernel panic. I have a linked list I am maintaining with the kernel's built-in macros (include/linux/list.h). If the list is empty, I allocate an instance of the following structure: struct time_span { struct timeval start; struct timeval end; };...

Kernel panic seems to be unrelated to the changes

I made changes in sched.c in Linux kernel 2.4 (homework), and now the system goes into kernel panic. The strange thing is: it seems to pass A LOT of booting checks and initializations, and panics only at the very end, showing hte following stack trace: update_process_times do_timer timer_interrupt handle_IRQ_event do_IRQ call_do_IRQ do...

Go - Raise an exception

I would want to raise an exception as it's made in Python or Java --to finish the program with an error message--. An error message could be returned to a parent function: func readFile(filename string) (content string, err os.Error) { content, err := ioutil.ReadFile(filename) if err != nil { return "", os.ErrorString("...

[Symbian] Using Browser Control's PostUrlL API

Hi All, I'm trying to POST some multipart form data to my server using a Browser Control. The PostUrlL(); Method Panics with KERN-EXEC 3 as soon as it is invoked. Here's a snippet similar to the one I'm using in my code. // These LITerals are copied to pointer vars below _LIT8(K_txt_Boundary, "0xABeR1122EEFFx0"); _LIT8(K_CT_Multipart...

Panic recover in Go v.s. try catch in other languages

I've just read this post about Panic/Recover in Go and I'm not clear on how this differs from try/catch in other mainstream languages. ...

Debugging panics in Symbian OS usnig Carbide.c++

Is there a way to drop into the debugger when any panic occurs like if there were a breakpoint? I'm using Carbide.c++ 2.3.0. I know about the Debug Configurations > x86 Exceptions, but it covers only a small fraction of what can actually happen in a real application. For instance, it does not trap user panics, or ALLOC panics when app...

Symbian: how to get stack trace on panic when running on device?

Hello there, Could somebody please give me a hint about how to get stack trace in Symbian. I'm experiencing KERN-EXEC 0 panic, but cannot locate it's origin. I've seen other SO questions about this, like this, but there's only a description of how to solve this problem on emulator. But my program deals with Wi-Fi and have to be run on de...

Using Coda to access server SSH/sFTP

Hi, I have a VPS server and I lock down to only expose 3 ports 80, 443 and 22222 for ssh. So far I can connect to the server using Terminal (Mac) and Panic Transmit, but when I try to connect using Panic Coda the connection fail. What I am doing wrong? I see Coda support sFTP and I can connect on Coda to the SSH, but not to the sFTP. ...

Symbian: kern-exec 3 panic on RLibrary::Load

Hello, I have troubles with dynamic loading of libraries - my code panics with Kern-Exec 3. The code is as follows: TFileName dllName = _L("mydll.dll"); TFileName dllPath = _L("c:\\sys\\bin\\"); RLibrary dll; TInt res = dll.Load(dllName, dllPath); // Kern-Exec 3! TLibraryFunction f = dll.Lookup(1); if (f) f(); I receive panic on ...