Gibt es irgendwo den Queltext für den unicamloader zum Herunterladen?
Der unicamloader v4.04 (GUI) bleibt mit dem Unicam Programmer USB (original) unter Linux bei mir bei 2 % hängen und
der unicamloader v4.04 (CLI) stürzt unter Linux ab:
Code:
$ gdb ./unicamloader
Code:
GNU gdb (GDB; openSUSE Factory) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./unicamloader...(no debugging symbols found)...done.
Code:
(gdb) set args USBtty0 -firmware pacific_4.41.uni
(gdb) run
Starting program: unicamloader USBtty0 -firmware pacific_4.41.uni
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Error opening the selected serial port
Program received signal SIGSEGV, Segmentation fault.
pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:45
45 if (INVALID_NOT_TERMINATED_TD_P (pd))
(gdb) bt
#0 pthread_join (threadid=0, thread_return=0x0) at pthread_join.c:45
#1 0x000000000040118c in ?? ()
#2 0x00007ffff7839610 in __libc_start_main (main=0x401150, argc=4, argv=0x7fffffffded8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdec8) at libc-start.c:289
#3 0x00000000004011b9 in ?? ()
Ich würde diese gerne Debuggen und versuchen einen Patch anzubieten ...
Support wird ja dafür nicht angeboten (Link nur für registrierte und freigeschaltete Mitglieder sichtbar. ):
Please be informed that we cant provide any kind of Messaging regarding Software issues. For urgent cases please register at one of the famous Boards supporting the Unicam CI Modules.
unicamloader muss mit Adminrechten (sudo) ausgeführt werden. Sonst kann nicht auf die serielle Schnittstelle zugegriffen werden:
Error opening the selected serial port
Das serielle Device heißt in der Regel ttyUSB0 und liegt im dev Verzeichnis (/dev/ttyUSB0). Siehe dazu auch Link nur für registrierte und freigeschaltete Mitglieder sichtbar. und Link nur für registrierte und freigeschaltete Mitglieder sichtbar. .
unicamloader muss mit Adminrechten (sudo) ausgeführt werden. Sonst kann nicht auf die serielle Schnittstelle zugegriffen werden:
Das serielle Device heißt in der Regel ttyUSB0 und liegt im dev Verzeichnis (/dev/ttyUSB0). Siehe dazu auch Link nur für registrierte und freigeschaltete Mitglieder sichtbar. und Link nur für registrierte und freigeschaltete Mitglieder sichtbar. .
Das ändert aber nichts daran, dass das Programm nicht abstürzen sollte. Wäre lustig, wenn die Idiioten von Microsoft ihr Windoof so programmiert hätten, dass jeder Fehler einen Kernel-Absturz verursachen würde ...
Ein SIGSEGV einer User-Space-Applikation zieht in der Regel nicht den Kernel mit runter...
Kleine Unschönheit bei Fehlanwendung, die aber keine weiteren Probleme nach sich zieht. Ist als "minor bug" aufgenommen. Mit Ubuntu sehe ich bei falschem Device übrigens keinen SIGSEGV...
Code:
user@host:~/Downloads$ gdb ./unicamloader
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./unicamloader...(no debugging symbols found)...done.
(gdb) set args USBtty0 -firmware pacific_4.41.uni
(gdb) run
Starting program: /home/user/Downloads/unicamloader USBtty0 -firmware pacific_4.41.uni
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Error opening the selected file
[Inferior 1 (process 1008) exited normally]
Lesezeichen