Bug 678862 - [abrt] darktable-0.8-3.fc14: dt_control_init: Process /usr/bin/darktable was killed by signal 4 (SIGILL)
Summary: [abrt] darktable-0.8-3.fc14: dt_control_init: Process /usr/bin/darktable was ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: darktable
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Edouard Bourguignon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0d849c8d8fed20527179e1cf398...
: 679175 711114 716449 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-20 13:06 UTC by Andre Dierker
Modified: 2011-06-26 18:49 UTC (History)
5 users (show)

Fixed In Version: darktable-0.8-11.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-30 22:28:11 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (23.86 KB, text/plain)
2011-02-20 13:06 UTC, Andre Dierker
no flags Details
darktable abrt backtrace (254.00 KB, text/x-log)
2011-03-28 08:53 UTC, Andre Dierker
no flags Details
gdb output (2.73 KB, application/octet-stream)
2011-04-20 09:41 UTC, Andre Dierker
no flags Details

Description Andre Dierker 2011-02-20 13:06:33 UTC
abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 24432 bytes
cmdline: /usr/bin/darktable
component: darktable
Attached file: coredump, 24698880 bytes
crash_function: dt_control_init
executable: /usr/bin/darktable
kernel: 2.6.35.11-83.fc14.x86_64
package: darktable-0.8-3.fc14
rating: 4
reason: Process /usr/bin/darktable was killed by signal 4 (SIGILL)
release: Fedora release 14 (Laughlin)
time: 1298206762
uid: 500

How to reproduce
-----
1. Just try to start darktable
2.
3.

Comment 1 Andre Dierker 2011-02-20 13:06:39 UTC
Created attachment 479761 [details]
File: backtrace

Comment 2 Edouard Bourguignon 2011-02-20 15:45:37 UTC
Were you using darktable before updating to 0.8? Seems there is a problem with you db (/home/fozz/.config/darktable/library.db).
Could you try to temporary rename the directory .config/darktable and start darktable again? 
Can't reproduce the problem.

Comment 3 Andre Dierker 2011-02-21 10:15:40 UTC
If i rename the directory it ends with some sqlite errors.

sqlite3 error: /builddir/build/BUILD/darktable-0.8/src/common/collection.c:447, function dt_collection_update_query(): no such table: selected_images
sqlite3 error: /builddir/build/BUILD/darktable-0.8/src/common/collection.c:448, function dt_collection_update_query(): no such table: selected_images
sqlite3 error: /builddir/build/BUILD/darktable-0.8/src/common/collection.c:449, function dt_collection_update_query(): no such table: selected_images
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)

Comment 4 Andre Dierker 2011-02-21 10:22:01 UTC
it works fine again with the last nightly build from 
http://dt-nightly.hamsterkollektivet.se/fedora/14/x86_64/packages/

a downgrade via yum brings back the problem,
and yes i used it before 0.8.

Comment 5 Edouard Bourguignon 2011-02-21 14:46:09 UTC
Even without the .config/darktable directory darktable fails to start? I'm trying to reproduce your problem but darktable keeps working fine.

If the problem is not here with darktable-0.8-6.git.df251e2.fc14.x86_64.rpm, it means there is a patch (between stable release and df251e2 commit) we can extract from the git and apply on the 0.8 stable release. We just have to find it out.

Comment 6 Andre Dierker 2011-02-21 19:49:07 UTC
with both .config/darktable and .gconf/apps/darktable deleted darktable wont start.
a new(?) backtrace with both directories deleted.
https://bugzilla.redhat.com/show_bug.cgi?id=679175

Comment 7 Edouard Bourguignon 2011-02-21 21:03:47 UTC
*** Bug 679175 has been marked as a duplicate of this bug. ***

Comment 8 Edouard Bourguignon 2011-02-21 22:25:44 UTC
Andre, could you try this package => http://www.linuxed.net/~madko/fedora/darktable-0.8-4.gitdf251e2.fc14.x86_64.rpm 
I've included 3 patches from the git snapshot df251e2, I hope this will work for you.

Comment 9 Andre Dierker 2011-02-21 23:35:33 UTC
no sorry its still the same, but now abrt doesn't tell me about the crash.

Comment 10 Edouard Bourguignon 2011-02-22 08:34:40 UTC
So with the same source code as the package darktable-0.8-6.git.df251e2.fc14.x86_64.rpm from http://dt-nightly.hamsterkollektivet.se/fedora/14/x86_64/packages/
it's still crashing. I'll check the compile options.

Comment 11 Edouard Bourguignon 2011-03-27 08:29:21 UTC
Andre, have you tried with latest darktable package 0.8-6?

Comment 12 Andre Dierker 2011-03-28 08:33:37 UTC
I downgradet it from git builds and there are no more crashes in 0.8-6 from fedora-testing.

Comment 13 Andre Dierker 2011-03-28 08:49:48 UTC
Sorry i was wrong. Darktable now dies when trying to switch from darkroom to edit mode.

Comment 14 Andre Dierker 2011-03-28 08:53:56 UTC
Created attachment 488098 [details]
darktable abrt backtrace

Comment 15 Edouard Bourguignon 2011-04-19 19:28:53 UTC
Hi Andre,

Could you try with this rpm http://kojipkgs.fedoraproject.org/packages/darktable/0.8/8.fc14/x86_64/darktable-0.8-8.fc14.x86_64.rpm ?

Comment 16 Andre Dierker 2011-04-20 08:34:23 UTC
Hello Edouard

After deleting configfiles and all *.xmp files, darktable started but crashes when trying to load thumbnails from previously imported images.


darktable -d control
[revive_job] load image 1 mip 4
[add_job] 30 load image 1 mip 4
[run_job+] 06 12680241.942911 load image 1 mip 4
[revive_job] load image 1 mip 4
[add_job] 29 load image 1 mip 4
[run_job+] 07 12680241.943488 load image 1 mip 4
[run_job-] 07 12680242.020541 load image 1 mip 4
[revive_job] load image 1 mip 4
[add_job] 29 load image 1 mip 4
[run_job+] 08 12680242.038093 load image 1 mip 4
[run_job-] 08 12680242.081576 load image 1 mip 4
[revive_job] load image 1 mip 4
[add_job] 29 load image 1 mip 4
[run_job+] 10 12680242.089292 load image 1 mip 4
[run_job-] 10 12680242.115446 load image 1 mip 4
[revive_job] load image 1 mip 4
[add_job] 29 load image 1 mip 4
[run_job+] 07 12680242.127439 load image 1 mip 4
[run_job-] 07 12680242.178541 load image 1 mip 4
[revive_job] load image 1 mip 4
[add_job] 29 load image 1 mip 4
[run_job+] 08 12680242.184908 load image 1 mip 4
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)

Its still not working for me :(

Comment 17 Edouard Bourguignon 2011-04-20 09:04:15 UTC
My english is bad, but my german is worse. Could you try to run 
LANG=C darktable -d control instead? Or with gdb to get a full backtrace of the crash? Have you remove the .config/darktable before? Maybe your db file is incompatible because it was generated with a newer version of darktable (nightly build from git).

Comment 18 Andre Dierker 2011-04-20 09:36:43 UTC
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)

means 'bad/invalid machine code (memory dump written)'

i deleted the database before
gdb output comes later

Comment 19 Andre Dierker 2011-04-20 09:41:08 UTC
Created attachment 493414 [details]
gdb output

Comment 20 Edouard Bourguignon 2011-04-20 11:58:30 UTC
What is your CPU? Looks like bug #697687 (SIGILL)

Comment 21 Andre Dierker 2011-04-20 15:18:29 UTC
its an AMD Phenom(tm) II X4 905e Processor

Comment 22 Elad Alfassa 2011-05-04 18:04:10 UTC
Moving to darktable (was 0xFFFF)



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 23 Edouard Bourguignon 2011-05-23 14:07:27 UTC
Hi Andre,

Could you try this rpm:
http://koji.fedoraproject.org/koji/getfile?taskID=3087454&name=darktable-0.8-11.fc14.x86_64.rpm

Is the bug still here with this rpm release?

Comment 24 Andre Dierker 2011-05-23 16:59:17 UTC
it seems to be working now.
Whats the different?

Comment 25 Edouard Bourguignon 2011-05-23 19:32:09 UTC
The difference is a patch to add a build option to make darktable binary working on any cpu, not only the cpu used to build it. This options was used since a long time but just silently ignored until now... Thank you for your feedback, I will push this package to stable asap.

Best regards.

Comment 26 Fedora Update System 2011-05-24 11:33:04 UTC
darktable-0.8-11.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/darktable-0.8-11.fc15

Comment 27 Fedora Update System 2011-05-24 11:33:26 UTC
darktable-0.8-11.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/darktable-0.8-11.fc14

Comment 28 Fedora Update System 2011-05-25 02:23:26 UTC
Package darktable-0.8-11.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing darktable-0.8-11.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/darktable-0.8-11.fc15
then log in and leave karma (feedback).

Comment 29 Fedora Update System 2011-05-30 22:27:51 UTC
darktable-0.8-11.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 30 Edouard Bourguignon 2011-06-06 15:44:11 UTC
*** Bug 711114 has been marked as a duplicate of this bug. ***

Comment 31 Edouard Bourguignon 2011-06-24 21:52:09 UTC
*** Bug 716449 has been marked as a duplicate of this bug. ***

Comment 32 Fedora Update System 2011-06-26 18:49:29 UTC
darktable-0.8-11.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.