code-google-com / qimsys

Automatically exported from code.google.com/p/qimsys
0 stars 0 forks source link

Launching qimsys fails by segfault frequently. #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build and install qimsys (from my ebuild overlay 
https://gitorious.org/kenya888s-overlay/kenya888s-overlay)
2. run qimsys from terminal emulator(such as Konsole) of kmenu

What is the expected output? What do you see instead?

expected: qimsys lauch successfully.
result: Qimsys immediately crash by segfault (can't recreate 100% but very 
frequently)

Please use labels and text to provide additional information.

Environment:
Gentoo Linux x86_64 2.6.38-gentoo-r5 (also occur on 2.6.37,38)
gcc 4.6.0 (also occur with 4.5.2)
Qt 4.7.3 (also occur with 4.7.2)

Files:
-strace
strace_qimsys_ok.log -> launch qimsys successfully and send ABRT manually
strace_qimsys_fail.log -> lauch failed by segfault

-core
core_ok -> launch qimsys successfully and send ABRT manually (bzip2ed)
core_failed -> lauch failed by segfault (bzip2ed)

Original issue reported on code.google.com by kenya...@gmail.com on 16 May 2011 at 12:45

Attachments:

GoogleCodeExporter commented 9 years ago
Do you know how can I use the core file on my 32 bit machine?

Original comment by stas...@gmail.com on 18 May 2011 at 2:54

GoogleCodeExporter commented 9 years ago
There is no difference between 32bit and 64bit machine.

By default, a user is limited not to dump core file. You can change this with 
ulimit command

$ulimit -c VALUE(block)

You may be limited by the system, for example /etc/security/limits.conf
On Gentoo, I added my user's setting to /etc/security/limits.conf.d/kenya888

---
kenya888 core hard 5000
---

After this you need to login the system again. And set it with ulimit command. 

$ulimit -c 5000

Launch qimsys from console that ulimit issue issued. If qimsys crash, it'll 
dump core automatically.

If you want to dump core by manual issue "kill -ABRT pid" to qimsys process.

Original comment by kenya...@gmail.com on 19 May 2011 at 1:50

GoogleCodeExporter commented 9 years ago
Oh, Sorry, I'm wrong. I don't understand you.

In 32bit machine, core from 64bit app cannot be used by debug, I guess:(

Original comment by kenya...@gmail.com on 19 May 2011 at 2:51